Application Development 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: 

Business Object Builder: Instanciating Objects

Former Member
0 Kudos

Hi everybody,

is it possible to instanciate a object from BOB in ABAP programm?

The object should be found in the Business Object Builder.

regards Mario

3 REPLIES 3

Former Member
0 Kudos

Hi

I believe you can't do it, but you can use a function module (BAPI) to link to a method of the object.

Max

uwe_schieferstein
Active Contributor
0 Kudos

Hello Mario

The business "objects" in the BOR (business object builder) have nothing to do with OO objects.

Here are a few example of classes (transaction SE24) related to business objects:

- CL_REEXC_COMPANY_CODE (company code)

- CL_WB2_DOC_FACTORY (documents like sales orders, etc.)

- IF_WB2_DOC (interface for documents)

Regards

Uwe

0 Kudos

to instatiate these objects (SWO1) you can use FM SWO_CREATE .

check out the include program <CNTN01> and just do a where used list of SWO_CREATE on how this can be used.

Regards

Raja