Understanding Lookup keyfields of the business object
Steps to lookup keyfields of the business object.
Procedure
- Go to Connector > Lookup.
- Go to the Business Object tab.
- Provide values to the fields.
- System ID - Select the system ID from the list.
- Business Object Name - Enter a specific business object. A list of business objects that starts with the name is provided. If the field is left blank (or an asterisk is entered), all existing Business Objects are displayed. Example Company.
- Click Apply.
- In the list of the business objects, select the business object to view the details.
- Go to the Keyfield tab.
- Declaration object name
- Object name that is selected and the unique ID to identify the object. Example, CompanyCode (BUS0002).
- Internal name
- Internal parameter name of the field.
- ABAP dictionary type
- Usually, a field of a structure inside the SAP Data dictionary. Click the link to view the data
type description used for this parameter. Note: Key fields are used with instance-dependent (nonstatic) methods and with factory methods. In calls to these methods, the key fields of the corresponding business object must be specified as attributes of the business document root element. Example, by using the key field CompanyCodeId in a call to the CompanyCode.GetDetail.
<xml version="1.0" encoding="iso-8859-1"?> <biztalk_1 xmlns="urn:biztalk-org:biztalk:biztalk_1"> <header> …… </header> <body> <?doc:CompanyCode.GetDetail CompanyCodeId="0001" xmlns:doc="urn:sap-com:document:sap:business" xmlns=""> </doc:CompanyCode.GetDetail> </body> </biztalk_1>