Please enable JavaScript to view this site.

Process Designer

The files necessary for the JobSAP BAPI module are stored in the JobRouter directory ..\modules\jobsapbapi\bapi\<JobSAPBAPI-Bausteinname>.

Please note: The name of the directory is identical to the name of the JobSAP BAPI module.

Please note: The JobSAP BAPI module is not required to have the same name as the SAP BAPI function module.

The following screenshot displays the directory structure of the Z_ACC_DOCUMENT_POST module.

jobsapbapi_documentpost_struktur

 

The JobSAP BAPI module consists of the files bapi.php, bapi.xml and language files.

In case multi-lingual labels and names are needed, they can be set as constants. For each language that is to be supported, a PHP file containing the translations of the constants is created in the languages directory. Excerpt from the german.php:

<?php

define('CONST_Z_ACC_DOCUMENT_POST_NAME', 'Buchung FI-Rechnung (2)');

define('CONST_Z_ACC_DOCUMENT_POST_DESCRIPTION', 'Der BAPI Z_ACC_DOCUMENT_POST dient zur Buchung von FI-Rechnungen');

define('CONST_Z_ACC_DOCUMENT_POST_FIELD_OBJ_TYPE', 'Referenzvorgang');

define('CONST_Z_ACC_DOCUMENT_POST_FIELD_OBJ_SYS', 'Logisches System des Ursprungsbeleges');

define('CONST_Z_ACC_DOCUMENT_POST_FIELD_COMP_CODE', 'Buchungskreis');

define('CONST_Z_ACC_DOCUMENT_POST_FIELD_BUS_ACT', 'Betriebswirtschaftlicher Vorgang / RFBU = FI Document');

define('CONST_Z_ACC_DOCUMENT_POST_FIELD_CREDIT_NOTE', 'Gutschrift');

 

If no translation is found, the original text from the bapi.xml file will be displayed.