Fonction SAP BAPI_REQUISITION_GETITEMSREL - List Purchase Requisitions Awaiting Release

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ITEMS_FOR_RELEASE BAPIMMPARA-SELECTION C 1 'X' X Indicator: Purchase Requisitions Awaiting Release Only
REL_CODE BAPIMMPARA-REL_CODE C 2 Release Code
REL_GROUP BAPIMMPARA-REL_GROUP C 2 Release Group

Paramètre Reférence Long. Facultatif Description
REQUISITION_ITEMS BAPIEBANC 823 Purchase Requisition Items for Individual Release
RETURN BAPIRETURN 452 X Return Messages

Functionality
This method enables you to list all purchase requisitions that have tobe released with a certain release code and group (collective release).

Notes
The authorization object M_EINK_FRG is checked.
Transfer
The release code must be passed on in the parameter RelCode andthe release group in the parameter RelGroup.
The parameter ItemsForRelease determines whether only thoserequisitions awaiting release are listed, or only those that havealready been released. The latter is useful if you wish to have a listfor the purposes of cancelling releases that have already beeneffected.
Return
The result is returned in the table RequisitionItems.
Return messages
INCLUDE BAPI_RET.

Further information
Weitere Informationen zur Freigabe finden Sie in der DokumentationMM - Einkauf.

Description
If the indicator is set, the purchase requisitions that are to bereleased with the release code and group are listed.
If the indicator is not set, the requisitions that have already beenreleased are listed.

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

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

Description
The table contains all purchase requisition items that satisfy theselection criteria.
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_TABLE

Value range
Type,,ID,,Number,,Message
E,,W5,,024,,No purchase requisitions satisfying these
,,,,,,selection criteria exist
E,,W5,,100,,You have no authorization to release
E,,W5,,111,,Pass on the release code when invoking the method
E,,W5,,113,,Pass on the release group when invoking the method

488619Vendor's material numbers with more than 22 characters