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

Automatic go back

Former Member
0 Likes
515

Sorry if this has already been answered, but I couldn't find it....

I have a report program that has a drill down (sy-lsind=1) of multiple records. When I double click a line (going to sy-lsind=2) I want the program to run a submit and then automatically return to sy-lsind=1. Is this possible?

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
496

try this..

case sy-lsind.

when 2.

submit <report> and return.

sy-lsind = 1.

when others.

endcase.

~Suresh

3 REPLIES 3
Read only

suresh_datti
Active Contributor
0 Likes
497

try this..

case sy-lsind.

when 2.

submit <report> and return.

sy-lsind = 1.

when others.

endcase.

~Suresh

Read only

Former Member
0 Likes
496

Hi,

Please set the sy-lsind = 1 after the submit statement.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
496

Found it, I did a AND RETURN, but I had to add the following:

SET USER-COMMAND 'BACK'.

Thanks for the help!