Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for Creating PR from service order - Sub operation

Former Member
0 Kudos

Hi ,

I have a requirement to create a PR from service order with service items. Need to create multiple PR based on the sub operation and typ SM02. ( IW32 Transaction code)

Please help us to find the suitable BAPI for the same.

Thanks & Regards

Sujith

3 REPLIES 3

Former Member
0 Kudos

See SAP Note 420331 - BAPI_REQUISITION_CREATE: Template for services:

https://websmp130.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=420331&nlang=E...

Hope it helps,

Chang

0 Kudos

Dear Chang,

Thanks for your help. Now I could create Service Purchase requisition. However for my requirement, I need to link this PR with Service order - Operation - Sub operation (same as in IW32).

In IW32, following options is used to create PR for an operation/sub operations

After assiginging Control Key, SM02, need to clink 'External' button for creating PR for the required service lines.

Please help ...

Regards

Sujith

Former Member
0 Kudos

I am not aware about your requirement.

Please verify the following function module:

BAPI_ALM_ORDER_MAINTAIN

table IT_OPERATION

field MRP_RELEVANT (Reservation/purchase requisition generation)

Maybe it helps.