SAP Function BAPI_ACCSERV_CHECKACCASSIGNMT - BAPI: Object BUS6001 AccountingServices, Method CheckAccountAssignment

Parameter Reference Type Length Default Optional Text
CHECK_CODINGBLOCK BAPICOBL u 650 Coding block to be validated
CHECK_CUSTOMERFIELDS BAPICOBL_CUST u 1 X Customer fields to validate in coding block

Parameter Reference Type Length Text
ACCOUNT_ASSIGNMENT_TYPES BAPICOBL_AAT u 11
CHANGED_CODINGBLOCK BAPICOBL u 650 Poss. derived coding block

Parameter Reference Length Optional Text
RETURN BAPIRETURN1 470 List of errors which occurred

Functionality
Method for internal SAP use: validation of characteristics from thecoding block in posting transactions in HR and Logistics.
For customer-specific programs, use the following methods for businesstransactions instead of this module:

  • BAPI_ACC_BILLING_CHECK Accounting:
  • Check billing document
    • BAPI_ACC_GOODS_MOVEMENT_CHECK
    • Accounting: Check goods movement
      • BAPI_ACC_INVOICE_RECEIPT_CHECK
      • Accounting: Check invoice receipt
        • BAPI_ACC_PURCHASE_ORDER_CHECK
        • Accounting: Check purchase order
          • BAPI_ACC_PURCHASE_REQUI_CHECK
          • Accounting: Check purchase requisition
            • BAPI_ACC_EMPLOYEE_EXP_CHECK Check
            • HR posting G/L account assignment
              • BAPI_ACC_EMPLOYEE_PAY_CHECK Check
              • HR posting vendor acct assignment
                • BAPI_ACC_EMPLOYEE_REC_CHECK Check
                • HR posting customer acct assignment
                  • You can find more check BAPIs in function group ACC4.

                  • Additional account assignments from the coding block are validated inthis function module. Normally, this validation takes place at the timeof a PAI event after the entry of a line item in a posting transaction.The validation checks whther the combination of additional accountassignments is permitted and whether all the specified additionalaccount assignments exist and can be posted to.
                    If a receiver system is maintained in ALE Customizing for this method(CheckAccountAssignment for object BUS6001 AccountingServices), you canuse this function module to validate in the receiver systemsynchronously, using RFC.
                    Any errors, warnings or information that occurs during the validationare collected and displayed in the RETURN table. Becauseadditional account assignments may be derived when validation takesplace, the enlarged coding block will also be displayed.
                    The CO account assignment types, that result fromthe additional account assignments entered, are displayed in theparameter AccountAssignmentTypes.

1623768E RE164 occurs unexpected temporary
1447497Error message KI 260 is issued although this is incorrect
1437606Unexpected ERP error of message type 'KI' in PO
1345867Unexpected ERP return after asset check
1410321Shopping cart w/ asset acct assignment:Checks are too strict
492073Account assignment to asset when creating a shopping basket