Fonction SAP BAPI_ACC_EMPLOYEE_PAY_CHECK - Accounting: Check Vendor Acct Assignment for HR Posting (OAG:LOAD PAYABLE)

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

Paramètre Reférence Long. Facultatif Description
ACCOUNTGL BAPIACGL06 617 G/L Account Line Items
ACCOUNTPAYABLE BAPIACAP06 381 Vendor Line Items
ACCOUNTTAX BAPIACTX01 74 X Tax Line Items
CURRENCYAMOUNT BAPIACCR04 54 X Line Item Currency Fields
EXTENSION1 BAPIEXTC 1000 X Table for Customer Enhancement
RETURN BAPIRET2 548 Return Parameter
TRAVEL BAPIACTR00 325 X Business Trip Commitment Line Items
TRAVELAMOUNT BAPIACCRPO 116 X Business Trip Commitment Currency Fields

Functionality
The Check method is used to ascertain whether results frompayroll and trip costs accounting from Human Resources can be posted inaccounting.
The posting contains accounts payable postings that originate inpayroll and trip costs accounting.
An accounts payable posting contains, among other things:

  • Employee loans

  • Advances

  • Payments of trip costs to employees defined as vendors

  • Trip expenses
  • Notes

    • If the CurrencyAmount parameter contains currency fields, a complete
    • document check is carried out. Otherwise, only the account assignmentobjects are validated.
      • Messages are displayed in the Return parameter. You can find return
      • codes and their meaning in the documentation for this parameter.

        Further information
        More information is available in the documentation on accountinginterfaces in the R/3 library (under Cross Application Functions ->Interfaces to External Systems).
        INCLUDE ACC_BAPI_DOCUMENTHEADER OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_ACCOUNTGL OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_ACCOUNTPAYABLE OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_ACCOUNTTAX OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_CURRENCYAMOUNT OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_EXTENSION OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_TRAVEL OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_TRAVELAMOUNT OBJECT DOKU ID TX

1059134Accounting BAPIs and project account assignment