Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom field not showed at ME21N

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

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question