cancel
Showing results for 
Search instead for 
Did you mean: 

Which userexits is used in PO automation ?

Former Member
0 Kudos

How PO automation work ? I have made all required seeting in vender master, info rec, source list and MM purchase tab. Have created Me51 and made sure that source has been determined. But Req is not converting in PO.

I looked into some forum and picked up that we need to change setting in ML91, but not sure as ML91 is for service orders whereas we trade material.

Please advise,

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member210560
Active Contributor
0 Kudos

Dear H Singh,

If you want to default doc type when auto PO, SAP do not have user exit for ME59 but Badi

ME_BSART_DET for transaction ME59N.

Regards,

ian Wong Loke Foong

former_member210560
Active Contributor
0 Kudos

Dear H Singh,

You can ignore ML91 if you trade material  but not service. Check below

prerequisites before you run me59N for the said requisition:

- Automatic PO indicator check for material master

-Automatic PO indicator check for vendor master

-Please check if valid source of supply assigned. It must be unique

like you have contract or fixed vendor and a purchasing org specified

in you PR "source of supply" tab.

-PR subject to release strategy must be released.

- PR is for external procurement.

- If PR from sales order, the qty must be zero as we cannot create PO

refer to partial PR from sales order.

Regards,

ian Wong Loke Foong

ravindra_devarapalli
Active Contributor
0 Kudos

Hi,

check settings you done or not ?

Following are the steps

1) "Autom. PO" field must be checked in material master 

2) "Automatic Purchase Order" field must be checked in vendor master

3) Outline Agreement or Purchasing Info Record shall be maintained which will be used for pricing information

4) The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record. If you are not using source list, vendor needs to be assigned with purchasing organization to the PR

5) PR should have been released

A requisition item cannot be converted into a purchase order in the following circumstances:

- If the master data is faulty or incomplete

  Example: The vendor is locked or the current purchase order price is not available.

- If input data is missing (for example, unknown account assignment)

check below path is for default po document type.

Define Default Values for Document Type for transaction ME21 in IMG.

IMG->MM->PUR->Define Default Values for Document Type

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

Why you need userexits for automatic purchase order creation,you can create automatic purchase order with T.Code: ME59 or ME59N with proper master data setting.Yes, For Service automatic purchase order, you need to activate Automatic Purchase order creation for Service requisitions in T.Code:ML91 with creation of info record based on Material Group/Service Group.For more refer SAP Note 635511

For more on automatic purchase order,refer SCN blog

http://scn.sap.com/docs/DOC-42583

Regards,

Biju K