Example of the PUT map function

A PUT function sends data to the SAP R/3 ALE adapter.

In the following example, the adapter is used to send the IDoc to the targeted SAP R/3 system and performing the authentication explicitly based on the specified credentials. This takes an input as IDoc in XML format. The XSD can be imported to validate the IDoc content.
PUT ( "SAPBAPI" , "-C client_number -USER usr_id -PWD usr_pwd -H host_name -SID sys_id -
IDOCTYP DEBMAS03 -tv " , PACKAGE(Input))