The second tXMLMap component in this scenario maps and transforms the output data for the BAPI function.
Procedure
- Double-click the output tXMLMap component to open the Schema editor.
- Right-click newColumn to see the import options in the main :row4 window.
- Select Import from Repository.
- Navigate to the Metadata > File xml.
- Select the Output_Schema of BAPI_CUSTOMER_GETLIST. This automatically populates the newColumn entry.
- Navigate to BAPI_CUSTOMER_GETLIST > TABLES > ADDRESSDATA > item.
- Right-click item to select As loop element.
-
Map the elements under item to the out2 table. Refer to
the following image:
Example
- Click the Set Loop Function icon on the top right of the out2 window to configure the source loops.
-
Add a sequence in the Configure source loops window:
Example