Ansicht
Dokumentation
BAPI_REQUIREMENT_GET_LIST - List Requirement Coverage Requests/Requisitions
ABAP Short Reference PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This method allows you to generate the following lists:
- Case 1: All requirement coverage requests (purchase requisitions and reservations) created by a certain user.
- Case 2: All purchase requisitions that have to be released with a certain release code and group (collective release).
As of Release 4.0A, use the methods GetItems and GetItemsForRelease of the business object PurchaseRequisition.
Notes
- Case 1:
-
The following authorization objects are checked:
- M_BANF_BSA,,Document type in purchase requisition
- M_BANF_EKG,,Purchasing group in requisition
- M_BANF_EKO,,Purchasing org. in requisition
- M_BANF_WRK,,Plant in purchase requisition
- M_MRES_BWA,,Reservations: movement type
- M_MRES_WWA,,Reservations: plant
- The user name must be given in the parameter Requisitioner/requester.
- The selection date can be given via the parameter Date. If a date exists, only those requirement coverage requests that were entered on or after this date are selected.
- At least one of the options OpenItems or ClosedItems must be set. It is also possible for both to be set, in which case both open and closed requirement coverage requests are selected.
-
The result is delivered in the table ItemData.
- Case 2:
The authorization object M_EINK_FRG is checked.
Here the transfer parameters described under case 1 need not be filled. Instead, the release code must be given in the parameter ReleaseCode, and the release group in parameter ReleaseGroup.
The parameter ItemsForRelease determines whether only the requisitions that are still to be released or those that have already been released are listed. The latter is useful, for example, if a list is to be generated for the purpose of cancelling releases.
The result is delivered in the table ItemData.
Example
Notes
Further information
Parameters
CLOSED_ITEMSITEMS_FOR_RELEASE
OPEN_ITEMS
PREQ_DATE
PREQ_NAME
REL_CODE
REL_GROUP
REQUIREMENT_ITEMS
Exceptions
PREQ_NAME_MISSINGREL_AUTH_CHECK_FAILED
REL_CODE_MISSING
STATUS_MISSING
Function Group
MEWRPERFORM Short Reference Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 4818 Date: 20240523 Time: 161402 sap01-206 ( 49 ms )