Fonction SAP BAPI_ACC_TRAVEL_POST - Accounting: Post Trip

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTHEADER BAPIACHE07 u 4 Document Header

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Parameter
TRAVEL BAPIACTR00 325 Business Trip Commitment Line Items
TRAVELAMOUNT BAPIACCRPO 116 Business Trip Commitment Currency Fields

Functionality
The Check trip method posts the data from anemployee trip to Accounting. A trip cantrigger a commitment posting in Accounting.Depending on your Customizing settings, the commitment is updated inthe Funds Management module.

Example

Notes
Before running the Post trip method, youshould first run the Check trip method.This enables you to check the trip data in Accounting withoutgenerating a document or number assignment.
INCLUDE BAPI_RET

Further information
For more information, see the following documents in the R/3 Library:

  • Cross-Application Components -> Business Framework
  • Architecture -> Business Application Programming:
    BAPI User Guide
    BAPI Programming
    • Cross-Application Components -> General Application
    • Functions -> Interfaces to Accounting:
      BAPIs for Transferring Data to Accounting
      INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_TRAVEL OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_TRAVELAMOUNT OBJECT DOKU ID TX