Skip to Content
0
Nov 15, 2013 at 05:25 AM

Changing Plant in ME22N

455 Views

Hi All,

SCENARIO

Purchase Order is created for a Plant 1 + Vendor + POrg + material with reference to a PR and after creation through change mode ME22N i change the plant information from PLANT 1 to PLANT 2 (both plants assigned to same company code). PIR is maintained for both PLAnt 1 & PLANT 2 for the same vendor ,material & Porg combination for requirement 1

REQUIREMENT 1:

warning msg, if the material does have the valid inforecord for the plant we are changing to (PLANT 2)AND the new plant (PLANT 2) differs from the plant stated on purchace requisition earier (PLANT 1).



i have maintained a message in the system Version 00 Application Area 06 Message No 057 "Purchase requisition &, item &, has a different plant" as warning and my requirement is acheived

Requirment 2:

Vendor + Material 1 + Plant 1 + Purchasing Org = PIR Exists

Vendor+ Material 1 +Plant 2 +Purchasing Org = NO PIR

New plant 2 does not have a valid info record

An Error message after plant change if the material does not have a valid infor record for the plant we are changing to (in our case PLANT2)



I have maintained a message in the system Version 00 Application Area 06 Message No 057 "No plant-specific purchasing organization data exists" as Error. But when i am testing in the system after changing the plant it is still giving the above warning message and allowing to save the PO.

Ideally i am expecting system to trigger second message and stop the transaction

Can someone help me to find what is that i am missing in this

Regards

Pavan