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: 

Display Prob. in Exit For TCode ME53N

Former Member
0 Kudos

Hi Experts,

I have done one screen exit (MEREQ001) for transaction ME53N. I have added one extra tab with some custom fields on that tab. Everything is working fine.

But, while i am running the transaction ME53N, my custom field is remaining the same as 'input on' / editable status.

For this i have written the following code in exit EXIT_SAPLMEREQ_001....

DATA: gf_aktyp TYPE aktvt.

IF NOT im_req_item IS INITIAL.

gf_aktyp = im_req_item->get_activity( ).

ENDIF.

IF gf_aktyp = 'A'.

LOOP AT SCREEN.

IF screen-group1 = 'TAB'.

screen-input = 0.

ELSE.

screen-input = 1.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

ENDIF.

Even if i have tried the same type of code in the PBO of my subscreen.

But still, my screen status is editable.

So, in this regard i would like some of u plz suggest where could be the problem lies / What are the various factors i should look after / cross chek. Or any other way to get the problem solved....

Plz treat this as urgent & reply me asap.

Thanks

sangram

2 REPLIES 2

former_member188827
Active Contributor
0 Kudos

in the pbo try using:

if sy-tcode = 'ME53N'.

LOOP AT SCREEN.

IF screen-group1 = 'TAB'.

screen-input = 0.

ELSE.

screen-input = 1.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

endif.

plz reward points if dis helps

0 Kudos

Hi,

The same code i have also tried in the PBO of my screen. But it's not working as per my requirement.

Is there any other alternative...

Thanks

Sangram