Examples

GET function example for fetching list of currencies from the SAP R/3 System

The following is an example of a GET map rule used to retrieve list of all currencies from the SAP R/3 system and performing authentication explicitly based on the specified credentials.

GET ( "SAPBAPI" , "-C client_number -USER usr_id -PWD usr_pwd -H host_name -SID sys_id -FM BAPI_CURRENCY_GETLIST -tv " )

PUT function example for executing custom BAPI in the targeted SAP R/3 System

The following is an example of a PUT map rule used to execute a custom BAPI function module in targeted SAP R/3 system and performing authentication explicitly based on the specified credentials. This takes a JSON as input data which constitutes of the import parameters (The JSON schema can be generated in LINK while creating action).

PUT ( "SAPBAPI" , "-C client_number -USER usr_id -PWD usr_pwd -H host_name -SID sys_id -FM ZBAPI_TEST_CHAR -tv " , PACKAGE(Input))