Has anyone any experience of creating order and sub-orders in the PM/CS modules via BAPIs, etc?
Thanks in advance
i think u can delete Pm notification using
similarly delete WIP order and sub order using
Please go through the documentation provided for the usage
Have you been able to create sub-orders using the BAPI 'BAPI_ALM_ORDER_MAINTAIN'.
I have been trying to do the same thing, but do not see any parameters to specify the superior order number.
Any advice will be appreciated.
Dalene van Niekerk
We didn't find a standard solution..
Although I did manage to link two orders together which were not created by IW36 (create sub-order).
I did this in the user-exit at order save using field-symbols.
I am working on PM currently and believe me the best way to create a suborder is to record IW36.
No BAPI related to workorders is robust enough to ensure data completeness.
Could you please provide more information on how you linked the 2 orders togther.
Was the user-exit called from T-code IW31 when saving the Order or from the FM's - BAPI_ALM_ORDER_MAINTAIN or /***/BAPI_CUORDER_CREATE.
The user-exit I used was IWO10009 (at order save event)
In the BAPI_ALM_ORDER_MAINTAIN fill in SUPERIOR_ORDERID in the IT_HEADER. It will do the job.
Login to follow, like, comment, share and bookmark content.