Fonction SAP BAPI_REQUISITION_RESET_REL_GEN - Cancel Overall Release of Purchase Requisitions

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NO_COMMIT_WORK BAPIFLAG-BAPIFLAG C 1 SPACE X Single-Character Indicator
NUMBER BAPI2009OB-PREQ_NO C 10 Purchase Requisition
REL_CODE BAPIMMPARA-REL_CODE C 2 Release Code

Paramètre Reférence Type Long. Description
REL_INDICATOR_NEW BAPIMMPARA-REL_IND C 1 Previous Release Indicator
REL_STATUS_NEW BAPIMMPARA-REL_STATUS C 8 Previous Release Code

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRETURN 452 X Return Messages

Functionality
This method allows you to cancel the overall release of purchaserequisitions. The purchase requisition number and the release code mustbe passed on. The release status and the release indicator valid priorto the release are returned.
INCLUDE BAPI_RET
If you wish to cancel the release of a purchase requisition item byitem, use the method ResetRelease of the business objectPurchaseReqItem.

Notes
The authorization object M_EINK_FRG is checked.

Further information
For further informationen, refer to the MM Purchasingdocumentation.

Description
The original release indicator is returned in this parameter (i.e theindicator that was set prior to release).
You will find information on the meaning of the release code in therelevant data element documentation:
Release indicator

Description
The original release status is returned in this parameter (i.e thestatus that was valid prior to release).
You will find information on the meaning of the release status in therelevant data element documentation:
Release status

Description
BAPI_KEYFIELD

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

Description
INCLUDE BAPI_TABLE

Value range
Type,,ID,,Number,,Message
E,,W5,,100,,You have no authorization to release
E,,W5,,101,,Purchase requisition & & does not exist
E,,W5,,102,,Purchase requisition & & blocked
E,,ME,,104,,Release outside field of responsibility
E,,ME,,105,,Release not yet effected
E,,ME,,108,,No new release indicator can be determined
E,,ME,,109,,RFQ(s) already issued for this item (function
,,,,,,not possible)
E,,ME,,110,,Order(s) already placed for this item (function
,,,,,,not possible)

589411AFS: BAPIs in purchasing