Fonction SAP BAPI_ACC_EMPLOYEE_PAY_POST - Accounting: Post 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 Type Long. Description
OBJ_KEY BAPIACHE06-OBJ_KEY C 20 Reference Key
OBJ_SYS BAPIACHE06-OBJ_SYS C 10 Reference System
OBJ_TYPE BAPIACHE06-OBJ_TYPE C 5 Reference Procedure

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 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
You can use the Post method to post the results from payrollaccounting and trip costs accounting in Human Resources to Accounting.
The posting contains the accounts payable postings resulting frompayroll accounting and trip costs accounting. The general ledger isalso updated.
An accounts payable posting can contain the following:

  • Employee loans

  • Advances

  • Travel expenses payments to vendors who are individuals

  • Travel expenses
  • Notes
    Messages are displayed in the Return parameter. You can find the returncodes and their meaning in the documentation for the Return parameter.

    Further information
    More information is available in the documentation about interfaces toAccounting in the R/3 Library (under Cross Application Functions ->Interfaces to Accounting).
    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

1024468Error log in accounting IDOCS
794974Problems with cross-company code transactions
561175BAPI posting in accounting with FI as reference