Ansicht
Dokumentation
/AFS/BAPI_RESERVATION_CREATE1 - BAPI for Creating Individual Reservations
Fill RESBD Structure from EBP Component Structure Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
Create a Reservation
Example
With this method you can create individual reservations.
Notes
The following authorization objects are checked with the activity 01 (create):
Reservations: Movement Type
Reservations: Plant
The header data of the reservation is transferred in the parameter ReservationHeader. At least the following data is necessary:
Movement type (MOVE_TYPE field)
If account assignment is defined for the movement type, the account assignment object (e.g. the cost center in the field COSTCENTER)
The item data is passed on in the table ReservationItems. At least the following data is necessary:
Plant (PLANT field)
Material number (MATERIAL field) Requirements Date (field REQ_DATE), if no base date (field RES_DATE was transferred in the header data
The reservation number is returned in the parameter Reservation.
Messages are returned in the parameter return. The parameter documentation shows the return codes and their meanings.
Transaction control is not implemented. The calling program therefore has to execute the 'Commit Work' itself after this method has been successfully invoked (for example, using the BAPI BAPI_TRANSACTION_COMMIT).
Further information
Parameters
AFS_RESERVATIONITEMSEXTENSIONIN
PROFITABILITYSEGMENT
RESERVATION
RESERVATIONHEADER
RETURN
TESTRUN
Exceptions
Function Group
/SAPLMB_BUS2093ABAP Short Reference CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 2267 Date: 20240523 Time: 074558 sap01-206 ( 31 ms )