cancel
Showing results for 
Search instead for 
Did you mean: 

PM/CS Orders & Sub-Orders (IW36)

peter_atkin
Active Contributor
0 Kudos

Guys,

Has anyone any experience of creating order and sub-orders in the PM/CS modules via BAPIs, etc?

Thanks in advance

PeteA

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member

In the BAPI_ALM_ORDER_MAINTAIN fill in SUPERIOR_ORDERID in the IT_HEADER. It will do the job.

Former Member
0 Kudos

Hi Peter

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.

Thank you

Dalene van Niekerk

peter_atkin
Active Contributor
0 Kudos

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.

Pete

Former Member
0 Kudos

Hey,

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.

-Kiran

Former Member
0 Kudos

Hi Pete,

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 /CUM/BAPI_CUORDER_CREATE.

Thanks

peter_atkin
Active Contributor
0 Kudos

The user-exit I used was IWO10009 (at order save event)

PeteA

Former Member
0 Kudos

i think u can delete Pm notification using

BAPI_ALM_NOTIF_DATA_DELETE.

similarly delete WIP order and sub order using

BAPI_ALM_ORDER_MAINTAIN.

Please go through the documentation provided for the usage