Ansicht
Dokumentation

BAPI_REQUIREMENT_GET_LIST - List Requirement Coverage Requests/Requisitions

BAPI_REQUIREMENT_GET_LIST - List Requirement Coverage Requests/Requisitions

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

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

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_ITEMS
ITEMS_FOR_RELEASE
OPEN_ITEMS
PREQ_DATE
PREQ_NAME
REL_CODE
REL_GROUP
REQUIREMENT_ITEMS

Exceptions

PREQ_NAME_MISSING
REL_AUTH_CHECK_FAILED
REL_CODE_MISSING
STATUS_MISSING

Function Group

MEWR

PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4818 Date: 20240523 Time: 161402     sap01-206 ( 49 ms )