How To submit an input of a table to the BAPI call

A quick example is to use the BAPI_CUSTOMER_GETLIST function. A table is taken as the input to specify an ID range filter.

Set the function to XML type by enabling the XML Property.

This creates a complex type serialization object.

Execute the Serialize Add Item To Array method for the Customers IDRange SmartObject. The XML to be used for the input for the IDRANGE will be the following:

<connect><IDRANGE><SIGN>I</SIGN><OPTION>BT</OPTION><LOW>0</LOW><HIGH>999999999</HIGH></IDRANGE><IDRANGE>

<SIGN>E</SIGN><OPTION>EQ</OPTION><LOW>0000000002</LOW><HIGH>0000000002</HIGH></IDRANGE></connect>

This filter specifies the following: Include all IDs between 0 and 9999999 but Exclude ID 0000000002.