Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Partner into Purchase Order (ME21N, ME22N)

Former Member
0 Kudos
1,272

Hi,

I want to add a parnter into purchase order. Logic of determining of partner is very complex and I have to write a program for this purpose.

Are there any user exit where I can include this program and add additional line into EKPA?

Thanks in advise,

Hristo Hristov

3 REPLIES 3

Former Member
0 Kudos
296

Hi ,

You can try for BADI ME_PURCHDOC_POSTED .

Check if your version fo SAP has this badi definition in SE18. You can implement it in SE19.

Cheers.

Former Member
0 Kudos
296

Hi Sanjay,

All parameters of method POSTED of this BADI are "importing" - I can't add parntner into IM_EKPA

I need to add partner into PO and then use this partner role into output determination of same purchase order.

Former Member
0 Kudos
296

HI,

TRY USED MM_UPDATE_PARTNERS

Regards