Business Objects + COM Call

Hello forum members,
   I have been involved with Business Objects and its Unified web services for the last two weeks for our project and I must say, it is very frustrating if you are not using  Java or .NET.
   We have a business need to generate crystal reports from our PHP based application and for the last one week I have been banging my head against the wall and hitting dead ends. I searched almost all the forums, this forum and exhausted google search but no luck.
   I have found out from few sample codes that you can make a COM call using PHP for Crystal Reports 11.5 The problem is that the sample codes explains to run the PHP application and Crystal Reports on the same machine. For us, it is not the case. We will be running a PHP application on different box and our BO/Crystal Reports is installed on another machine.
   I tried to use the PHP COM function with remote server/username/password information but I am getting 'Failed to create COM object `CrystalReports11.ObjectFactory.1': The RPC server is unavailable. error.  Now is there anything anyone can help me with here??
I would really appreciate some kind of guidance here

What are you using and trying to do?
In your post, you mention the following technologies:
Business Objects Unified Web Services
Report Application Server XI Release 1 COM SDK - CrystalReports11.ObjectFactory.1
The former uses HTTP SOAP stack via the dsws web service deployed with Enterprise XI Release 1.
The latter uses CORBA TCP/IP to communicate directly with the Report Application Server.
They're different channels, that use different services on BusinessObjects Enterprise.
So it's not clear what you're trying to do, or whether you're starting off in the right direction using the right technology and SDK for your task.
Sincerely,
Ted Ueda

Similar Messages

  • Want to know how to debug the Business Object Method called from CRM

    Hi all,
    I have to debug a Method of a custom Business Object. This is being called when a certain action is performed
    on the CRM  ( CIC0 screen). I can not see an option to set an external break point in the Program of the Business Object
    Method.
    This Business Object calls a standard SAP FM. I tried setting an external break point in that FM and tried executing that.
    But it  is not stopping there.
    Can any one please let me know how I can debug this when triggered from CRM?
    Thanks  in advance.
    Thanks & regards,
    Y Gautham

    Hi,
    I have tried checking the option 'IP MATCHING' option. I have given my user id and also the 'WEBUSER' as well.
    But still I am unable to debug the application.
    Can you please let me know if I am missing anything further.
    Thanks & regards,
    Y Gautham

  • SAP WF Business Object methods call our of SAP world

    Hi Guys,
    I want to know if the Methods of SAP workflow business object are always only be used in tasks in the workflows or they can also be called from out of sap world??? If yes then how???
    Seconly does BAPI property of the method (method property where we can provide BAPI function module) has to do with remote call for this method?? What exactly is the use of BAPI property of any method in SAP workflow business object??
    Regards,
    NK

    Hi Naeem,
    Generally we are using SAP BOBI as  best BI adhoc, canned  Webi report  and customizing Dashboard , Crystal report preparation in  Complex Billing report by using Web intelligence , Crystal report  and Digital dashboard  is best for KPI analysis , predictive analysis for Project , Management also .
    Their  flows are very simple by using specific SAP recommended Specific tool for any MIS , BSCS billing BI reports preparation that we are following in specific domain based Project.
    BAPI reporting is part of ABAP reporting , that you can  flow in Mr Rob statement .
    Regards
    Asish

  • Business Objects sessions bleeding together with OpenDoc reports

    I have a custom application that logs a user into Business Objects, and calls OpenDoc using the generated loginToken. I store the Business Objects session in the application session. If you log into the application as one user and open a report with the following query:
    <br><br>
    SELECT
      mtf.id
    FROM
      mtf,
      facilities,
      users
    WHERE
      facilities.id = mtf.id
      AND facilities.id = users.facility_id
      AND users.login_name = @Variable('BOUSER')
    <br><br>
    The query runs correctly and returns the correct result. If you log out of the application without closing the browser window, log in as a different user and run the same report you get the result the first user got, as if the @Variable('BOUSER') was returning the first username.
    <br><br>
    Each user is logged into Business Objects with their own username, I have verified this in the code. I aslo verified that When the first user logs out of the application the Business Objects session is destroyed, and a new one created for the second user. Looking at the HTTP headers I have seen that when the first user logs in and opens a report the following cookie gets set:
    <br><br>
    HTTP/1.1 200 OK
    Set-Cookie:
    InfoViewses=3%261%2C8P%264E%3D1704Jk1XlRb8I5GtMTG1%2C8P%26Tn%3D%7B3%26.1%3D%7B3%262%3D1608%2C03%26O%3DFavoritesFolder%2C0P%7D%2C2z%26.2%3D%7B3%262%3
    D1609%2C03%26O%3DPersonalCategory%2C0P%7D%2C2z%26.3%3D%7B3%262%3D1610%2C03%26O%3DInbox%2C0P%7D%2C2z%26U%3D3%2C03%7D%2C%3Fz%264F%3D1607%2C8P%26S5%2C8
    8%26Tm%3D3650%2C83%265U%3D1705JEngK4tWp4tT87D21704Jk1XlRb8I5GtMTG1%2C8P%2635%3Dtestuser1%2C8P%2663%3Dtoken%2C8P%26pa%2C8P%262r%3Ddev-bo.company.com%
    3A6400%2C8P%263k%3D%40dev-bo.company.com%2C8P; Path=/; HttpOnly
    <br><br>
    The second user who logs in already has this set with the same value, including the testuser1 string which is the username of the first user. This is the only place I can see the username getting passed around.
    <br><br>
    This is how I log users in to Business Objects and get the logon Token:
    <br><br>
    IEnterpriseSession session = CrystalEnterprise.getSessionMgr().logon(username, defaultPassword, cmsHostName + ":" + cmsPort, authType);
    String logonToken = session.getLogonTokenMgr().getDefaultToken();
    <br><br>
    This is how I launch the reports:
    <br><br>
    String url = serverUrl + "/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&sType=wid&sRefesh=Y&iDocID=" + reportCuid + "&token=" + logonToken;
    <br><br>
    This problem does not occur with logging in and out of infoview. I am using Business Objects XI 3.1 SP2
    <br><br>
    Thanks for your help
    <br><br>
    Tim
    Edited by: twkatadin on Dec 18, 2009 3:17 AM

    When you log into InfoView, it creates a string representing the serialization of the Enterprise Session, and passes it to the client web browser as a cookie.
    When you log out of InfoView, then it deletes the cookie.
    The cookie is used for session persistence, such that the Enterprise Session will carry over to the different web apps that comprise the InfoView portal.
    The difference with invoking OpenDocument is that there's no mechanism for logging off the session within OpenDocument, and OpenDocument uses the same cookie (since OpenDocument is invoked from InfoView, it needs to know the Enterprise Session under with the requester is logged onto InfoView).
    So one possible workaround is to not pass the DefaultToken - it's used for failover - but rather the WCA token (createWCAToken).
    The WCA token is valid only for the lifetime duration of the EnterpriseSession that generated it.   Since you're keeping around the Enterprise Session yourself, and you do log it off, the serialized session in the cookie should be invalidated on the subsequent call.
    Sincerely,
    Ted Ueda

  • Business Objects Dashboard External HTML/JAVA Script Link - User Authentication Depolyment Q

    <p>Hello,</p><p>I have a rather unstructured problem here and am relatively new to Business Objects Enterprise. </p><p>We have users who are authenticated through Business Objects. The login sets their access levels and permissions. In addition to the BO reports, we would also like to link through BO Dashboard a JAVA Script webpage.</p><p>The JAVA Script and Business Object software sits on the same webserver.</p><p><strong>The problem is that through BO Dashboard and also an external URL link we can only pass a static link (i.e. /some directory/some doc.html) and not a dynamic userid with the URL, which changes based on the user (i.e. /some directory/some doc.jsp?UID=user1).</strong></p><p>The solution might be to insert a Business Object API call that can determine the user who is currently logged in? Or, if there is some way around the static html link through Business Objects Dashboard?</p><p>Any ideas or thoughts would be deeply appreciated.</p><p>Thanks,</p><p>Joe</p>

    Are you setting Business Objects up as an external application?
    If so, what parameters are you using to set it up?
    Based on the fact that you're seeing the basic auth dialog, you probably need to specify
    that it's using basic auth -- not GET.

  • Business objects xi 3.1 sp3 on solaris , is it compatable with jdk 1.6

    i installed business objects xi 3.1 sp3 on soalris and we are using apache tomcat web application server. wheni read  Supported Platform document it says business objects comes with jdk 1.5 . do we have an option such that we can point to jdk 1.6. we are having jdk 1.6 in the /usr/jdk.1.6.023. can we point our whole business objects to that jdk 1.6.
    help appreciated
    thanks

    Hi,
    i know that you can re- point the Tomcat WAS to a different JDK but i am not aware that you can point BOE to a different one.
    I would recommend you open a OSS Message with the SAP support to check if it is possible and supported.
    Regards
    -Seb.

  • How to debug Z-Prgram  defined under Business Object

    Dear Members,
    I have been trying to debug one Z-program which was defined under Business object(ZBUS2032OS) [ the method of business object is called from VA02(sales order Change], but I couldn't get the proper way to go into debug mode.
    I tried by putting break points in the z-program and  in the code of business object(where z-program is being called by SUBMIT statement). But I failed to go into debug mode of the program.
    Could any one please share your experience in this case?
    Thanks,
    Srini

    Hello DJ,
    Thank you for your response.
    I have checked the process (creating sub orders in VA02) by giving parent sales order, the program had been triggerd(Z-program) in back ground and created sub orders. But I did not get the debug mode(break point was set).
    I want to know what is link between Business object type(where program was defined) and Transaction VA02.
    Thanks,
    Vasu

  • How to call business objects in BO part from a servlet in lean-webapp

    Hi Gurus,
    for oci-implementation (and as it has been suggested here: http://scn.sap.com/thread/3340669) we want to implement a servlet that calls certain actions in a business object. The servlet resides inside the leanwebapp-DC. The business object is in the bo-part of our own custom module. Our problem is to find a way for the servlet to call the business logic. Our first thought was to go via the moduleAccess. However, we could not figure out how to access the module of the leanwebapp.
    Any suggestions?
    Best regards,
    Christian

    Hey Wolfgang,
    thank you very much for your quick and accurate answer.
    After struggling a little bit with our project setup we implemented your solution and it worked immediately.
    However, we now have the problem to declare the module dependency between the leanwebapp and the bo-part of our module. The Development-and-Extension-Guide for WCEM 3.0 tells us (page 39) to do this in the metadata.xml of the calling module (which would be the leanwebapp). Unfortunately, the leanwebapp does not have a metadata.xml.
    Declaring the dependency in the .dcdef of the leanwebapp-DC leads to either:
    a runtime exception while calling ModuleAccess moduleAccess = wecSession.getModuleAccess("oci"); in the servlet (com.sap.wec.tc.core.modulemgmt.metadata.exceptions.ModuleRuntimeException: Module access of module 'oci' cannot be created. It is not part of the current application.) or
    a runtime time exception while accessing the servlet:
    Caused by: com.sap.wec.tc.core.common.init.InitializeException: Error initializing 'com.sap.wec.tc.core.modulemgmt.metadata.ModuleMetaDataDeploymentModel' com.sap.wec.tc.core.modulemgmt.metadata.exceptions.ModuleRuntimeException: The deployment unit contains multiple JAR files or folders which declare the same part/namespace combination. Module: 'oci', part: 'bo', namespace: 'xxx', JAR/Folder 1: 'D:\usr\sap\DE2\J02\j2ee\cluster\apps\xxx.com\xxx~oci~dpu\app_libraries_container\xxx.com~xxx~oci~bo~assembly.jar', JAR/Folder 2: 'D:\usr\sap\DE2\J02\j2ee\cluster\apps\xxx.com\demo-leanapp\servlet_jsp\demo\root\WEB-INF\lib\xxx.com~xxx~oci~bo~assembly.jar'
    Do you have any hints on how to declare the dependeny properly?
    Best regards,
    Christian

  • Calling Business objects Methods from ABAP program

    Hi All,
    Can anyone please tell me the procedure to call methods of business object(Ex: BKPF) from an ABAP program. My requirement is to check the existence of a object key by using the method EXISTENCE CHECK from BKPF. Please help

    Here is an example from the SAP documentation.
    [http://help.sap.com/saphelp_nw70ehp2/helpdata/en/c5/e4ad71453d11d189430000e829fbbd/content.htm]
    Cheers
    Graham Robbo

  • Calling methods from the Business Object BUS2032

    Hi all,
    Is it possible to call methods from the Business Object BUS2032.
    If so, how can it be done??
    Regards,

    Hi Marv,
    you sure can. Here is an extract from the SAP Help. I found it at http://help.sap.com/saphelp_46c/helpdata/en/c5/e4ad71453d11d189430000e829fbbd/frameset.htm
    <b>Programmed Method Call</b>
    Call (fictitious) method Print of object type VBAK (sales document). The method receives the parameters Paperformat and Printertype as input.
    * Call method Print of object type VBAK
    * Data declarations
    DATA: VBAK_REF TYPE SWC_OBJECT.
    SWC_CONTAINER CONTAINER.
    * Create object reference to sales document
    SWC_CREATE_OBJECT VBAK_REF 'VBAK' <KeySalesDoc>
    * Fill input parameters
    SWC_CREATE_CONTAINER CONTAINER.
    SWC_SET_ELEMENT CONTAINER 'Paperformat' 'A4'.
    SWC_SET_ELEMENT CONTAINER 'Printertype' 'Lineprinter'.
    * Call Print method
    SWC_CALL_METHOD VBAK_REF 'Print' CONTAINER.
    * Error handling
    IF SY-SUBRC NE 0.
    ENDIF.
    Cheers
    Graham

  • Calling Methods from Business Object BUS2032

    Hi all,
              Is it possible to call methods from the Business Object BUS2032.
       If so, how can it be done?? 
    Regards,

    Hi Marv,
    you sure can. Here is an extract from the SAP Help. I found it at http://help.sap.com/saphelp_46c/helpdata/en/c5/e4ad71453d11d189430000e829fbbd/frameset.htm
    <b>Programmed Method Call</b>
    Call (fictitious) method Print of object type VBAK (sales document). The method receives the parameters Paperformat and Printertype as input.
    * Call method Print of object type VBAK
    * Data declarations
    DATA: VBAK_REF TYPE SWC_OBJECT.
    SWC_CONTAINER CONTAINER.
    * Create object reference to sales document
    SWC_CREATE_OBJECT VBAK_REF 'VBAK' <KeySalesDoc>
    * Fill input parameters
    SWC_CREATE_CONTAINER CONTAINER.
    SWC_SET_ELEMENT CONTAINER 'Paperformat' 'A4'.
    SWC_SET_ELEMENT CONTAINER 'Printertype' 'Lineprinter'.
    * Call Print method
    SWC_CALL_METHOD VBAK_REF 'Print' CONTAINER.
    * Error handling
    IF SY-SUBRC NE 0.
    ENDIF.
    Cheers
    Graham

  • How to call webservices in business objects from java

    hi everyone, i am having a scenerio were a program which is written in java, this java program will instantiate when i get the data into my database. the java program need to fire and pass the parameters to the webservices in the business objects to create a file depending upon the parameters which r passed by the java to webservices. how i need to cinfigure in business objects webservicess,to get what i am looking or what r the things i need
    we r using xi 3.1 sp3, web application server tomcat.

    Hi,
    case 1: for WDP, you can create the web service model via "Import Adaptive Web Service" or "Import Web Service Model (deprecated)" by supplying wsdl URL.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
    case 2: In ABAP, create a proxy object at trx code SE80.
    http://help.sap.com/saphelp_nw04s/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
    Both cases are wizard-based. It's pretty intuitive.
    - julius

  • How to directly call business object class from backing bean class

    I woul like to call business object class directly from the backing bean class and implement methods in BO. If possible can anyone give an example code.
    Thanks in advance

    Which problems are you occurring then? I really don't see problems. You're just free to access and invoke them.

  • Calling business object in report ?

    Hi,
    i want to call bussiness object method in my report as that method will give me the data which i need to display in my report. But i dont know how to call business object it's method in ABAP report  and how to pass parameters to it.
    Plz help me out as  this is very urgent.......
    Thanks,
    rahul

    Hi Rahul,
    You have posted your query in a wrong forum, but still this is the solution:
    You can use macro SWC_CALL_METHOD from include <CNTN01> or directly a FM called SWO_INVOKE.

  • Calling BSP Application from Business Object?

    Hi,
    Can any one tried to call BSP Application from Business Object for showing in the Portal.
    I have the following Scenario:
    1. BSP Page: User will input the Date and Submit to store in the Database. and in this page the Workflow will be truggered and a Work item will be sent to the Next Level User.
    2. When he executes the Work Item it has to trigger the BSP Application and has to show in the Enterprise Portal.
    All this has to happen in the Enterprise Portal.
    If any one knows how to triggere from business object, please let me know.
    Thanks & Regards
    Sumanth

    Hi Vijay,
    Thanks for the information. Its long back i was working on this, but not successful,
    Now the similar requirement i need to develope in R/3.
    I checked the mentioned class in R/3 4.7, This class is not available. I hope this is only in CRM because of PC-UI.
    Any Suggesions how can i achieve this execution of BSP.
    In one of the document i saw the Business Object BUS1006 as an example but i could not locate the way to reutilize the similar way.
    Thanks & Regards
    Sumanth

Maybe you are looking for

  • MacBook Pro 15" Late 2011 Problems with iMac 27" Late 2009 TDM

    Hi, I just got problems with my iMac 27" Late 2009 (Mini-DisplayPort) and my MacBook Pro 15" Late 2011 (Thunderbolt). When I try to use my iMac as external monitor for my MacBook, there are massive glitches and graphical bugs on my second screen. I b

  • Help me get rid of these flat colors (xorg wise) [solved]

    As the topic says, time has come to install Arch on this lappy after first checking in with a fedora 8 t3 live cd. Now the problem is, Xorg gets the colors plain wrong on Arch. Colors look both too bright (no a real problem I can adjust the brightnes

  • How could i get the kernel and user cpu usage for each process

    Hi all, In order to monitor the system CPU usage, I would like write a script to gather the kernel and user CPU usage for each process, like the prstat or top does. As always missing the shortlived kernel usage, prstat or top cann't get the precise C

  • Sync problem 7.1.1

    yesterday night I updated my iphone 5 to 7.1.1. This noon, my iphone 5, has started to waste on 3g all my data conetion, further than 200 mb in 2 hour. I've confirm that the problem is in the system service, particullary on documents and sync. anyone

  • Nikon NEF Quality in Lightroom

    I have a quality issue, question !! I'm using Lightroom 2, I also convert all my NEF files into DNG Lightroom.  The process I use for photo management is the following.  I view all my images with Nikon ViewNX first and delete the bad images, rename t