The files necessary for the JobLink for SAP 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 JobLink for SAP module.
Please note: The JobLink for SAP 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.

The JobLink for SAP 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.