Example of the GET map function

A GET function uses the SAP R/3 ALE adapter to retrieve data.

In the following example, the adapter is used to retrieve the IDoc sent from the SAP R/3 system and performing the authentication explicitly based on the specified credentials.
GET ( "SAPALE" , "-C client_number -USER usr_id -PWD usr_pwd -H host_name -SID sys_id -PID 
sapAlePID -GWHOST gtwy_name -GWSERV gtwy_serv -IDOCTYP DEBMAS03 -tv " )