Calling a BAPI from a map
After the type tree is generated, create a map that calls the BAPI.
To call a BAPI from a map:
The card object is the xBAPI group object from the BAPI type tree.
The RUN() function is used to pass the exporting parameters as the data for an input card of another map.
See Functions and Expressions in the online documentation
for more information about using the GET()
and RUN()
functions.
RUN()
function. -TI should
only be used for debugging purposes. The
BAPI example, bapi_example.mms, demonstrates
the method to implement a BAPI scenario with a SAP R/3 environment.
The BAPI adapter call is made from a map rule on the output card using
the GET()
function. The data returned by the BAPI
call can then be used to map to any desired output. This is achieved
by using the RUN()
function to pass the data to the
second map.