cancel
Showing results for 
Search instead for 
Did you mean: 

Two different plants cannot be clubed in one document

Former Member
0 Kudos

Dear,

Problem: My end user clubbed the two plants in one document i.e. in PR, PO, MIGO & MIRO.

For e.g. PLant 1- X

Plant 2- Y

At time of making PR or PO end user clubbed Plant X & Y in one document.

I want to implement a check in PR, PO & MIGO that two different plants cannot be clubbed in one document other than authorization.

Thanks & Regards

Varun Bisaria

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

This can be acheived by using Standard SAP BADI , same is successfully worked at my Org.Apply logic with the help of ABAPOR ,ask him to add validation if Multiple plants found in Badi.

PR BADI-ME_PROCESS_REQ_CUST

PO BADI-ME_PROCESS_PO_CUST .

MIGO-MB_DOCUMENT_BADI / MB_DOCUMENT_UPDATE

Hope this will be helpful to you.

Thanking You,

Sandesh Sawant

Edited by: Sandesh Sawant on Nov 4, 2011 7:28 PM

Former Member
0 Kudos

Hi,

Please go for validation at document type level and give a coding that not to allow multiple plants. Take tha ABAPer halp and get it done. Thanking you.

Former Member
0 Kudos

Hi,

Please create plant specific pur.organization. In spro create pur org and assighn it to particular plant. By giving this purchasing organization in PRitem overview and in PO as organizational level, system won't allow to enter two different plants. Allows only one plant. Thanking you.

Former Member
0 Kudos

Hello,

It cannot be possible in our case. We can implement check only on plant not on Purch. org

Thanks & regards

Varun Bisaria.

Former Member
0 Kudos

Hi,

create a Z message with error in concern application area...

Kuber

Former Member
0 Kudos

Dear Kuber,

How Z message can be create and activate. Please provide full information.

Thanks & ragrads

Varun

kailas_ugale
Active Contributor
0 Kudos

Hi

take the help of ABAP consultant and ask him when there is two different plant in Po ,Po should not get save and show error message

table EKPO will help

Regards

Kailas Ugale