Ansicht
Dokumentation

/AFS/BAPI_RESERVATION_CREATE1 - BAPI for Creating Individual Reservations

/AFS/BAPI_RESERVATION_CREATE1 - BAPI for Creating Individual Reservations

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

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_RESERVATIONITEMS
EXTENSIONIN
PROFITABILITYSEGMENT
RESERVATION
RESERVATIONHEADER
RETURN
TESTRUN

Exceptions

Function Group

/SAPLMB_BUS2093

CPI1466 during Backup   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2267 Date: 20240426 Time: 051033     sap01-206 ( 35 ms )