Fonction SAP BAPI_ACC_EMPLOYEE_EXP_POST - Accounting: Post G/L account assignment for HR posting (OAG:POST JOURNAL)

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

Paramètre Reférence Type Long. Description
OBJ_KEY BAPIACHE04-OBJ_KEY C 20 Reference Key
OBJ_SYS BAPIACHE04-OBJ_SYS C 10 Reference System
OBJ_TYPE BAPIACHE04-OBJ_TYPE C 5 Reference Procedure

Paramètre Reférence Long. Facultatif Description
ACCOUNTGL BAPIACGL04 617 G/L Account 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
Using the Post method, results from payroll and trip costsaccounting in HR are posted in accounting.
The posting conains G/L account postings that come from payroll andtrip costs accounting, for which Accounts Receivable or AccountsPayable are not used.
A G/L account posting may contain:

  • Expenses for wages/salaries

  • Expenses for employer's contribution to social insurance

  • Payables to employees

  • Receivables from employees

  • Trip re-bookings
  • Notes
    Messages are displayed in the Return parameter, which is also where youcan find return codes and their meaning.

    Further information
    More information is available in the interface documentation in the R/3Library (in 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_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