The WebSphere business integration system provides SAPODA to enable you to define business objects and the metadata required to support the processing of those business objects in the SAP application. SAPODA generates business object definitions from tables you specify graphically. This utility is most useful for creating individual business object definitions rather than hierarchical business object definitions. You must manually define the relationships between parent and child business objects.
SAPODA generates individual business object definitions for the Hierarchical Dynamic Retrieve Module. If you use this utility to create hierarchical business object definitions, you must manually specify the relationships between the generated parent and child business object definitions.
To use SAPODA to generate a business object definition for this module:
For information on using SAPODA, see Generating business object definitions using SAPODA. For information on launching Business Object Designer and using it to manually modify a business object definition, see the Business Object Development Guide.
SAPODA generates a business object definition for every table you specify. When it completes generating, you can open all tables in Business Object Designer for editing.
To create a hierarchical business object definition from the individual business object definitions generated by SAPODA, do the following:
Assume, for example, the top-level business object is SAP_Customer. This business object has a single key, Customer_KUNNR. SAPODA specifies the following application-specific information for this attribute:
TN=KNA1:CN=KUNNR
For example, most business objects that are a direct child of SAP_Customer contain the Customer_KUNNR attribute. In the application-specific information for Customer_KUNNR, specify the following:
TN=KNVI:CN=KUNNR:FK=..Customer_KUNNR
For information on specifying foreign keys, see Table 37.
For example, SAP_Customer_ADRC is a second-level business object with no key the same as its parent's. SAPODA generates this business object definition with the Address_number_ADDRNUMBER attribute, which is a non-key field in SAP_Customer.
In the application-specific information for this attribute, specify the foreign-key relationship as:
TN=ADRC:CN=ADDRNUMBER:FK=..Address_ADRNR