07-28-2016 11:29 AM
Hi all,
while specifying a SAP tool I run into a problem.
My goal is, to get a jump from my tool to a transaction to change RESB-WEMPF and RESB-ABLAD.
During daily work the values are changed only by using transaction CJ20N (see red marked fields below) up to now.
Its not necessary for the jump to reach CJ20N for changing RESB-WEMPF and RESB-ABLAD.
My ideas are:
1. CALL TRANSACTION 'CJ20N' ...
Problem: how can the call navigate to the required element in project structure?
I think BDCDATA will not work, because different projects have different structures.
2. CALL TRANSACTION 'MB22' ...
Problem: Does not work because of message M7522 "Reservation created automatically. No manual changes possible"
3. Create an own dynpro with call of a SAP standard function to change the values.
Problem: I did not find this function module.
4. Update database by my own -> this can only be the last way
Do you have any hints for my problems or new ideas?
Kind Regards,
Hubert
07-28-2016 11:48 AM
have you checked the possibility of using BAPI_RESERVATION_CHANGE ?
07-28-2016 12:11 PM
thanks, but same problem like MB22
message M7522 "Reservation created automatically. No manual changes possible"
07-29-2016 9:30 AM
Some new ideas and questions to my problem above:
1. Is there maybe a function to change the values of the reservation indirect by its associated production order/network activity?
2. Why does CJ20N allow changing of the reservation but BAPI_RESERVATION_CHANGE does deny changes to the same reservation with "Reservation created automatically. No manual changes possible"? With CJ20N also a manual change to an automatically created reservation is done!
Confusing! SAP!!
Kind regards,
Hubert