Create and open Crystal Reports from ABAP program

Hello,
Let me explain the scenario with a simple example.
In my ABAP program, I have the entries of table MARA in an internal table. I want to now create a crystal report through ABAP, and display the result in a .rpt file programatically.
Could you please provide some pointers?
Regards,
Suraj

Hi,
I think this can done through the BW development or we can use the XI.
Pls refer to this link
Crystal reports
Thanks & Regards,
Chandralekha.

Similar Messages

  • To find and open Crystal Reports using SI_Name & SI_PARENT_FOLDER

    Hi,
    I have been given the below properties and link, which uses Crystal Reports (I guess its using java integration)
    http://<portal server>/projectsportal/jsp/collaboration/deliverables/pdf_report.jsp?entity=1&Entity_Type=P&Key_Indicators=Y&LV_FROM_FY=&LV_TO_FY=
    The properties used are
    CMSName = 138.220.5.56:6400
    hostName= crystalprd
    authentication = secEnterprise
    #infoStoreQuery = SELECT * FROM CI_INFOOBJECTS WHERE ( SI_NAME = 'OrganizationReport' AND SI_PROGID = 'CrystalEnterprise.Report' AND SI_PARENT_FOLDER = 2000 )
    infoStoreQuery = SELECT * FROM CI_INFOOBJECTS WHERE ( SI_NAME = 'scorecard' AND SI_PROGID = 'CrystalEnterprise.Report' )
    I have to make few changes in the Crystal Reports.
    Please help me in finding out the report.  What is the location of the report ?
    Thanks in Advance for your timely help.
    Eswari.

    You have most of the info already here.  Just use Query Builder to pull back the rest of the object info and you'll have what you need.  I'm not sure which report you want, but either can be achieved in much of the same way.  You'll need to know the parent-child heirarchy for the folder structure to determine where this report sits.  once you have this info, open the CR designer and open the report from the repository navigating the folder heirarchy you found.
    1.  Open "Query Builder" from the start | programs menu on the server.  Depending on the version of XI you are using, the url will differ.
    2.  Execute a query similar to what you posted to bring back the info for the report object (not instances) with the name 'scorecard'. If multiple reports exist in different folders with the same name, they will all be returned.
    SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME = 'scorecard' AND SI_PROGID = 'CrystalEnterprise.Report' and SI_INSTANCE = 0
    3.  Look for SI_PARENT_FOLDER attribute and query on this ID next.  That should give you the name of the parent folder the report sits within.
    SELECT * FROM CI_INFOOBJECTS WHERE SI_ID = <si_parent_folder>
    4.  You will need to keep querying for the parent in order to work your way up the folder tree.

  • How to open Crystal Report from the SAP GUI ?

    Hi experts,
        We have developed some reports for our ECC 6.0 system by using Crystal Report 2008 and SAP integration kit , these reports are published to BO edge 3.1 server.  To view the report, our user have to open IE and login Infoview first.
       For convenience, we want to open Crystal report from SAPGUI directly without login BOE, How can we do it? 
    Thanks.

    Hi
    please take a look here
    Crystal Reports
    Regards,
    STratos

  • Unablo to open Crystal report from infoview

    Hello Experts,
    I have an issue while opening crystal report from BOBJ Infoview.
    The report opens for some users and some users are getting this error.
    " Internal error. Please contact your system administrator. [RCIRAS0216]  ", the report is based on bw query and the users has access to this query,the users are able to execute other report based on same query.
    Even some users who are administrator group members are getting this error.
    Any help is appreciated.
    Thanks
    Kish

    It happens to only one report,but when i changed the option to "Use same database logon when report is run" in CMC, it resolved the issue.
    But i was wondering why the report encountered this error for the same user for whom it was working good in the past.
    Thanks,
    Sai

  • How to open Crystal Reports from Business Content Ext BW

    Hi friends,
    I have activated 0CR_FIAA_M20_Q0007 Crystal Reports from Business Content Ext BW and I have configurated BW_Publisher services in BW but I do´t see reports in /CRYSTAL/RPTADMIN.
    I check RFC connection and it´s ok
    Here I can´t get a role
    and here I don´t see reports
    Do I have to create special role with especial authorization?
    How do I save this Crystal reports in a Rol?
    How do I open this Report ?
    I check Ingo Blog BusinessObjects and SAP - Publishing of Crystal Reports Part 1 of 3 
    but I think, I don´t have some configuration.
    Regards

    Hi,
    I can open report from Role thru CR 2013.
    Here SAP  2.0 folder y Rol
    Here, settings in /CRYSTAL/RPTADMIN are:

  • Problem opening Crystal Report from SAP GUI through VPN

    Hi Everyone,
      I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYSTAL/RPTADMIN and SICF for the CE_URL.
    For those who are in the client network it works fine. Please see the URLs generated in both the cases,below.
    From Client N/W
    [http://sapbobj:8080/SAP/jsp/Action_Dispatch/dispatch.jsp?sap_client=100&cmsname=sapbobj:6400&language=EN&sap_sysid=D40&bw_id=4HUFYJ3XBZ7QLP5HIDYPR7PR6&sap-client=100&actionName=SAP_CrystalReport_View&appKind=InfoView&service=%2FInfoViewApp%2Fcommon%2FappService.do&loc=&initialFolderId=null]
    Through VPN
    [http://sapbwd.abc.com:8100/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4HUPI3I78CG4S4EDH7XSDP736&sap_sysid=(sysid)&sap_client=100&language=EN&sap-client=100]
    where "sapbobj" is the BOBJ system and "sapbwd" is the SAP BW Dev box.
    For me it seems to be something related to the N/W. Please provide me your valuable inputs to solve this issue.
    Thanks in Advance,
    Koka M
    Edited by: Madan Koka on May 19, 2010 5:18 PM

    Hi,
    I'm also facing the same issue. when try to open my report the URL doesn;t taking "bw_id".
    It is blank for all transported reports.
    Any advice..
    Thanks,
    Jothi

  • Open Crystal report from SAP BW

    Hi,
    is it possible to open and refresh (thus passing parameters/values) a certain Crystal report (version 2008 SP3) from a SAP BW system (version 7.10), e.g. with a RFC call? If it's possible, which transaction do I have to call to setup this call?
    Which other ways could be possible?
    Thanks!

    Hi,
    each report can be opened up via URL. There is a default application called OpenDocument. You can find the details on help.sap.com as part of the documentation for SAP BusinessObjects Enterprise.
    Ingo

  • Calling PL/SQL Functions And Open Oracle Reports From ADF Application

    Hi all,
    My company will convert some projects from Oracle forms to Oracle ADF so, we need to call the PL/SQL functions and open the Oracle Reports (which are already exist) from ADF Application.
    Thank You..
    Jack.N

    Hi Jack.N,
    calling PL/SQL Functions -----> http://sameh-nassar.blogspot.com/2010/01/create-plsql-function-and-call-it-from.html
    Open Oracle Reports ---------> http://radio-weblogs.com/0137094/2008/06/15.html
    You will find The Integration between ADF and other systems in ---> http://wiki.oracle.com/page/ADF+Integration
    Sameh Nassar

  • Creating a crystal report from R/3

    Hi,
    I am new to R/3. I am trying to create a new crystal report from R/3. I already connect crystal report with R/3 using integration kit. My problem now is i not sure which field i should i take from a which table when i look in R/3.I been provided a link, http://www.sap-img.com/sap-sd/important-tables-for-sap-sd.htm where i can check all the table for SD, PM n etc. For example, i go to t.code VA03 and search for an order, i see there is so many field. How do i know which field is from which table n row. Let said i want to pull the below information to my crystal report, how do i know which table and row i should take ? (this is just an example)
    PO Number, Po Date, Material, Order quantity, pricing date, net value and overall status
    Thank you

    Moved to Integration Kit forum.
    The people in this forum will know more about the data structure than the CR Design forum which typically doesn't know much about the SAP Data sources Structure.
    Don

  • Installed BOE XI R3.1 Client tools now I cant open crystal reports?

    After I unistalled the client tools I cant open Crystal Reports from local drives. I can from BOE, but not local or network drives. Plus all the Icons from these drives have been removed. What did I do wrong?

    Need more info and it's not clear what you did or what is left on your PC but typically which ever CR product you still have installed going to the Add/Remove software and doing a Repair install on Crystal Reports Designer should fix the problem.
    Thank you
    Don

  • How to create crystal reports from ecc abap program?

    Hi all,
    I am new to sap ecc to bo report!!
    I heard that abap program cannot be directly connected to crystal reports,
    So created a function module which is equivalent to the abap program!!
    And happened to connect the same in crystal !!
    Can anyone let me know how to proceed !!
    will be there any performance issue ?
    can anyone guide me how to do reporting from ecc function module to crystal reports directly?
    Thanks

    Hi Pooja,
    From what I know, not all ABAP programs can be accessed in Crystal Reports. The program should return rows and columns, otherwise, CR would not be able to report off it.
    I'm not sure if there are any performance issues if we follow your path. Do you experience any?
    And, do you need help in creating a report on the function module, I mean do you also have any design related queries?
    -Abhilash

  • My first program to create a crystal report from java... Help needed...

    Hi... I am writing a java program that fetches a table from database and creates a Crystal Report from that table(ResultSet object)... Optionally exporting the report as a pdf also...  This will be a console application since it is my first program using crystal reports.... Any one can help me with this...?

    Hi Karthik,
    you could have a look over these developer guides below for understanding of Java sdk :-
    [http://www.sdn.sap.com/irj/boc/sdklibrary|http://www.sdn.sap.com/irj/boc/sdklibrary]
    you could also find  below sample codes for creating reports using Java sdk (RAS sdk) :-
    [http://www.sdn.sap.com/irj/boc/samples|http://www.sdn.sap.com/irj/boc/samples]
    let me know if you need any help,
    Regards,
    Rameez.

  • Having trouble opening Crystal Report files from a document library

    I am trying to open Crystal Report .rpt files from a document library in either the native, client Crystal Reports software or in Crystal Reports Viewer. When I add the Crystal Report files to a document library and attempt to open them SharePoint displays
    a prompt asking me to save the file locally instead of opening the file. I have done a lot of research online and found several sites discussing similar scenarios, however, I have not been able to get these solutions to work. Here is a short list of sites
    I have referenced for possible solutions:
    http://naadydev.blogspot.com/2013/03/crystal-report-viewer-sharepoint-2010.html?showComment=1383339860122
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/52aabf2d-10dc-424c-bd50-124fc972a9b9/crystal-report-viewer-integration-with-sharepoint-2010?forum=sharepointgeneralprevious
    http://www.codeproject.com/Articles/42731/Crystal-Reports-WebPart-for-SharePoint
    Here are the steps I have done to try to get the .rpt files to open:
    Added the Crystal Report extension .rpt as a MIME type
    Installed the Visual Studio 2012 Crystal Reports Viewer toolbar
    Installed the 64-bit Crystal Reports runtime
    I have also created a solution file based off the Code Project site which partially works, but not quite right. In this project I have created a document library called "Crystal Reports rpt Files" and deployed the solution file to a site. When
    I open the Web Part Maintenance Toolbar I can see the selected .rpt file in the drop-down, but no Crystal Report file is displayed on the page itself.
    I am not sure what I am doing wrong. Does anyone have experience working with Crystal Reports and SharePoint 2013 (or earlier versions) that could lend some advice?
    Thank you,
    Alex

    We are having the exact same issue, has anyone resolved this yet?

  • Calling a Crystal Report from and Oracle Form6i

    I am attempting to call a crystal report from within an oracl form. I would appreciate documentation/suggestions on how to accomplish this task.
    Thanks
    NBranson

    HI Nicole,
    I have used crystal reports from oracle forms in one of my project. Send a mail to this address, i ll reply you back with the source code. My email address is [email protected] .
    But if you just want to know the steps here it is :
    STEPS TO display the Crystal Report in Oracle Forms :
    1. Create a new form.
    2. Create a control block, name it 'CONTROL'.
    3. Create a CONTENT canvas, name it 'REPCAN'.
    4. Create an ActiveX control on the canvas, name it 'CrystalReport1'.
    5. Create a Image item , name it 'REP'. Make sure that image item overlaps the ActiveX control completely, this image item is used to get the item handle. Enlarge this object such a way that it will fit the window, the report gets displayed in this item so the item size should be adeqately large.
    6. Right click on the ActiveX control item, select Insert Object from the menu.
    7. From the list select Crystal Reprot Control.
    8. Select the Progrm=> Import OLE Library Interface Menu in the form.
    9. Select Crystal.CrystalReport from the List, this will list two methods and one Event . The two methods are CrystalCtrl and IRowCursor, the event is CrystalReprotEvent.
    10. Select all the three and click on the OK button to accept. This will create the program units.
    11. In the When-New-Form-Instance trigger of the form write the following code.
    Declare
         charWinHandle varchar2(50);
         numWinHandle Number;
    Begin
         Set_Application_Property(Cursor_Style,'BUSY');
         charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
         numWinHandle := To_Number(charWinHandle);
         :Item('Control.CrystalReport1').OCX.Crystal.CrystalReport.WindowParentHandle := numWinHandle;
         :Item('Control.CrystalReport1').OCX.Crystal.CrystalReport.WindowState := 2;
         :item('CONTROL.CRYSTALREPORT1').OCX.Crystal.CrystalReport.Connect := 'DSN=;UID='||Get_Application_Property(UserName)||';pwd='||Get_Application_Property(password)||';dsq=;';
         Crystal_CrystalCtrl.ReportFileName (:Item('Control.CrystalReport1').interface,'C:\Sample_Rep.Rpt');
         Set_Window_Property(Forms_Mdi_Window,Window_State,Maximize);
         Set_Window_Property('MAIN',Window_State,Maximize);
         :reptitle := 'Report Preview Window';
         numWinHandle := Crystal_CrystalCtrl.PrintReport(:Item('Control.CrystalReport1').interface);
         Set_Application_Property(Cursor_Style,'DEFAULT');
    End;
    One thing to mark here is the, change the report name and path according to your required file name and path in
    Crystal_CrystalCtrl.ReportFileName (:Item('Control.CrystalReport1').interface,'C:\Sample_Rep.Rpt');
    12. If you want to run multiple reports then create a parameter and pass the file name to the form through the parameter. In the above line of code, you can replace the file name with parameter, so each time the form is called with different parameter with the file name , it displays different reports.
    13 Run the Form.

  • Open a crystal report from WAD with passing  the variables values

    Hi,
    I need to know is there any way to link SAP WAD to crystal reports (open a crystal report from WAD)and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report.
    Maybe we need to pass parameter by WAD URL but this is just my assumption and have no idea how to do this with passing variable values.
    right now I know the method of how Bex queries which are used as data source for crystal reports but in my current scenario we have the structure like this that bex queries link with WAD and then WAD is linked with crystal reports.
    No doubt that Crystal report is target option in RRI but there the source is Bex Query only but in current scenario we are looking  WAD (web template) as a source to crystal report or crystal report called in WAD.
    Please suggest something on same.
    Thanks
    Take care
    Vishal sharma

    Hello Vishal.
    Did you find a solution for this problem?
    I'm facing right now the same problem, I need a way to link SAP WAD to crystal reports (open a crystal report from WAD) and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report.
    Have found an answer to this issue? If yes, please kindly inform how have you solved this.
    Best Regars
    Armando Santos

Maybe you are looking for

  • I have received a disk of photos which are avi files, what software do I need to download to be able to view the slideshow and save them within i-photo please

    Having had some photos done at a photographers, they have passed me the disc of the slideshow, which is in avi format, however I cannot view it on my imac, I would be really grateful if someone could advise me what software I need to download that is

  • Changing phone numbers on i phone

    my husband and i bought _I phones_ at the same time a few months ago.my one has been damaged .my husband wants to give me his .however my sim card will not work in his phone.we both took out the same contract with o2 (service providers) at the same t

  • Running InDesign CC 2014 on Mac vs Windows

    I was wondering if anyone has had the opportunity to run InDesign CC 2014 on a Mac AND on Windows, and which one is better overall. I've noticed that it seems to take much longer to open a book file on Windows, but it takes less time to run a script

  • Safari won't open since I installed Firefox.

    Safari won't open since I installed Firefox. I keep getting a window that asks me if I want to "Reopen" Safari in a large window that includes error messages, lots of them. I click on "Reopen" and a smaller window opens up with the same option to "Re

  • Flash or After Effects

    Hello everyone. I am new to CS3. What's the difference between Flash and After Effects? Sense I bought the Master collection, I want to use everything in this CS3. And I confused on the two. I want to create animation and still image reels for my cli