Skip to main content
Skip table of contents

SAP interface


SAP interface

Attention: a separate license (EPOSSAP) is required for using this interface.

Any data can be read and written in SAP with the functions of this interface. The interface works with the RFC interface.

The interface always works with the information in the parameter group SAPDef of the type Tdv:SAP_BAPI.This parameter group carries information for the allocation of ePOS parameter groups and SAP tables. Generally with entered parameter groups in the interface, the name of the SAP field used while reading or writing the data record must be in the column Designation of the parameter group definition. The ePOS parameter group does not have to contain all fields of the table. Fields which are not of interest when writing or reading can be left out. However, you must ensure that all mandatory fields are contained and filled with valid values with writing functions. In the following chapter you can read on how to transfer a table description from SAP to ePOS.

When writing data to SAP you must ensure that the check criteria for the function are not breached. Before a data record is inserted using this interface, you should interactively insert a data record of the same type by testing the function component interactively. As a rule, every SAP function component has a structure or table in which error messages, warnings and also success notifications are returned. To verify the successful creation of a data record, the content of this table must be evaluated. In this table there are columns which identify the type of message. E stands for error. You access the display for error messages in SAP with the command se91.

Generally, the log-in function must be called before using the interface. If this does not occur, the interface attempts to process the log-in itself. The data entered in the SAP tab in the ePOS settings is used for this.

global_sap.png

Basic functions of the interface:

f$SAP_Login

Log in to the interface in SAP

f$SAP_Logout

Log out from the SAP interface

f$SAP_LoginEx

Log in to the SAP system using a command line

f$SAP_Errortext

Read the error text of the last function

f$SAP_Function

Execute a BAPI or a function component


See also:

Transfer a table description to ePOS

Parameter group SAP_BAPI

Shortcuts in SAP

f$SAP_Login (f$SAP_Anmelden)

f$SAP_LoginEx

f$SAP_Logout (f$SAP_Abmelden)

f$SAP_Errortext (f$SAP_Fehlertext)

f$SAP_Function (f$SAP_Funktion)

p$tdv:sap:add_import

p$tdv:sap:add_import_tabelle

p$tdv:sap:add_export

p$tdv:sap:add_export_tabelle

p$tdv:sap:add_change

p$tdv:sap:add_tabelle

p$pool:sap:customer_change

p$pool:sap:customer_create

p$pool:sap:customer_getdetail

p$pool:sap:customer_getlist

p$pool:sap:routing_create

p$pool:sap:salesorder_getlist

p$pool:sap:salesorder_create

p$pool:sap:material_getdetail

p$pool:sap:material_change

p$pool:sap:material_getlist

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.