05-06-2015 9:50 AM
Hi all,
I need the BAPI to create Reservation of PR, data will be saved to RESB table, not to RKPF.
Help me, pls!!!
05-06-2015 10:05 AM
Hi Dai Nguyen Quang..
the below code may useful for u..
CALL FUNCTION 'BAPI_RESERVATION_CREATE' "Create Reservation
EXPORTING
reservation_header = " bapirkpfc Reservation Header
* no_commit = " char1 Single-Character Indicator
* movement_auto = " movement_auto Use Goods Movement Indicator from Customizing
IMPORTING
reservation = " bapirkpfc-res_no Reservation Number
TABLES
reservation_items = " bapiresbc Reservation Items
* return = " bapireturn Return Messages
. "
thanks,
P.Ravi.
05-06-2015 10:13 AM
Hi ravi papani,
I set data to reservation_items, not to reservation_header and I meet the error "No items exist (not possible to save)".
05-06-2015 1:08 PM
05-07-2015 3:19 AM
Hi all,
I need a BAPI to create of Subcontracting PR, can I use BAPI_RESERVATION_CREATE?