Simple sample code to display a Crystal Report from Crystal Enterprise?

I am looking for a sample application that will "simply" view a report stored on our Crystal Enterprise server. I have looked at "boesdk_net_samples_12.zip", but that isn't really what I am looking for. And, the "CrystalReportViewer" and "CrystalReportSource" add ins for Visual Studio seem to only work with a "local" file (instead of one Managed or UnManaged on our Crystal Enterprise server).
Can anyone point me to the right place? (Navigating the SAP site is so damn confusing!)

Hi Shayne,
You are not clear on how you will know which report you want and for which user? You can query the CMS database for the user and get all of their reports but without knowing which report object ID to get you will need to have the user select one. Unless you simply assume you want the last one, but if you don't give them a choice and they miss one day, or what ever your parameter is to select, there will be no way to get back to that report.
For sample code on how to query the BOE Server look in the Enterpise SDK samples. You do need to use managed code. I don't suggest going into the FRS\output folder to use unmanaged reporting. There are a lot of folders created and it's easier to simply query the CMS database to get the latest instance.
Since you have BOE you should also have a support contract. I suggest you log a case on line in Service Market Place and get a dedicated Engineer to assist you.
This may be simply easier for you to use the Personal Favorites folder of the user so they can browse all report instances belonging to them. I suggest you talk to the BOE Administrator for more info on what BOE is capable of doing. what you want is fairly easy to manage with Enterprise itself.
Thank you
Don

Similar Messages

  • Sample code for slow moving material report?

    Hi all,
    I have a requirement to display slow moving mateial report on a particular goods issue date and material wise.
    The basic requirements are
    1. Movement type '261'  and material, plant are select-options.
    2.last goods movement date based on  parameter.
    3. Display the quantity available
    but here i am getting a problem that i couldn't find the last goods movement for that particular material with specific storage location as one material document containing more than one item. So please help? Also what logic i have to use to display quantity available?
    Please specify the sample code or logic for above requirement?
    Any custom slow moving report codes also very helpful?
    Thanks,
    Vamshi

    >
    VAMSHI KRISHNA wrote:
    > Solved.
    ....Shaved.

  • Displaying xml publisher report from adf page.

    I am using jdev 10.1.3.3
    I have an requirment of displaying an xml publisher report on click of command button.
    any suggestion.how this can be achived.
    according to my understanding.
    if we create a folder in our web server which oc4j in our case.and we transfer the xml report through FTP in that folder.can we able to pick the report from that folder.
    can we display or call that report.please let me know??
    Is that possible.????????????
    any help would be helpfull

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • Sample code to read a text file from UNIX directory.

    I am using 9i Developer Suite, application server is 9.0.4. I want some help on how to read a flat file from UNIX environment. A sample code could be very helpful.
    In windows, i use this kind of code:-
    I declare an object & then write to a file using these sample staements:-
    file_handle text_io.file_type;
    filename := 'd:\ran\egs\uninvoiced.txt';
    file_handle:=text_io.fopen(filename,'w');
    text_io.put_line(file_handle, 'MOBILE NO '||'COUPON NO ' || 'DATE');
    I hope, my question is clear. Please help in solving the doubt.
    Regards.

    filename := 'd:\ran\egs\uninvoiced.txt';This is a Windows directory, so it won't work on Unix.
    For the rest of the code: see examples in the Forms Builder Online Help.

  • Parameter form display while calling reports from form

    Dear All,
    I am running reports from form using run_report_object. I do not want to see parameter form while running the report. How do I do that.
    Thanks in Advance
    Gaurav Shah

    Hi, try to set paramform=NO in your parameter list
    Daniel

  • Can Connect but Not Open Reports from BusinessObjects Enterprise

    I have a new installation of Crystal 2008.  I can logon to the Respository Explorer, but when I try to access a report, I receive the folllowing message:
    ================================================================
    The report could not be opened from BusinessObjects Enterprise.
    Possibly the report is on a different BusinessObjects Enterprise system than the one you are currently logged onto.  If this problem persists, please contact your admistrator.
    ================================================================
    The server administrator has tried his profile and gets the same message
    I installed CR2008 on a different PC and can access without problems
    I had Crystal XIR2 installed and uninstalled it prior to CR2008
    I also had Crystal Beta for VS2020 that I uniinstalled prior to installing CR2008.
    I've tried suspending my virus protection and firewall
    It doesn't seem to be a secuity issue, but something is blocking access.  I assumed the problem would go away after uninstalling the other versions of crystal and running a registry cleaner, but I still have the same problem.
    Any Suggestions??

    Hi,
    One of the probable causes of this error message is when the Input File Repository Server (FRS) is stopped, disabled, or is not accessible over the network.
    In addition to what Philip has recommended, i would suggest you to first verify if your IFRS server is started and enabled. Also, kindly perform the port binding for the IFRS server by:
    1. Login to CMC with an Administrator account.
    2. Navigate to Servers >> Input File Repository Server >> Properties
    3. Check the Request Port button and assign a port number.
    4. Also assign the IP Address of the Server in IP Address radio button.
    5. Restart the server and test the issue.
    I hope it works for you.
    Regards,
    Nakul Mehta

  • Unit Conversion Code to display the BW report in one unit

    Hi i want to display the units in US standards in initial view of report and allow users to convert in local units if they want.
    A. I find that data is comingfor "factory area" field in cube in various units such as FT(Feet), MT (Meters), ST, IN. as entered in ECC
    Please get me some help to write the ABAP code to convert the units in US standard units or tell me some functionality at report level to convert the units so that report display all data for "factory area" in one unit
    Thanks
    Regards
    Poonam Roy

    strange..
    1) is normal for checboxes and
    2) for radio buttons...
    A.

  • Vertical labels displaying horizontaly Crystal enterprise XI

    Hi,
    I have a report where Page Header A has a few horizontal fields and labels, and  Page Header B has a dozen or so vertical field labels only.
    The report looks good when viewed from Crystal design, although when the report is mounted on the staging server the vertical labels (page headerB) display as horizontal. ?!?!?!?!
    I'm using crystal design XI ver.11.0.0.2495
    The staging server is using busniness objects enterprise ver. 11
    can anyone help me to figure out why the vertical labels are displaying horizontal on the enterprise version ????
    thanks !
    Rick

    Rick,
    Measure the height of each section, and use the measurement in a stored variable, to accumulate the current length of the report. Then use the section expert for each section, to check the current value of said variable.
    It will not work in all cases, but maybe with some changes for your scenario it will help.
    Regards,
    Kyle McAdam,
    Senior Engineer, Customer Assurance
    Business Objects an SAP Company
    Edited by: Kyle McAdam on Jul 7, 2008 7:17 PM

  • Data is not getting displayed in the report from an Infoset.

    Hi All,
    I am having a report  based on an infoset. This report is displaying the data in the Dev. envmt. When it is transported to the QA, it is not displaying the data in the BEx as well as RSRT, in the QA envmt. The patch levels of both the Dev. and QA are the same. The Queries are same in the Dev and QA also.
    While trying to display the data from the infoset (rt.click- display data), i am able to view the data, in the QA.
    Could anyone please suggest why the data is not getting displayed in the query designer.
    Thanks & Regards,
    A.V.N.Rao

    Hi Ashish,
    I ran the "ZPS/!ZPS" in RSRT where ZPS is the infoset name. In Dev, it displayed the values. In QA, it displayed the below messages:
    ECharacteristic 0TCAKYFNM does not exist. Check authorizations
    WThere are calculated elements. These results are bracketed [  ]
    and below that, it displayed the values for Number of records. But, it has not displayed the values for the other figures.
    Does this has any impact in QA.
    Thanks & Regards,
    AVN Rao.

  • Display image in report from BLOB

    Hi All,
    i have one requirement i.e
    i want to display image in a report base on condition
    like if id =1 then firest image, id = 2 then second image and id =3 then third image
    i have image in database in BOLB type
    i need to display in report based on that condition
    please help me this requirement is urgent
    reg,
    jell

    just create a query like this:
    select id, image_name, image
    from tablethen your XML output would be like this:
    <ROWSET>
         <ROW>
              <ID>1</ID>
              <IMAGE_NAME>kljkla</IMAGE_NAME>
              <IMAGE>Lots of characters that represents the BLOB</IMAGE>
         </ROW>
         <ROW>
              <ID>2</ID>
              <IMAGE_NAME>jdkwel</IMAGE_NAME>
              <IMAGE>Lots of characters that represents the BLOB</IMAGE>
         </ROW>
         <ROW>
              <ID>3</ID>
              <IMAGE_NAME>oled</IMAGE_NAME>
              <IMAGE>Lots of characters that represents the BLOB</IMAGE>
         </ROW>
         <ROW>
              <ID>4</ID>
              <IMAGE_NAME>mlish</IMAGE_NAME>
              <IMAGE>Lots of characters that represents the BLOB</IMAGE>
         </ROW>
    </ROWSET>in your RTF you put this:
    <fo:instream-foreign-object content-type="image/jpg" width="251.8pt" height="174.3pt" xdofo:alt="picture"><xsl:value-of select=".//IMAGE"/></fo:instream-foreign-object>the attributes width and height are optional

  • Code to display stored multiple documents from KM into table.

    Hi.
    I stored some documets(multiple documents) in KM those documents i have to display(multiple documents) inside table.
    Regards,
    mahesh

    Hi
    Iam using below code iam able to access only one document at a time.I want multile documents in table.
    public void wdDoInit()
        //@@begin wdDoInit()
         wdThis.wdGetComp_Form_16Controller().executeZess_Form16_File_Details_Input();
                   wdThis.wdGetComp_Form_16Controller().executepersonalrfc();
                   wdContext.currentContextElement().setCa_pernr(wdContext.currentOutput12Element().getPernr());
                   wdContext.currentContextElement().setCa_name(wdContext.currentOutput12Element().getEmpname());
         wdContext.nodeCa_node().invalidate();
          try {
    //          Getting the useru2026u2026 
                                  IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
                                  IUser sapUser = wdClientUser.getSAPUser();
                                  com.sapportals.portal.security.usermanagement.IUser ep5User =  WPUMFactory.getUserFactory().getEP5User(sapUser);
                           //          Getting the Resourceu2026u2026u2026       
                                         IResourceContext resourseContext = new ResourceContext(ep5User);
                                         IResourceFactory resourseFactory = com.sapportals.wcm.repository.ResourceFactory.getInstance();  
                               // execute RFC...          
                                         int size = wdContext.nodeIt_Files1().size();
              //String a = size+"";
              for(int i=0; i<wdContext.nodeIt_Files1().size(); i++)
                                            IPrivateForm_16View.IIt_Files1Node node = wdContext.nodeIt_Files1();
                                            IPrivateForm_16View.ICa_nodeElement ele = wdContext.createCa_nodeElement();
                                       String file_path = wdContext.nodeIt_Files1().getIt_Files1ElementAt(i).getZfile_Name();
                                       //String file_path = "knagakrishna";
                               //Get a RID for the file
                                   RID file = RID.getRID("/documents/FORM16/" + file_path );
                                   // RID file = RID.getRID("/documents/FORM16/");
                               //get the file itself from KM
                                         IResource resource = resourseFactory.getResource(file, resourseContext);
                          //collections can not be opened, therefore we have to ignore them
                                         if(!resource.isCollection())
                                            {   byte[] bcontent = this.getByteArrayFromResource(resource); 
                          //get resource type   
                                                      WDWebResourceType resourceType = WDWebResourceType.getWebResourceTypeForFileExtension(resource.getRID().extension()); 
                                                      IWDResource iwdResource = null;
                          //resource type is known
                                                   if (resourceType != null)       
                                                       { iwdResource = WDResourceFactory.createResource(bcontent, resource.getName(), resourceType );
    //          resource type is not known        
                                                   else
                                                        { iwdResource = WDResourceFactory.createResource(bcontent, resource.getName(), WDWebResourceType.PDF); 
    //          save resource in context 
    //          wdContext.currentContextElement().setFileResource(iwdResource); 
    //           wdContext.currentContextElement().setCa_path1(iwdResource.getUrl(WDFileDownloadBehaviour.ALLOW_SAVE.ordinal())) ;
                        ele.setCa_path(iwdResource.toString()); 
                        ele.setCa_company(wdContext.nodeIt_Files1().getIt_Files1ElementAt(i).getButxt());
                        //ele.setCa_year(wdContext.nodeIt_Files1().getIt_Files1ElementAt(i).getZyear());
                        ele.setCa_year(wdContext.nodeIt_Files1().getIt_Files1ElementAt(i).getZyear());
                         ele.setCa_pernr(wdContext.nodeIt_Files1().getIt_Files1ElementAt(i).getPernr());
                        if( ""== ele.getCa_path())
                                // wdContext.currentContextElement().setCa_error("Letter Does not Exist!!") ;
                                ele.setCa_link( false);
                        else{
                          ele.setCa_link( true);
                                        wdContext.nodeCa_node().addElement(i,ele);
                                        //wdContext.nodeCa_node().add(ele); 
                                       // ele.node().invalidate();
         } catch (Exception e) {
              wdComponentAPI.getMessageManager().reportWarning("No Form16 exist, please contact ASK-HR at .");
    Edited by: Mahesh Shirke on Jun 8, 2011 10:24 AM
    Edited by: Mahesh Shirke on Jun 8, 2011 10:24 AM

  • Display image in Report from File Server

    Hi
    As the logo of the company is changing every 3 - 4 months, i need a solution for this..
    my approach is to replace the new logo in file server
    call the logo in the oracle reports... using oracle reports 6i...
    but i am not able to do so ( which objects to be used like formula column, link file, ole) ... any help from your side will be good.
    Regards
    Yram

    You may put the logo into db as a blob column and retrieve it onto report. One update in db would update all calling reports.

  • DISPLAY LOGS INTO REPORT FROM SESSION METHOD

    Hi Friends,
          I hv created BDC with Session Method For Tcode KO01 in which internal order number generated which i can see in SM35 tcode....
    Now I want to print that Internal order number into report.......
    so please tell me How can i print that number which is showing in SM35.......?

    pls,do some reply its argent

  • Sample code to access BAPI Web services from JAVA required

    Hi All,
    I am a java developer. I am new to SAP. I just want to know how to use the web services from ABAP
    I got the WSDL, and able to convert the WSDL into java classes using java2wsdl command.
    Now i want to know how to use these classes, in my java class.  i want to know two things
    1) How to get authentication or session  or token to use the service
    2) How to consume BAPI services by using above session or token.
    Any help, really appreciated. Plz help me if any one knows.
    Thanks alot,
    Mohan

    Triplehhh wrote:
    Hi,
    I have a web application developed with java,jsp and javascript and server used is weblogic.
    Now this application is running fine on my PC. I assume from this that there is no client side Java. Is this right?
    So what steps are required so that I can access the application from other PCs also.If there is no client side Java then you have to do nothing other than make sure your PC can be reached from the other PCs. i.e. no firewalls blocking the access and routing available between the client PC and the server PC.
    I don't see what this has to do with JNLP. Am I missing something?

  • Error displaying Log Files page from the Enterprise Manager App. Svr. CtL

    The error message is:
    Failed to initialize configuration management user session. The Oracle AS Repository API threw an exception when obtaining the connect string to the Metadata Repository
    Base Exception:
    Unable to establish connection to the Oracle Internet Directory Server
    ldap://xxxx.bu.edu:13060/
    The OID Process is running.
    But
    I cannot get the OC4J_SECURITY process started either.
    Can someone please help me with this.
    Thanks- Gary
    Edited by: garyNboston on Dec 11, 2008 2:21 PM

    Hi Sergio,
    did you already stop and start your SMD agent on OS level ? It is not enough to restart it from the SMD.
    kind regards
    Davy

Maybe you are looking for

  • Curve 8520: app error 200

    I have a 8520. I tried deleting an app using the bb desktop software. At the end of the task I got the message "can't connect with the device". The device keeps saying "app error 200". What do I do?

  • AS3 Contact Sheet Help!!

    Hi, I have been making a website entirely in flash CS4 AS3 and I decided to buy a contact sheet to add into it, when I added it in though it didn't work. I would click the button of the contact sheet and it didn't work. I contacted the creator if the

  • I need to return my product

    My name is Valentina, I recently bought Adobe Photoshop Elements from this website and I do not need it anymore. I would like to return it, but I can´t find the solution...

  • Automatic transfer of material from unrestricted to transit

    Hi, I have transferred the material from 1 sales order to another sales order by Mov type- 413-E by MB1B. Ideally it should transfer to sales oder but when I checked the stock in MB52, I can not see the stock against that SO. But this stock automatic

  • Content viewer displays "---" after folio name in browse view

    (also posted to pre-release forum) I recall in the pre-release bundler there was a place to indicate issue number and this would appear after the folio name in browse view. Is there a way to do this with the new tools in the Adobe Content Viewer app?