Application Development and Automation 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: 
Read only

switch mode

Former Member
0 Likes
554

Hello,

ich have a short question. I wrote userexit EXIT_SAPLMEREQ_007. The program checks the data of an purchase requisition and in some cases it is necessary to switch from display mode into only read mode.

Now i used leave to transaction but it deletes all parameter. Is there another way? Here my sourcecode.

if lv_count > 0 and ( sy-tcode = 'ME52N' or sy-ucomm = 'METOGG') .

LEAVE TO TRANSACTION 'ME53N'.

endif.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
459

I tried this and it doesn't work because all the parameters will be deleted.

Can I switch the display mode?

2 REPLIES 2
Read only

Former Member
0 Likes
459

HI,

I think you have to use SET PARAMETER ID

Regards,

Naveen

Read only

Former Member
0 Likes
460

I tried this and it doesn't work because all the parameters will be deleted.

Can I switch the display mode?