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 Instance tracking.

Former Member
0 Likes
625

Hi,

I have an instance of a Business Object - with the value of Key Field '1' and one of the Virtual Attribute value as '100'. This has been created using the program1 by user 'user1'.

Now i want to retrieve the same instance by passing the Key Field as '1' by running some other program 'Program2' under user 'User2'.

Is it possible to get the instance of a business object like this. If yes, please let me know the detailed procedure.

Thanks in advance for your kind help and points are definitely awarded for each answer.

Regards,

Goutham.

P.S.: Please let me know if this is not the right forum for this.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
600

Hi,

You can instantiate a business object with the key via SWO1, from here you can also debug teh instantiating, or debugging methods/virtual attributes.

Kind regards, Rob Dielemans

4 REPLIES 4
Read only

jaideeps
Product and Topic Expert
Product and Topic Expert
0 Likes
600

hi,

is this related to abap...

Read only

Former Member
0 Likes
601

Hi,

You can instantiate a business object with the key via SWO1, from here you can also debug teh instantiating, or debugging methods/virtual attributes.

Kind regards, Rob Dielemans

Read only

Former Member
0 Likes
600

Thanks Rob for the reply.

But my doubt is: if i have instantiated a business object with a Key Value in one program, Can i access the same instance by using the same key value.

If this is possible, Please let me know how this can be achieved.

Regards,

Goutham.

Read only

0 Likes
600

If you include <CNTN01> in your abap, you can create an object(instantiate BO) by using macro swc_create_object, using macros'swc_get_element for single attributes and swc_get_table for multiline you can retrieve all of the info.

Just check the program of a business object on how to use it, or view the macros in <CNTN01>, also search the workflow forum this has been answered before.

Kind regards, Rob Dielemans

Message was edited by:

Rob Dielemans