Provides access to specific DI-API-functions (global DI-API connection to SAP).
connect |
Building up connection to the DI-API. If there is already a connection, then no renewed connection is built up |
disconnect |
Connection to the DI-API is separated sbodiapi=disconnect (Note: For stability reasons no disconnect is sent to the object. It only is destroyed) |
get=<variable> |
A value from the oadm table is fetched - is also compatible to SAP 8.8 and SAP 9.0. You can call SAP 9.0-Fields in the SAP 8.8-Area. Return into variable "value" sbodiapi=get=maincurncy messagebox=Main Currency: maincurncy
or with placeholder messagebox=<sbodiapi:maincurncy> |
getaccount |
return the account
|
exchangerate=<currency> |
Check whether conversion is deposited. If currency is not indicated, then Main is checked to system currency Gives a <return> =-1 as well as an error message. sbodiapi=exchangerate if <return> = -1 then return failure end if |