Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
VKR_23
Participant
14,588

Automatic purchase order by Goods Receipt  


Automatic Purchase order: 

This process will enable system to create the Purchase Orders automatically from the Purchase Requisitions created in the system, without manual intervention, and at regular intervals of time with predetermined master data set up and with a predefined job schedule to run at regular intervals of time. 

An automatic PO is created either when received goods exceed the ordered quantity or when the vendor was asked to supply goods without raising a PO. A purchase order is automatically created when a goods receipt is posted (MIGO).   

Here I am creating Automatic Purchase order by Goods Receipt. 

    • No need to create a Purchase Requisition. 

Prerequisites: 

    • In Material Master, Material should have enabled the Automatic PO checkbox in purchasing view.  
    • In Vendor Master, Supplier should have enabled the Automatic PO checkbox in Purchasing Data. 
    • Maintain Purchasing Info Record for the required Combination of Material and Supplier. 
    • Assign Purchasing organization to plant (It is Mandatory field in S/4 Hana) 
    • View Cluster Editing – OMJJ 

Create Material in MM01: 

Activate the Automatic PO Checkbox.Create Business Partner: (BP) 

Maintain Purchase Info Record in ME11: 

Purchasing info record 5300000164 9000 9001 Created. 

Assign Purchasing organization to plant: (OMKI) 

If we can’t maintain this step in S/4 Hana, we can get error while doing Goods Receipt. 

After Assigning the Purchase organization to Plant click on the save button. 

Maintain Automatic PO Checkbox for Movement Type: 
Configuration: SPRO –> IMG –> Material Management –> Inventory Management and Physical Inventory –> Goods Receipt –> Create Purchase order Automatically 

View cluster Editing – OMJJ 
In View Cluster Editing –> Field selection tab Then the next screen, 
Enter the Movement type for Goods Receipt and Click Enter.,  
Select the Movement type and click enter 

Go to Field Selection  
Add the Field name – LIFNR by clicking on the new entries and click on the save button. 
If it is already maintained skip this step. 

We can do Goods Movement (MIGO) two ways: 

    • Goods Receipt –> others (Movement Type 101) 
    • Goods Receipt –> Purchase Order (Movement Type 101) 

1st scenario: (Goods Receipt –> Others) 
First check the Stock Overview in MMBE. 
We have 100 Quantity of stock In Unrestricted use (F) 

If we done Goods Movement the stock will directly updated in the Unrestricted use. 
After Maintaining the data click on the save button. 

Material document 400000434 posted. 

Display the Material Document the Purchase order is created automatically. 

The Accounting Entities are: 

Now check the stock overview in MMBE (The 100 Quantity of stock is directly updated in the Unrestricted use.) 

If you any Queries check the data in ME23N (Display Purchase order) 

Next, we can do Invoice Verification in MIRO:  
Invoice –> Purchase order 

Document no. 39 created. 

The Accounting Entities are: 

2nd Scenario: (Goods Receipt –> Purchase order) 
Click on the Non-ordered item as shown below. 
Enter the Material, Quantity, Plant, Storage location and Vendor. By Maintaining the data click on the save button.

Material document 132 posted. 

Display the Material Document the Purchase order is created automatically. 

If you any Queries check the data in ME23N (Display Purchase order) 

We can also Create Automatic Return Delivery (161 Movement Type) 
Maintain Automatic PO Checkbox for Movement Type: 
Configuration: SPRO –> IMG –> Material Management –> Inventory Management and Physical Inventory –> Goods Receipt –> Create Purchase order Automatically 

 

In MIGO Goods Receipt –> Purchase order (Enter 161 Movement Manually) 
Click on the Non-ordered item as shown below.
Enter the Material, Quantity, Plant, Storage location and Vendor. 
By Maintaining the data click on the save button. 

Material document 134 posted. 

Display the Material Document the Purchase order is created automatically. 

If you any Queries check the data in ME23N (Display Purchase order) 

Conclusion:
This Scenario will be used when An automatic PO is created either when received goods exceed the ordered quantity or when the vendor was asked to supply goods without raising a PO. A purchase order is automatically created when a goods receipt is posted (MIGO).  

9 Comments
venkat320
Explorer
0 Kudos
Hi Vamsi,

Well explained with details. And appricated for all your efforts for sharing knowledge.

Is this scenario works with S4. Because Itried it 510 mvt but its not worked.
VKR_23
Participant
0 Kudos
Hi Venkat,

What Process you are doing. I think there is no 510 Movement Type in the SAP System

 
venkat320
Explorer
0 Kudos
Sorry it's 501 Mvt
0 Kudos
Actually we are doing to create PO automatically based on the detais maintained in the Goods Movement.

501 is the Goods Receipt without PO. The settings are maintained to create PO right.

So 501 Movement type is not worked for this scenario
VKR_23
Participant
0 Kudos
Thanks linga for taking the initiation to sharing the knowledge
former_member871123
Discoverer
hello vamsi

good article, I have a question, can I use this scenario and that it is tied to an open order or framework contract to control the amounts that are entered
Ricardo-B
Explorer
0 Kudos

This process works very well and you described it very accurately. Have you ever faced the requirement of setting up a flexible workflow approval for these POs created automatically ? The rational of the requirement is that somebody should verify the accuracy of these POs and GR before an invoice is entered against them.

Rajesh_Soni
Discoverer
0 Kudos

Thanks Buddy...

miguelfdzs
Explorer
0 Kudos

Thank you very much for sharing your knowledge! I was trying to automatically create the purchase order with MIRO but I was not allowed. I had followed all the instructions from SAP but I was not able. I got the error message that the supplier was missing even though I had entered it. The only thing that was missing was the "LIFNR" in OMJJ can you please explain what is this setting doing?

Thank you again!

Labels in this area