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: 

Need to make changes in the code for ME21

Former Member
0 Kudos

Hi everyone,

My requirement is as below.

Whenever I create any any PO using ME21 by copying any existing PO, the value for Pay Tems (EKKO-ZTERM) comes from the PO from which I am copying. But requirement is that the value for Payment Term should populate from the Vendor Master(LFB1-ZTERM). I tried to use implicit enhancement and make changes in the include MM06EF0E_EKKO_ZTERM but I am getting the error message as *u2018Object cannot be enhanced - Software Component unknown and cannot be enhancedu2019*. Please help me how to come out of this issue or is there any other method to meet my requirement other than using implicit enhancement.

1 REPLY 1

former_member320332
Contributor
0 Kudos

Hi,

You can use BADI ME_PROCESS_PO_CUST -> PROCESS_ITEM -> SET_HEADER to change the header fields.

Thanks,

Pawan Gore