Fonction SAP BAPI_RESERVATION_GETDETAIL1 - Display Details of Reservation

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
RESERVATION BAPI2093_RES_KEY-RESERV_NO N 10 Reservation Number

Paramètre Reférence Type Long. Description
RESERVATION_HEADER BAPI2093_RES_HEAD_DETAIL u 386 Reservation Header Data

Paramètre Reférence Long. Facultatif Description
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RESERVATION_ITEMS BAPI2093_RES_ITEM_DETAIL 523 Transfer Structure: Display Details of Reservation Item
RETURN BAPIRET2 548 Return Parameter(s)

Functionality
You can use this method to list detailed data for a reservation.

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

  • M_RES_BWA,,Reservations: Movement Type

  • M_MRES_WWA,,Reservations: Plant

  • The header data for the reservation number passed on is returned in thetable ReservationHeader and the item data in the tableReservationItems.
    Customers' own fields can be passed on via the ExtensionOuttable.
    For customers' own fields to be adopted in this table, implement theRESDATA_TO_EXTENSIONOUT method of the Business Add-InDisplay Customer's Own Fields inReservations.
    INCLUDE BAPI_RET

    Further information
    The method can only be invoked successfully if all header and item dataof the reservation could be processed without errors and the Return
    table does not issue any error messages.
    No transaction control is implemented. Therefore, execute the commitwork yourself after the successful invocation of the method.

    Description
    The header data for the reservation is returned in the table.
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_KEYFIELD

    Description
    The item data for the reservation is returned in the table.
    INCLUDE BAPI_DATAELEMENT

    Value range
    Cat.,,ID,,Number,,Message
    E,,M7,,520,,Reservation & does not exist
    E,,M7,,120,,You have no authorization for this transaction in plant &
    E,,M7,,061,,Document does not contain any items
    W,,M7,,121,,You have no authorization for this transaction with movementtype &
    W,,M7,,335,,List incomplete due to missing plant authorization