cancel
Showing results for 
Search instead for 
Did you mean: 

ME59N Single PO

Former Member
0 Kudos

Hi,

We are using ME59N for PO creation.

currently the system create two PO for single PR. based on the condidtion EBAN-KONNR

For Item 20 EABN-KONNR values empty

For Item 10 and 30  EABN-KONNR have some value.

based on the above condition system created two PO.

One PO for Item 20

Othert PO for Item 10 and 30.

My requirement I want create single PR for above condition

How to achive this functionality ?

Any BAdi or Exit is available for this requirement ?

I found list BAdi for Me59N txn. But I want to know which BAdi fullfill this requirement

Thanks,

Vimal Alexander  

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186413
Participant
0 Kudos

Hello,

I think, this is what you are looking for,

BADI                                              Methods

MD_PURREQ_CHANGECHANGE_BEFORE_SAVE_MRP
MD_PURREQ_CHANGECHANGE_BEFORE_SAVE_CONV
Former Member
0 Kudos

Hello Hai Wang,

Thanks for your quick reply.

How to write the code for Club the two PO into single PO in the mentioned BAdi.
MD_PURREQ_CHANGE

CHANGE_BEFORE_SAVE_MRP

MD_PURREQ_CHANGE

CHANGE_BEFORE_SAVE_CONV

Thanks,

Vimal Alexander

Former Member
0 Kudos

Hi,

I have debugged the program the Txn--> ME59N - Automatic PO crarion.

I came to know that New po is initiated in the below part.

How can i control/ restrict the new Po creation.

Please find attached fthe above screen shot.

Thanks

Vimal Alexander

former_member186413
Participant
0 Kudos

Hi Vimal

AS I have mentioned, these two exit is the interface provided for PO creation.  and you should think about the logic by yourself.

Best Regards.