How to Call Business Objects in Program

Hi All,
if i want to create PurchaseOrders how can i use Business Object in my program.i know how to create PO through Bapi's.how can i use this Business Objects and how to pass Vlaues into them?
any Sample code>
What are the diffrence between both PO upload bapi and business Object for PO.??
Thank you,
Madhu Rao.
Edited by: madhubabu rao on Oct 29, 2008 10:41 AM

Hi Madhu,
Business Objects can be triggered via Work flow tasks. When ever you create a Purchase Order, check whether any standard event is getting triggered.
Now create a work flow task with the above task as starting event, and link your BOR object to this.
Or try to use the Function module SAP_WAPI_CREATE_EVENT.
Regards,
Subhani.

Similar Messages

  • 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

  • How to use Business Objects in program

    Hi All,
    What are Business Objects? if i want to create PurchaseOrders how can i use this Business Object in my program.i know how to create PO through Bapi's.how can i use this Business Objects ??
    Thank you,
    Madhu Rao.

    Hi Madhu,
    The below links 2 will really help
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae4477488f11d189490000e829fbbd/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae4484488f11d189490000e829fbbd/frameset.htm
    Cheers!!
    VEnk@
    Edited by: Venkat Reddy on Oct 29, 2008 2:21 PM

  • 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.

  • 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.

  • How to use  Business Object like Vendor or PurchasingInfo

    Hi,
    How to use Business Object ( like Vendor or PurchasingInfo ) from my Object?
    For example:
    CLASS myEntity DEFINITION.
              PUBLIC SECTION.
                   METHODS: getVendor EXPORTING pVendor TYPE Vendor.
               PRIVATE SECTION.
               DATA: aVendor TYPE REF TO Vendor.
    ENDCLASS.
    CLASS myEntity IMPLEMENTATION.
    METHOD getVendor
               pVendor = aVendor .
    ENDMETHOD.
    ENDCLASS

    Hi,
    I am giving u a demo Program for ur doubt.
    REPORT demo_class_counter .
    CLASS counter DEFINITION.
      PUBLIC SECTION.
        METHODS: set IMPORTING value(set_value) TYPE i,
                 increment,
                 get EXPORTING value(get_value) TYPE i.
      PRIVATE SECTION.
        DATA count TYPE i.
    ENDCLASS.
    CLASS counter IMPLEMENTATION.
      METHOD set.
        count = set_value.
      ENDMETHOD.
      METHOD increment.
        ADD 1 TO count.
      ENDMETHOD.
      METHOD get.
        get_value = count.
      ENDMETHOD.
    ENDCLASS.
    DATA number TYPE i VALUE 5.
    DATA cnt TYPE REF TO counter.
    START-OF-SELECTION.
      CREATE OBJECT cnt.
      CALL METHOD cnt->set EXPORTING set_value = number.
      DO 3 TIMES.
        CALL METHOD cnt->increment.
      ENDDO.
      CALL METHOD cnt->get IMPORTING get_value = number.
      WRITE number.
    For more demo programs type 'abapdocu' in the command field
    U will be getting some demo programs.
    There select the abap objects.
    Regards,
    Jagadish

  • Calling Business Objects Reports

    Hi,
    I want to call Report made in Business Objects by clicking a button in form.
    I can see the Business Objects Library files in forms (OLE Packages) but i don't
    know how to call Reports objects on click of button.
    RDgs,
    savita

    can't you just host to the BO command line?

  • How to call business service from xquery transformation in OSB ??

    Hi All,
    How to call business service from xquery transformation in OSB ??
    I need to assign the response variable of Business Service to a target element in XQuery Transformation Mapper file.
    It's urgent.
    Regards,
    Jyoti Nayak

    Transformation is to mapping the source and target of 2 different schemas.
    In your case you should have a XQuery transformation between, your Business Service output schema and the target schema.
    Thanks,
    Vijay

  • How to call a Standard SAP Program in Zprogram.

    Hi,
    how to call a SAP Standard program in SAP Program?
    Do we have to use any funtion module and pass paramters?
    I want to call a Standard SAP prg in to my prgram? can anyone explain me or give the piece of code to call standard prg.
    Thanks & Regards

    Again, ABAP related questions should be asked in the ABAP forum.
    To answer you question,  if the standard program is a report program, you can use the SUBMIT statement and pass parameters using the WITH Extention.
    Submit <report>
          with p_fld = 'X'
              and return.
    Please make sure to award points for helpful answers and mark your posts as solved when solved completely.  Thanks.
    Regards,
    RIch Heilman

  • How to access Business Objects Explorer?

    I am new to Business Objects and would like to know how to access Business Objects Explorer from my local system. I have Business Objects XI 3.1 installed on my system.
    I would like to know if BO explorer requires a separate installation package? If yes, how can I acquire it?
    If No, what are the steps to integrate the BO Server with the BO explorer?
    Edited by: Bhavani I on Jan 28, 2010 11:23 AM

    Hi,
      You can refer to the below link for more details on BO EXplorer,
    https://cw.sdn.sap.com/cw/servlet/JiveServlet/previewBody/119973-102-1-220562/BO%20Explorer%20Implementation%20checklist.pdf
    Regards,
    Balajee
    Edited by: Balajee Sivakumar on Apr 27, 2011 6:30 PM

  • How to register Business Object Portlet in Oacle Portal

    Hi Gurus,
    Could anybody give me an idea How to register Business Object Portlet in Oacle Portal.
    Thanks & Regards
    Vikram

    Hi
    I am also looking into BO portlets but maybe I am one step behind you as I am still trying to find where to download the provider from.
    Could you tell me where to got the portlet from.
    I recently went to the Business objects web site and could only find a java portal integration kit for JSR 168 platforms (10g included in the list)
    at http://www.businessobjects.com/products/downloadcenter/boepik.asp

  • How to call business workflow in PI?

    Hi,gurus:
    How to call business workflow in PI and vice versa? Can I implement it using idoc adapter or RFC adapter?Or is it possible to expose the workflow to a web service?
    Any help will be appreciated.

    xinjiang li ,
    >is it possible to expose the workflow to a web service?
    Yes
    What is your actual requirement,
    Cheers
    Agasthuri

  • How to Find Business Objects for any Tranaction .

    Hi Abapers,
                        How to find Business objects for any transcation.....  and how to connect the Work flow to  any  Trancation  so that for example any body changes the date of Birth ...... so that the work flow should trigger .
    Thanks & Regards
    Bhaskar Rao.M

    Hi Bhaskar,
    For finding business object,you can try transaction SWO4 and by checking the documentation in it you can find your required business object.
    Another method is:
    1) Go to Trx SWE4 and switch on the event trace.
    2) Run your transaction which you want to use for triggering your workflow.
    3) Run transaction SWEL and find your Business Object and related event in it.
    For connnecting your WF to your transaction you have to create a start event in your WF in SWDD,where in you specify the Business Object and start event which you find using above method.
    Eg.You want your WF to be triggered whenever you have an error in your idoc.For this your BO will be IDOCAPPL and your event will be (inputErrorOccurred).This you will give in header data in SWDD.
    Neerja

  • 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

  • How to deploy business objects web services on tomcat

    Hi everyone can anyone tell how i need to deploy business objects web services on tomcat, i installed business objects on unix server.what r the steps i need to follow in order to deploy web services on business objects. this web services must be called by a java program externally, that the reason i am deploying web services.
    i downloaded business objects web services portal sample zip file. the wssdkj2eeportal directory is created with ant_scripts,src, dsws.config and wsportalassemblyscripts.bat.
    i am trying to configure the dsws.config, by modifying it to
    <configuration version="1.0">
       <WebService Name="BusinessObjects Enterprise XI 3.1 sp3" Icon="image/java.gif">
          XI 3.1 Web Services
          <Connection URL="http://169.111.33.61:8080/dswsbobje/services/session" Proxy="0" Timeout="120000" />
       </WebService>
       <Proxy Name="Outside" URL="http://http-cache.mycompany.com:3667" />
    </configuration>
    what i need to do in order to deploy
    i am using bo xi 3.1 sp3

    Hi,
    You deploy all the web applications provided by BOE with the use of Wdeploy tool installed with BOE installation, for details please reffer the following document
    [BusinessObjects Enterprise XI 3.1 Web Application Deployment Guide for UNIX*|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000715844%26_SCENARIO=01100035870000000202]
    Regards,
    Ramu.
    Edited by: Gowda Timma Ramu on Nov 9, 2010 8:39 PM

Maybe you are looking for

  • No batches/stocks were found - determination is performed online MFBF

    Hi Gurus, Can anybody please help me why we are getting this message in MFBF. When the user is trying to turn in production for material A in MFBF, and when they hit post with correction in the home screen of MFBF, in the next screen the system gives

  • Second request; How canyou remove a power line with PS CC?

    Hi, I konw there is a terrific new feature in PS CC (I have used it before!) but I just can't find any explanation on how to to do it! The question is how do you remove, from an imge, a power line, or a telephone line by symply clicking on both ends

  • Video lagging badly on Enhanced Port Replicator

    I have an X60 and initially it worked well but now the video is at a crawl, as i type this there is a 1-5 second lag on the words showing up and the mouse is horrible.  I have to look at my laptop for real time accuracy and just use the monitor for b

  • Activity long text

    Dear All, In notification updating I need to fill Activity long text through BAPI function module in that BAPI I have parameters like 1. Object type,  2. Object Key, 3. Format column and 4. Long text. If enter all fields also it will not get updated.

  • Runtime Information about Drilldown

    Hello Experts, i had the following question. Ist there an possibility to get information about the drilldown of an Web Query at runtime? In my Query there is a calculated Keyfigure. the normal drilldown is Year. The Keyfigure counts the Days in the Y