Change plan order components
We need to change (add and modify) the component list of a plan order. I see/tested that BAPI_PLANNEDORDER_CHANGE does not work for that (you can read in documentation that the component table is only to export the components) so do you know any way to do that?
It is mandatoy to do that by BDC? I prefer other ways.
Tamas Hoznek replied
If I'm not mistaken, the components are actually stored as reservations. So you will have to change the related reservation. The reservation change BAPI has some restrictions however (for instance, it won't allow changing automatic reservations and the like, but this is off the top of my head so you'll need to check the specifics).
You will probably have to use a combination of function modules such as MB_READ_RESERVATION_HEADER, MB_CHANGE_RESERVATION and BAPI_TRANSACTION_COMMIT to do such a change if BAPI_RESERVATION_CHANGE doesn't work out.