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: 

in an interactive report, after going to 5th list, can you come back to 2nd

Former Member
0 Kudos
147

hi

in an interactive report, after going to 5th list, can you come back to 2nd list? how?

Thanks

Rama

6 REPLIES 6

former_member181962
Active Contributor
0 Kudos
86

yes.

at line-selection.

if sy-lsind = 5.

sy-lsind = 2.

endif.

Former Member
0 Kudos
86

Hi,

At user-command.

case sy-ucomm.

when '2'.

sy-lsind = 2.

endcase.

The command 2 can be passed from the command line.

Hope this will help u.

Regards,

U. Uma

0 Kudos
86

hi,

At user-command.

if sy-lsind = 5.

sy-lsind = 1.

endif.

regards,

pankaj singh.

0 Kudos
86

edit ravi's answer ---

give sy-lsind = 1 instead of 2 to goto the 2nd list

Former Member
0 Kudos
86

Rama,

u can have menu options to go to required list number.

under those respective ok-code s, u can handle, to which list u should go.

Regards,

Sujatha.

Former Member
0 Kudos
86
AT USER-COMMAND.

CASE SY-UCOMM.
WHEN 'BACK'.
IF SY-LSIND = 5.
SY-LSIND = 1.
ENDIF.
ENDCASE.

YOU CAN ASSIGN THE VALUE FOR SY-LSIND .

<b>DEMO_LIST_INTERACTIVE_3</b> Refer this

reward if this helsp.

Message was edited by:

Judith Jessie Selvi