Fonction SAP BAPI_PAYROLLTRAVELEXPNSESPOST - BAPI Transfer of Travel Expenses Results to Payroll

Paramètre Reférence Long. Facultatif Description
BAPI_ACC_ASS_OBJ_WITH_KEY BAPI_PTK53 399 BAPI format of TRV-TE cluster table KONTI
BAPI_CHANGE_WITH_KEY BAPI_PTK52 95 BAPI format of TRV-TE cluster table AEND
BAPI_ROT_WITH_KEY BAPI_PTK54 102 BAPI format of TRV-TE cluster table ROT
BAPI_STATU_WITH_KEY BAPI_PTK51 29 BAPI format of TRV-TE cluster Fl. STATU
BAPI_TE_VERSION_WITH_KEY BAPI_PTK50 28 BAPI format of TRV-TE cluster Fl. TE-VERSION
BAPI_T_HEAD_ALL BAPI_PTP02 283 BAPI format of TRV-TT PTRV_HEAD
BAPI_T_PERIO_ALL BAPI_PTP42 149 BAPI format of TRV-TT PTRV_PERIO
BAPI_V0SPLIT_WITH_KEY BAPI_PTK55 41 BAPI format of TRV-TE cluster table VOSPLIT
RETURN_TABLE BAPIRET2 548 Return table with error messages

Functionality
The methods and/or function module allow you to transfer the travelexpenses results from one R/3 system to the HR system in a differentR/3 system.
To do this you need to collect the relevant structures and internaltables from the transparent tables and the TE-dataclusters for thetravel expenses system and convert them into an appropriate format forthe transfer. This information will be converted back into the formatof the transparent tables and the TE-dataclusters by the functionmodule in the HR system and will be stored locally. The transparenttables and TE-dataclusters in the HR system are, therefore, copies ofthe corresponding tables and clusters in the Travel Expense system.
In addition to this correction and or retroactive accounting indicatorsare set in the infotype 0003 for the personnel numbers affected. Thesesettings are made according to the content of the travel expensesresults transferred and the status of the HR control record.
Implementing this function module allows you to run separate travelexpense and HR systems in the same way as for one single integratedsystem.

Description
The table contains the data from the internal table KONTI, in the TECluster for Travel Management (all account assignment objects fortravel expenses), in BAPI compatible format (english field names).

Description
The table contains the data from the internal table AEND, in the TECluster for Travel Management (history of changes made to a trip), inBAPI compatible format (english field names).

Description
The table contains the data from the internal table ROT, in the TECluster for Travel Management (accounting results for trips grouped bywage type), in BAPI compatible format (english field names).

Description
The table contains the data from the structure STATU, in the TE Clusterfor Travel Management (information about settlement, transfer printingfor trip), in BAPI compatible format (english field names).

Description
The table contains the data from the structure TE_VERSION, in the TECluster for Travel Management (TE Cluster Version), in BAPI compatibleformat (english field names).

Description
The table contains the data from the transparent table PTRV_HEAD (allinformation for a trip), in BAPI compatible format (english fieldnames).

Description
The table contains the data from the transparent table PTRV_PERIO(information about individual periods for a trip, in BAPI compatibleformat (english field names).

Description
The table contains data from the internal table V0SPLIT in the TECluser for Travel Management (settlement/accounting results grouped aswage types), in BAPI compatible format (english field names).