Crystal Report 从 SAP ECC6.0 中取数据

我已经安装了BO 和 Integration kits for SAP.
现在想用Crystal report 从 ECC6.0的 表中取数出报表,但数据库连接失败.
我现在还要做什么设定和配置呢?
谢谢

或者是把librfc.dll拷贝到操作系统文件目录,如u201C%windir%\system32u201D下即可。
设计CR-IK报表时候需要借助SAP-GUI,但是纯浏览CR-SAP报表时候,只是需要Librfc.dll来实现通讯。
上述前提是已经在设计CR报表时候,将全部登录信息写死在报表文件中。

Similar Messages

  • Crystal Reports, SAP B1 - connect OINV, OPCH (A/R Invoice, A/P Invoice)

    What I need to do is to connect the two SAP B1 v9.0 tables listed above (A/P Invoice OINV, and A/R Invoice OPCH) in a Crystal report WITHOUT SQL.  How do you connect these tables?  Purpose of report is for sales commissions.  Existing customer report combines SAP B1 data from these tables but is done manually in Excel.  Attempting to create report in Crystal for automation purposes.  Will also include INV1 and PCH1 for detailed line item marketing document information.  Thanks for any assistance.

    Since the picture doesn't show what is actually linked to what, here is a written description of the links I used between tables (with 2 alternates in case I'm wrong):
    OPRJ.PrjCode left join INV1.Project
    INV1.BaseEntry left join RDR1.DocEntry
    INV1.BaseLine left join RDR1.LineNumber
    INV1.DocEntry left join OINV.DocEntry
    INV1.ObjType left join OINV.ObjType
    INV1.ItemCode inner join OITM.ItemCode
    OINV.CardCode inner join OCRD.CardCode
    OINV.SlpCode left join OSLP.SlpCode
    OITM.ItmsGrpCod left join OITB.ItmsGrpCod
    RDR1.DocEntry left join ORDR.DocEntry
    RDR1.DocEntry left join DLN1.BaseEntry
    RDR1.LineNum left join DLN1.LineNum (s/b BaseLine?)
    RDR1.DocEntry left joing POR1.BaseEntry
    RDR1.LineNum left join POR1.LineNum (s/b BaseLine?)
    RDR1.ObjType left join ORDR.ObjType
    POR1.DocEntry left join OPOR.DocEntry
    POR1.ObjType left join OPOR.ObjType
    POR1.DocEntry left join PCH1.BaseEntry
    POR1.LineNum left join PCH1.BaseLine
    PCH1.DocEntry left join OPCH.DocEntry
    PCH1.ObjType left join OPCH.ObjType
    DLN1.DocEntry left join ODLN.DocEntry
    DLN1.ObjType left join ODLN.ObjType

  • Where do you create a Selection Criteria TOKEN? (Crystal Reports, SAP B1)

    I have downloaded "How to Work with Crystal Reports in SAP Business One" and read where it mentions "tokens" (starting on page 19).  I followed the directions and created a New Parameter in a Crystal Report with the name of
    BPCode@Select distinct CardCode from OCRD where CardType = "C"
    as directed on page 21 as an example of a token.  OK, so now I have a parameter with a very long name that doesn't do anything when I run the report in standalone Crystal Reports connected to our SAP B1 application.
    At what place in the "Create New Parameter" dialog box in Crystal Reports do you actually enter this information?  Nothing in that dialog box seems appropriate for SQL expressions.  Reading through SCN threads, I could not find anything that addressed this simple question.  What am I missing?
    NOTE: I do NOT have the CR Add-In available to me in SAP B1.  I cannot get it to install.  All of my work is done in standalone Crystal Reports and all reports are then imported from there.  I am a CR developer with less than 1 month experience with SAP B1.
    Thanks.

    OK, so I imported an .rpt file as a "report" instead of as a layout and placed it in a known module location (though the options were extremely limited).  I had no idea where to go to run the report, but under "Modules", "Reports", and the location I just imported to, I found and chose the report.
    The next step was a dialog box with two blank prompts and a third blank prompt asking for a particular field value from a table in the report.  The actual Crystal report has only two parameters (good ol' DocKey@ and ObjectID@).  I have to actually look at a known document in B1 and enter the values for the parameters before I get an actual result.
    Now, more questions...
    If there is a token in this report process, where is it?
    Why would I run a report this way when it's going to ask me the DocEntry and ObjectId numbers which are not known to me unless I do research (Actually, what you don't know is that all of the reports I've created are revisions to marketing documents, so I haven't created anything new or unique to B1 that would involve complex analysis).
    I spend almost two hours a day scouring the SCN to figure this stuff out and am still lost.  I haven't read anything anywhere that describes this process in an adequate fashion.  If SAP makes BOTH B1 and Crystal Reports, why not make the connection between them seamless and user-friendly?
    Gordon, if you're listening, you'd probably do well writing another book on this subject!!

  • Issue with Crystal Report & SAP B1 8.8

    Hello,
    I imported my crystal report in SAP.
    When I want to edit the report throught SAP, it opens the report on crystal report session.
    The problem is when I want to save the file. It wants to save in a temporal file.
    How I can solve it ? where SAP save the .RPT flie ?
    Thanks

    Hi,
    You can save your edit CR (Crystal Report) in .rpt file.
    Once you have imported CR
    Admin > Setup > General > report n layout....
    Select Your CR
    Click on Edit button
    now new window is open that is CR in editable form
    Go in File Menu of CR > Save As > "Give your location"
    Which will save as .rpt format....
    Thanks
    King Kevin

  • Hyperlinks in Crystal reports  - SAP BW BI environment

    Hi Gurus,
    I am working on SAP BI BO integration environment on Cystal reports 2008 and WebI reports. Source for both of them are BEx queries.
    1. I need to create a hyperlink on one crystal report column which opens another Crystal report. The target cystal has 2 prompts which are optional and a date range prompt which is mandatory. I am trying to create hyperlink using Hyperlink tab of Format editor. How to make the target report prompts as optional and how pass date range.
    2. I need to create a hyperlink on one crystal report column which opens another WebI report. The rest of details are same as above.
    How to acheive this requirement. If you have any thoughts, please share
    Thanks
    Praveen

    Take a look at the openDocument documentation
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_opendocument_en.pdf
    If a prompt is optional you have to add it to your URL only if you really want to pass a value. If no value is available then you can ommit it.
    I ould recommend to create your on formula field that puts the URL together and not use the hyperlink wizard. This way you can build the link accordingly depending on the availability of parameter values.
    Regards,
    Stratos

  • Crystal Report SAP BI Query

    Hello comunity,
    we are  now started with Crystal report 2008 and our base for the datas are SAP BI Querys.
    When we look at the availiable measures and attributes they are all char formated, also the date fields.
    Is this standard or do we have to customize something in the query or in the BI System.
    Thanks
    Dirk

    Moved to BEX forum

  • "Failed to open the connection" - Add-on Crystal Reports (SAP B1 2007A)

    I have Created One Crystal Report.
    When I Preview Report (Administration>Crystal Reports>Select Report-->Print and Preview),
    System displays the following error message.
    " Failed to open the connection."
    Can you help me?
    Kind regards
    Margarida Pedroso
    PT

    You may check these threads:
    Re: Crystal Reports Add-on error on workstations
    Crystal Report Add On - Connection error.
    Crystal Reports install errors on workstation
    Thanks,
    Gordon

  • Multi Value Parameter in SP  error in Crystal Report SAP B1 ?

    Hi Experts ,
    i am Getting an error in Crystal Report
    "Failed to retrieve data from the database.  Details:  42000:[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '('. [Database vendor code: 120]" 
    I an executing the SP In Command  , I want to pass multi value parameter in SP
    When Pressing  ok
    than  On Ok Button  Error come
    So I have Some Question
    1> Why All parameter in Commend Are  Automatic getting  Compulsory  and How to Avoid It?
    2> How to Solve  this error ? this error is only coming with multivalued parameter ?
    i have many report in which i have to send the multi value parameter into query it self  so , Plz Help Me
    I am New to Crystal Report so it will be Kind Of you  if explain  with example .
    Thankks in Advance !!!
    Regards,
    Mayank Shah

    Hi Shachar,
    i will explain one because i think some thing is misunderstood
    please the images
    when all parameter record selected and no parameter record selected ... i want all record should display
    this blank report is problem
    Regards,
    Mayank Shah

  • Crystal report parameter issue in SAP B1 8.8

    Hi Experts,
    We are facing following issue in Crystal report SAP B1 8.8 version
    Can not open crystal report without mentioning optional parameters.
    User is forced to mention all parameters
    User should allow to open crystal report by mentioning mandetory parameters
    if We set for the parameter value of field [Optional Prompt] to 'True' and then preview in SAP Business One, then although the dialogue is displayed,  click 'OK' without populating the parameter value, the report is run
    but in our case we are passing parameters through Stored Procedure and this option is block in report to do so.
    means that option available to make optional true / false is block and we are not able to do anything.
    Pls. provide solution
    Regards
    Kamlesh Vagal

    Julie.
    This change has already occurred?
    Thanks.

  • Crystal Reports Templates usage - SAP BW MDX query data

    Hi Ingo,
    How are you?
    I am experiencing issues with crystal reports when trying to use crystal reports templates with SAP BW data.
    I have successfully created Crystal Report using SAP BW data with NodeID,  ParentNodeID hierarchy, Crystal Hierarchical Grouping.
    Also developed Xcelsius Dashboard using Live Office --> Crystal Report (SAP BW data) with refresh data on open.
    Now trying to create a template for new crystal reports to be designedu2026
    The following are observed by me:
    1.     When I create a crystal report using Report Wizard and select  templates from  the list shown, the following error displayed for SAP BW data:
    2.     When I try to apply template using Template Expert and selecting the report which is created using SAP BW data (and formatted), the following error displayed:
    u201CCould not apply template to the documentu201D
    I would like to know, whether there are known issues with Crystal Reports Templates using SAP BW data?  If so, could you suggest any solutions/work around to this issue?
    Thanks & Regards,
    S.Salai Manimudiyan

    I tried the following three methods:
    1. Applied all the 12 Crystal Templates
    2. Applied my own reports as Template
    3. Also applied Crystal Report developed using Templates Fileds.
    None of the above is working.
    Created a report with BW query data and try to apply all the above templates but the same issue.
    If I create a report using eFashion universe and apply all the above works without any problem.
    I do agree with you that templates should not depend on the data source, as it is mainly for the common/standard report page layout (to reuse)...
    Could you pl. check at your end and let me know the results.
    Thanks & Regards,
    S.Salai Manimudiyan

  • Crystal Report Add-On not working

    Hello Experts,
    We have freshly installed Crystal Reports Add-On. when we start the add-on it says it is connected but when we try to access any of the forms in the Crystal Reports sap screen comes up with a message window stating
    "There is already an open Datareader associated with this command which must be closed first"
    which does allow any further transactions in crystal reports screens.
    regards,
    shreyas

    Thread moved...
    Please post Crystal Reports related questions only in the forum
    Best regards,
    Darius

  • Crystal Report formula with datediff not working as expected

    We need a Crystal Report formula to display the number of seconds the oldest arriving call has been waiting.  Across multiple resources that can each have an "oldest call".  The database stores a datetime value for the time the oldest call arrived.  If there are no waiting calls, then this field is NULL.  (MSSQL database).  It seemed reasonable to implement this in a formula that 1) discovers the minimum of "oldest call" timestamps in the selected records, and 2) to use "datediff" to produce the difference (in seconds) between the "oldest call" timestamp and current time.
    The first attempt at this relied on "implied" iteration that could be done within a formula.  Something like:
    data: OLDESTARRIVALTIME
           null
           '2014-06-14 08:08:08.000'
           null
          '2014-06-14 08:07:55.000'
           null
    whilereadingrecords;
    datetimevar minArrival;
    if isNull({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME}) = False
                   and minArrival < {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME} then
         minArrival := {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME};
    DateDiff("s", minArrival, {SVCCLASSMEASURES_VW.UTCDATE})
    We tried storing the values of OLDESTARRIVALTIME in an array.  We could see it iterating, but the values in the array only contained
    the column value from the first record.
    This was to solve the problem of screening null values and producing the minimum of the set.
    Since that didn't work (and the web articles seemed to imply this would iterate over all the records, we tried another approach.  This
    time we set NULL timestamps in the table to a timestamp far in the future, so that we could directly apply "minimum" to produce
    the correct "begin" for datediff.
    data: OLDESTARRIVALTIME
              '2030-01-01 00:00:00.000'
              '2014-06-14 08:08:08.000'
              '2030-01-01 00:00:00.000'
              '2014-06-14 08:07:55.000'
              '2030-01-01 00:00:00.000'
    datetimevar minArrival = minimum({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME});
    datetimevar minUTC = minimum({SVCCLASSMEASURES_VW.UTCDATE});
    if minArrival < minUTC then
         DateDiff("s", minArrival, minUTC)
    else
         0
    (minUTC would be current time in UTC)
    So, to start things off, the last formula produces negative numbers!  They hover in negative seconds within a negative minute (-33, -45, etc.).
    That's inconceivable, considering the test for minArrival < minUTC.  Both of the fields are "datetime".
    As it turns out, in the near term, it's most important to get the second formula working.  And, of course, insights into getting the first
    formula to work are welcome as well!
    Have we run into some weird behavior of the "DateDiff" function?
    Thanks!

    If DateDiff is always returning a negative number you could try swapping the dates around in the call to DateDiff - it should look like this:
         DateDiff("s", minUTC, minArrival)    
    Or you could use the Absolute Value of the calculation:
         Abs(DateDiff("s", minUTC, minArrival) )
    As for your first formula, you need to initialize the variable to a value prior to using it in the comparison.  If you don't, its value is null and comparing it against a value won't work.  (See What is Null and Why is it Important for Crystal Reports | SAP BI BLOG for a blog that I wrote about working with nulls in Crystal.)
    You should change your existing formula to something like this:
    whilereadingrecords;
    datetimevar minArrival;
    if OnFirstRecord then minArrival := DateTime(2013, 1, 1, 0, 0, 0);
    if not isNull({SVCCLASSMEASURES_VW.OLDESTARRIVALTIME})
                   and minArrival > {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME} then
         minArrival := {SVCCLASSMEASURES_VW.OLDESTARRIVALTIME};
    Note how I changed the If statement.  Also, you want to replace minArrival with the field value if the field is less than the current value of minArrival - so you need to use ">" instead of "<" in the comparison.  Place this formula in the details section.  It will now show anything because of the semi-colon on the end.  This will ensure that it gets evaluated for every record.
    Now, create a second formula that looks like this:
    whileReadingRecords;
    datetimevar minArrival;
    DateDiff("s", minArrival, {SVCCLASSMEASURES_VW.UTCDATE})
    Place this formula in a footer section - it will not work in a header section.  If you need it in a header section you might be able to take the "whilereadingrecords" off of both formulas and use the "Maximum()" summary function to get the correct value.
    -Dell

  • Crystal Report  + BI 7 Intergration

    Hello Gurus,
    I have Crystal Reports 2008
    SAP BO Connecter
    BI7
    I created a report and Saved in to Role in BI7.
    My question is can i use this in a production env(Users will have crystal reports viewer). if not please let me know why.
    Thanks
    Fazal

    hi,
    you would need Crystal Reports, SAP Integration Kit and BusinessObjects Enterprise as server environment.
    You can look at my recent blog series about the installation and configuration. Here the link to part 1
    BusinessObjects and SAP - Installation and Configuration Part 1 of 4
    Ingo

  • Installig and using Crystal Report for reporting on BW

    Dear Experts
    We are working on BW 7.00 and do't have BO(Business Objects) . Now we wnt to install and Use crystal Report for reporting purpose. Pl. let me know whether Crystal reports can be used to extact data from BW Query or We need to have BO in order to Use Crystal Report.
    Thanks in advance
    Dinesh Sharma

    Hello Dinesh,
    first of all Crystal Reports is not a extraction tool - it is a reporting tool - which is a huge difference.
    In regards to products you do need Crystal Reports, SAP Integration Kit, and SAP BusinessObjects Edge or SAP BusinessObjects Enterprise.
    Ingo

  • Crystal Reports vs BO edge

    what's the major difference between these 2 products?

    Thank Brian!
    But it seems to me that Crystal Reports is not just a reporting tools, it has now inlcude interactive analsyis and DASHBOARD design as well...(http://www.sap.com/solutions/sap-crystal-solutions/index.epx) .....that's why i am keen to know if there is any overlap between Crystal Reports & SAP BO (or SAP BO edge)?

Maybe you are looking for

  • Multiple repositories in 1 bi server ...with PS catalog....in OBIEE 11g

    Any body attempted to do this ? Having multiple repositories in 1 biserver....with multiple webcatalog used in 2 PS on same machine. This doesn't seem to work in OBIEE11g. Analytics.ear contains lots of new deployment descriptors for web.xml in 11g.

  • All PDF print as completely black pages.  I can read the PDF fine.  This is true on any printer.

    All PDF print as completely black pages.  I can read the PDF fine.  This is true on any printer. A google search shows others have had this problem, but I have not seen a solution posted. I have uninstalled and reinstalled Acrobat, without help.  I'm

  • Change button name in a for-loop

    Hi all, I would like to implement a 'for loop' to add buttons to my panel depending on the value of max_number. The postion of these buttons will also change with each passing of the loop. The code below implements this. But when I click the buttons

  • Read a file in a server and create mail

    Hi experts, I have a csv file in an AL11 BW server as following: I would like to add some abap instructions into a BW abap to program to read the second line of this file and then create a dynamic address mail with the number or name present in the s

  • How to call a method of a class where the name of method is string

    i have a method of a class in the form of a string and i have the object of the class to which it belongs .what i want to do is call this method. for ex: S1 s=new S1(); // this is the object of my class. this class has one method called executeMe() S