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: 

Custom field not showed at ME21N

Former Member
0 Kudos

Hi All.

I have a request to create a new field at the transaction ME21N (purchase order), in the subscreen item purchase order.

Despite all of my efforts, it is not working.

I followed the steps below, according with Note 407975 - MM06E005:

1. on Include table CI_EKPODB, I created the customized field: ZZCLASSE_IMOB.

2. on enhancement MM06E005, function exit EXIT_SAPMM06E_018, I created the code:

if sy-tcode = 'ME21N'

e_ci_ekpo-zzclasse_imob = ekpo_ci-zzclasse_imob.

endif.

3. on enhancement MM06E005, function exit EXIT_SAPMM06E_016, I created the code:

if sy-tcode = 'ME21N'

ekpo_ci-zzclasse_imob = i_ci_ekpo-zzclasse_imob.

endif.

4. Then using SE80 transaction, function group XM06, screen 0111 , I created just a single field in the layout:

a input/output element : CI_EKPODB-ZZCLASSE_IMOB.

That's all, but it is not working. I think that my mistake is at step 4.

Could you please help me out with this issue?

==> version SAP 4.7

Thanks in advance.

João Gaia

2 REPLIES 2

naimesh_patel
Active Contributor
0 Kudos

Have you included the user exit MM06E005 in a project created in CMOD?

We require a CMOD project for the user exits in order to activate the user exits functionality.

Regards,

Naimesh Patel

0 Kudos

Yes,

I have a project created in CMOD. In fact, the project already exists, because we are using other enhancements, like M06E0004.

Thanks for your response.

João Gaia