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: 

Screen Field Enhancement (ME21N)

Former Member
0 Kudos

Hi

I have done some screen enhancement in Tcode ME21N. i made 2 fields in Customer data Tab. Data is also savin.

But i am not able to disable the fields at the time of display mode. Is there anyone who has done some enhancement in PO or faced this same problem ?

please do tell me the solution for this.

Regards

Abhishek

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos

Check the field header_aktyp for values 'V' and 'A' for change and display mode.

REgards,

Ravi

Former Member
0 Kudos

Hi,

to show the DATA use CI_EKPODB

and EXIT EXIT_SAPMM06E_016.

Fill f. Example EKPO_CI-ZZEINR = MARA-ZEINR.

EKPO_CI-ZZEINR is in CI_EKPODB defined.

Please can you tell me if you use an own table

or EKPO? I have Problems to save ZZEINR in EKPO.

I use EXIT EXIT_SAPMM06E_013.

Hope i can help you, thanks for Your help!

Regards, Dieter

Former Member
0 Kudos

Hi abi,

i got the same requrement of badi.

but after entering on the fields which i appended in ekko table , it was not saving in ekko table. as you have already experiance in that , pls.tell as to where and how to code in PAI MODEL to save the fields in ekko table.

pls.help me , it is very urgent.

Regards,

Kiran

Former Member
0 Kudos
T160-TRTYP =  'H'   FOR ME21N
T160-TRTYP =  'V'   FOR ME22N
T160-TRTYP =  'A'   FOR ME23N



IN THE exit code 
 make use of this screen conditions to differentiate for Create, Change and display mode before teh logic.

as 
   IF T160-TRTYP = 'H'.
   PROCESS LOGIC ..
   ENDIF.   

Table is T160.

regards,

vijay.