Fonction SAP BAPI_ACC_TRAVEL_CHECK - Accounting: Check 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 checks the data from anemployee trip in Accounting. It checks whetherthe trip data can be posted in Accounting. Running this method does notgenerate a document or number assignment in Accounting.
A trip can trigger a commitment posting in Accounting. If you use theFunds Management module, for example, thefollowing checks are made (depending on your Customizing settings):

  • Existence check

  • Budget availability control

  • Status management

  • The Check trip method does not generate a trip, it is ratherused in the following situations:
    You are using a non-SAP travel management system and the R/3 moduleFunds Management. The commitment for a trip is to use the budget in theR/3-System. Before saving in the external travel management system,call up the Check trip method to make sure that the Posttrip method is possible.

    Example

    Notes
    In most cases, first use the Check trip method, then run thePost trip method.
    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