Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Business Objects

Former Member
0 Likes
611

Hi,

Could anybody explain me where do we use Business objects.

Please explain me with some examples and scenarios.

Thanks,

Suresh

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
589

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

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
590

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

Read only

0 Likes
589

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

Read only

0 Likes
589

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

Read only

0 Likes
589

Thank u very much Rich.... thatz very clear.

Do u have any idea about how BOs are used in BW ?

Read only

0 Likes
589

I would imagine that it is pretty much the same way.

Regards,

RIch Heilman