Fonction SAP BAPI_ACC_EMPLOYEE_REC_CHECK - Accounting: Check Cust. Acct Assignmt for HR Posting (OAG:LOAD RECEIVABLE)

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

Paramètre Reférence Long. Facultatif Description
ACCOUNTGL BAPIACGL05 617 G/L Account Line Items
ACCOUNTRECEIVABLE BAPIACAR05 402 Customer 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
YOu can use the Check method to ascertain whether the HR payrollaccounting results can be posted in Accounting.
The posting contains the accounts receivable postings resulting frompayroll accounting.
An accounts payable posting can contain:

  • Employee loans

  • Advances
  • Notes

    • If the currency fields have been entered in the CurrencyAmount
    • parameter, a complete document check is carried out. If not, only theaccount assignment objects are verified.
      • Messages are displayed in the Return parameter. You can find the return
      • codes 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_ACCOUNTRECEIVABLE 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
1090866Postings with BAPI_ACC_EMPLOYEE_REC_POST and AWTYP=BKPFF