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 ExtensionOut>table. 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_RETFurther 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
|