Fonction SAP BAPI_ACC_PURCHASE_REQUI_CHECK - Accounting: Check Purchase Requisition

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTHEADER BAPIACHE07 u 4 X Document Header
PRE_POST_CALL BOOLEAN C 1 X Used by SRM
SRM_INTERNAL BOOLEAN C 1 X Used by SRM

Paramètre Reférence Long. Facultatif Description
PURCHASEAMOUNT BAPIACCRPO 116 Purchase Order Currency Fields
PURCHASEREQUI BAPIACPR00 531 Purchase Requisition Line Items
RETURN BAPIRET2 548 Return Parameter


Functionality
The Check purchase requisition method checks whether the datafrom a purchase requisition that isrelevant for Accounting can be posted. Running this method does notgenerate a document or number assignment in Accounting.
If a purchase requisition is created for material in Logistics, theexpected costs are transferred to Accounting aspurchase requisition commitments. Depending onthe Customizing settings made for commitments, the followingcommitments recipients are possible:
  • Controlling object (such as cost center, internal order, and project)

  • Cash management and forecast

  • Cash budget management

  • Funds Management

  • Cash management project
  • Notes
    In most cases, first use the Check purchase requisition method,and then run the method Postpurchase requisition.
    INCLUDE BAPI_RET

    Further information
    For more details, refer to the following documentation in the R/3Library:

    • Cross-Application Components -> Business Framework
    • Architecture -> Business Application Programming:
      BAPI User Guide
      BAPI Programming
      • Cross-Application Components -> General Application
      • Functions -> Interfaces to Accounting:
        BAPIs for Transferring Data to Accounting
        trados = fi

        Description
        This parameter is used when a purchase order is replicated in ERP. Theparameter provides the availability control and commitments managementwith data on the commitment commutation of the logistical precedingdocument of the purchase order, for which no purchase requisition wasposted in the ERP commitment.
        The parameter can only be used internally by SAP. It is not maintainedfor use in customer programs or modifications (see SAP Note 83020).

        Value range
        The parameter can have the value 'X' or remain empty.

        Default
        The parameter is not set.
        trados = fi

        Description
        This parameter is optional and determines the following:
        Whether ERP-internal application categories (parameter obj_type), suchas PREQ for an ERP purchase requisition, can also be used in theinterface.
        If the ERP commitment commutation logic can be used for CO commitmentsmanagement and cash budget management.
        The parameter can only be used internally by SAP. It is not maintainedfor use in customer programs or modifications (see SAP Note 83020).

        Value range
        The parameter can be initial or have the value 'X'.

        Default
        The parameter is not set.
        INCLUDE ACC_BAPI_PURCHASEAMOUNT OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_PURCHASEREQUI OBJECT DOKU ID TX
        INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX

1557793Classic Scenario: unexpected budget error for SC with PR