cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic PO for service PR

Former Member
0 Kudos

Hi MM Experts

We have a requirement in CS. The service PR is created from PM work order. There is no release or approval process and we need a PO number once i save my service order in IW31.

Right now after thr PR is created the user agin goes in to ME21N and creates a PO for that PR. Any BAPI or methods that can be used here to create a PO immediately for a service PR from PM work order.

I tried in ME59N but that is not working for service PR since there is no material.

Thanks in advance

Jey

Accepted Solutions (1)

Accepted Solutions (1)

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

For master data setting for automatic service purchase order, you need to activate Automatic Purchase order creation for Service requisitions in t.code: ML91 and have info record based on Material Group/Service Group.

Regards,

Biju K

Former Member
0 Kudos

Hi Biju / Manoj

Thanks for the reply. It worked. But right now we need the PO number immediately and since ME59N is run in background i cannot get the PO number immediately

also i feel there will be a slowdown in the system performance if ME59N is run in background for every 5 seconds. There are only maximum of 3-4 vendors for service PR's and the account assignment will be F in the variant. Your views please.

Thanks

Jey

Former Member
0 Kudos

The ME59N does not reduce the system performance when you are creating PO's for a very few number of vendor's. We have millions of PO's getting created through this process each year, never have we come across this hurdle.

If you feel the necessity of scheduling this task as a job is not required and time consuming then you can educate the user's to manually run this program with proper selection criteria, the results as well will be immediately available.

In the case of a background job, in the event you need an automated way of finding the PO's the moment they are created, assign a SPOOL LIST RECIPIENT while scheduling the job in SM36. This will send the spool list automated to mail recipient, which means it will give the entire list of PO's created through this job to the requested user. If needed take the help of a Basis Consultant for this task.

/Manoj

Former Member
0 Kudos

The user can run ME59N manually with the choice of selection parameter (if in a hurry for certain PR numbers as an example).  You can get a PO in a few seconds.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Use BAPI_PO_CREATE1 to create PO from PR.

Also

<removed by moderator - reason link farming>

Message was edited by: Jürgen L

Former Member
0 Kudos

How are the sources determined in your PR? Are you assigning them manually?

Check the following Note:

Note 635511 - FAQ: Purchase requisitions in the service

Read Question No.10 and check if you have done all settings exactly.

/Manoj