Fonction SAP BAPI_REQUISITION_GETRELINFO - Display Detailed Release (Approval) Information on Purchase Requisition

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ITEM BAPIRLGNRQ-PREQ_ITEM N 5 X Purchase Requisition Item
NUMBER BAPIRLGNRQ-PREQ_NO C 10 Purchase Requisition Number
REL_CODE BAPIRLGNRQ-REL_CODE C 2 X Release Code

Paramètre Reférence Long. Facultatif Description
GENERAL_RELEASE_INFO BAPIRLGNRQ 112 X General Release Information
RELEASE_ALREADY_POSTED BAPIRLCORQ 199 X Releases to Date
RELEASE_FINAL BAPIRLCORQ 199 X Final Release
RELEASE_PREREQUISITES BAPIRLCORQ 199 X Release Prerequisites
RETURN BAPIRETURN 452 X Return Messages

Functionality
This method enables you to display release information.

Notes
The authorization object M_EINK_FRG is checked.
Transfer
The purchase requisition number must be passed on. If you wish to seethe release information for one particular item only, pass on the itemin the parameter Item. If you additionally pass on the releasecode, the release prerequisites will also be determined.
Return
The following information is returned:

  • General release information (e.g. the release group and release
  • strategy)
    • The release prerequisites (only if the release code was passed on)

    • The release codes with which previous releases were effected

    • All release codes involved in the approval procedure

    • Return messages
      INCLUDE BAPI_RET

      Further information
      For further information, refer to the MM Purchasingdocumentation (section entitled Release Procedure).

      Description
      You will find information on the meaning of the purchase requisitionitem in the relevant data element documentation:
      Purchase requisition item

      Description
      INCLUDE BAPI_KEYFIELD

      Description
      You will find information on the meaning of the release code in therelevant data element documentation:
      Release code

      Description
      The table contains general release information (e.g.

      • the assigned release strategy

      • the release indicator

      • the release group

      • INCLUDE BAPI_DATAELEMENT

        Description
        The table contains all release codes with which approval has alreadybeen signified.

        Description
        The table contains all release codes with which the purchaserequisition must be released before it can be converted into an RFQ ora purchase order.

        Description
        This table only contains the release prerequisites if the importparameter RelCode is passed on. Release prerequisites are allrelease codes with which release must be effected before the releasecode that is passed on.

        Description
        INCLUDE BAPI_TABLE

        Value range
        Type,,ID,,Number,,Message
        E,,W5,,030,, Purchase requisition & & does not exist