‎2007 Jun 05 6:40 PM
Hi,
Could anybody explain me where do we use Business objects.
Please explain me with some examples and scenarios.
Thanks,
Suresh
‎2007 Jun 05 6:51 PM
Business objects in R/3 are nothing more than documentation really. For example, in SWO1, the business object for Sales Orders describes attributes of and methods of the sales orders. The methods of the object are usually tied to BAPIs or function modules. These are the programming objects that you can use in your program.
Regards,
Rich Heilman
‎2007 Jun 05 6:51 PM
Business objects in R/3 are nothing more than documentation really. For example, in SWO1, the business object for Sales Orders describes attributes of and methods of the sales orders. The methods of the object are usually tied to BAPIs or function modules. These are the programming objects that you can use in your program.
Regards,
Rich Heilman
‎2007 Jun 05 6:55 PM
How do I find the BAPI or Function module tied to any specific method of a BO and How do I call the BAPI in my program
‎2007 Jun 05 7:01 PM
For example, go to transaction SWO1, enter BUS2032 and click display. This is the BO for sales order. You can now see a tree structure, open the methods node, lets say that we want to create a sales order, double click on the method, SalesOrder.CreateFromData2. This is the newest version of this method, you see in the dialog, there is a tab for "ABAP', click this. You can see the name of the BAPI here. In order to call this BAPI in your programs, you can simply use the Patturn button in the editor for call funciton modules, enter the BAPI name and click green check mark. Of course, you will have to pass certain things to the BAPI.
Regards,
Rich Heilman
‎2007 Jun 05 7:06 PM
Thank u very much Rich.... thatz very clear.
Do u have any idea about how BOs are used in BW ?
‎2007 Jun 05 7:08 PM