Fonction SAP BAPI_ACC_EMPLOYEE_EXP_CHECK - Accounting: Check G/L acct 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 Long. Facultatif Description
ACCOUNTGL BAPIACGL04 617 G/L Account 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 ascertains whether results from HR payroll andtrip costs accounting can be posted in accounting.
The posting contains G/L account postings resulting from payroll andtrip costs accounting. In this case, accounting will not use AccountsReceivable or Accounts Payable.
A G/L account posting includes some or all of the following:

  • Expenses for salaries/wages

  • Expense of employer's contribution to social insurance

  • Payables to employees

  • Payables to tax authorities

  • Receivables from employees

  • Trip rebookings
  • Notes

    • If currency fields have been entered in the CurrencyAmount parameter, a
    • complete document check is performed. Otherwise, only the accountassignment objects are validated.
      • Messages are displayed in the Return parameter. You will find return
      • codes and their meaning in the Return parameter documentation.

        Further information
        More information is available in the documentation on 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_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