Fonction SAP BAPI_RESERVATION_GETITEMS - List Reservations

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLOSED_ITEMS BAPIMMPARA-SELECTION C 1 SPACE X Including Closed Reservation Items
DELETED_ITEMS BAPIMMPARA-SELECTION C 1 SPACE X Including Deleted Reservation Items
GR_RCPT BAPIRESB-GR_RCPT C 12 X Goods Recipient/Ship-To Party
MATERIAL BAPIRESB-MATERIAL C 18 X Material
MOVE_PLANT BAPIRESB-MOVE_PLANT C 4 X Receiving Plant
OPEN_ITEMS BAPIMMPARA-SELECTION C 1 'X' X Open Reservation Items
PLANT BAPIRESB-PLANT C 4 X Plant
REQ_DATE BAPIRESB-REQ_DATE D 8 X From Requirement Date
RES_NO BAPIRKPF-RES_NO N 10 X Reservation Number

Paramètre Reférence Long. Facultatif Description
RESERVATION_ITEMS BAPIRESBG 257 Table of Reservation Items
RETURN BAPIRETURN 452 X Return Messages

Functionality
This method allows you to list reservations. You pass on the desiredselection criteria (e.g. requirement date, plant, goods recipient) inthe import parameters. For further information, refer to the relevantparameter documentation.

Notes
The following authorization objects are checked with the activity 03(Display):

  • M_RES_BWA,,Reservations: movement type

  • M_MRES_WWA,,Reservations: plant

  • If errors occur during processing and the reservation cannot be saved,the relevant error messages are returned in the table Return.Information messages are also logged in this table.

    Further information
    INCLUDE BAPI_INVENTUR_WEITERINF LANGUAGE EN

    Description
    If this indicator is set, those reservations whose quantity is greaterthan or equal to the quantity withdrawn and/or for which the "Finalissue" indicator has been set are also displayed.

    Description
    If the indicator is set, deleted reservations will also be listed.

    Description
    You will find information on the meaning of the goods recipient in therelevant data element documentation:
    Goods recipient

    Description
    You will find information on the meaning of the material in therelevant data element documentation:
    Material number

    Description
    You will find information on the meaning of the receiving plant in therelevant data element documentation:
    Receiving plant

    Description
    If the indicator is set, reservations for which a goods movement (e.g.goods issue) is still expected are displayed.

    Description
    You will find information on the meaning of the plant in the relevantdata element documentation:
    Plant

    Description
    You will find information on the meaning of the requirement date ("daterequired") in the relevant data element documentation:
    Requirement date

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    The table contains all reservation items that satisfy the selectioncriteria.
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_TABLE

    Value range
    Type,,ID,,Number,,Message
    E,,W5,,027,,No reservations satisfying these selection
    ,,,,,,criteria exist
    E,,W5,,073,,Please pass on parameter for open or
    ,,,,,,closed reservations