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 Object Builder: Instanciating Objects

Former Member
0 Likes
523

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

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
Read only

Former Member
0 Likes
479

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

Read only

uwe_schieferstein
Active Contributor
0 Likes
479

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

Read only

0 Likes
479

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