2015 Mar 16 11:58 AM
what is the exact of business object representation node and how to create it
2015 Mar 16 4:06 PM
Hi,
A BO representation node is a subnode that is a reference to another BO, so it is a cross-BO association.
Have a look at /BOBF/DEMO_SALES_ORDER. There, CUSTOMER_BO is a representation node. It is referenced using its alternative key in CUSTOMER_ID in the root structure. You can see how the binding is modelled under 'Node Elements' > Root > CUSTOMER_ROOT (Tab Association and Association binding)
The difference with a delegated object is that the DO does not exist beyond its host object (for example ROOT_LONG_TEXT in /BOBF/DEMO_SALES_ORDER.
Kind regards,
Bjorn
2015 Mar 16 4:06 PM
Hi,
A BO representation node is a subnode that is a reference to another BO, so it is a cross-BO association.
Have a look at /BOBF/DEMO_SALES_ORDER. There, CUSTOMER_BO is a representation node. It is referenced using its alternative key in CUSTOMER_ID in the root structure. You can see how the binding is modelled under 'Node Elements' > Root > CUSTOMER_ROOT (Tab Association and Association binding)
The difference with a delegated object is that the DO does not exist beyond its host object (for example ROOT_LONG_TEXT in /BOBF/DEMO_SALES_ORDER.
Kind regards,
Bjorn
2015 Mar 17 3:59 AM
what is the use of alternative key customer_id . what does it do?
2015 Mar 17 5:55 AM
Hi Narendra,
Please refer to the introduction of by Thea Hillenbrand and Business Object Builder - SAP Library.
It's the same as for non BOPF database tables, with the additional advantage of replacing the non-readable GUIDs from the BOPF framework with a readable identifier.
KR,
Bjorn