Fonction SAP BAPI_RESERVATION_GETITEMS1 - BAPI to Read Reservation Items

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DELETE_IND BAPI2093_RES_ITEM_CHANGE-DELETE_IND C 1 SPACE X Item is deleted
GR_RCPT BAPI2093_RES_ITEM-GR_RCPT C 12 X Goods Recipient
MATERIAL BAPI2093_RES_ITEM-MATERIAL C 18 X Material Number
MATERIAL_EVG BAPIMGVMATNR u 82 X
MOVEMENT BAPI2093_RES_ITEM-MOVEMENT C 1 'X' X Goods Movement for Reservation Allowed
MOVE_PLANT BAPI2093_RES_HEAD-MOVE_PLANT C 4 X Receiving/Issuing Plant
PLANT BAPI2093_RES_ITEM-PLANT C 4 X Plant
REQ_DATE BAPI2093_RES_ITEM-REQ_DATE D 8 X Requirements Date for the Component
RESERVATION_NO BAPI2093_RES_KEY-RESERV_NO N 10 X Number of Reservation/Dependent Requirement
WITHDRAWN BAPI2093_RES_ITEM_CHANGE-WITHDRAWN C 1 SPACE X Final Issue for This Reservation

Paramètre Reférence Long. Facultatif Description
RESERVATION_ITEMS BAPI2093_RES_ITEMS_GET 266 BAPI Communication Structure: Return Reservation Items
RETURN BAPIRET2 548 X Return Parameters

Functionality
You can use this method to list the reservations.
You transfer the desired selection criteria (for example, requirementdate/time, plant, goods recipient) in the import parameters. For moreinformation, see the relevant parameter documentation.

Notes
The system checks the following authorization objects with the activity03 (Display):

  • M_RES_BWA Reservations: Movement type

  • M_MRES_WWA Reservations: Plant

  • If errors occur during processing, they are returned in the RETURNtable. This table also logs information messages.

    Further information
    INCLUDE BAPI_INVENTUR_WEITERINF

    Description
    If the indicator is set, deleted reservations are included in the list.

    Description
    For information about the meaning of the goods recipient, see thecorresponding data element documentation:
    Goods Recipient

    Description
    For information about the meaning of the material, see the correspondingdata element documentation:
    Material Number

    Description
    Parameter for the long material number.
    This parameter can be used to transfer long material numbers, whosemaximum length may not exceed 40 characters.
    To be able to use this parameter, you must activate the switch for thebusiness function LAMA (long material number) in the system.
    The business function LAMA is available as a component of the businessfunction set for DIMP.

    Value range
    None.

    Default
    None.

    Description
    If the indicator is set, the system displays the reservations for whichanother goods movement (for example, goods issue) is expected.

    Description
    For information about the meaning of the receiving plant, see thecorresponding data element documentation:
    Receiving Plant

    Description
    For information about the meaning of the plant, see the correspondingdata element documentation:
    Plant

    Description
    For information on the meaning of the requirements date, see thecorresponding data element documentation:
    Requirements date

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    If the indicator is set, the system also displays the reservations withquantities larger than or equal to the quantity withdrawn and/or forwhich the final issue indicator has been set.

    Description
    The table contains all reservation items that correspond with theselection criteria.
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_TABLE

    Value range
    Type,,ID,,No.,,Message
    E,,W5,,027,,For this selection, reservations do not exist
    E,,W5,,073,,Transfer parameter for open or completed reservations
    E,,M3,,102,,Plant & does not exist
    E,,M3,,238,,Material & does not exist
    E,,W5,,160,,Quantity conversion of &3 to &4 for material &1 fromreservation &2 failed
    E,,M7,,120,,You do not have authorization for this transaction inplant
    E,,M7,,121,,You do not have authorization for this transaction withmovement type &
    ,,