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

interactive reports

Former Member
0 Likes
889

Hi,

In Interactive reports If I am in 5th secondary list ,how to navigate the 5th seconadry list. If anybody give thecode please

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
870

Hi

the simple way go navigating the list is to directly use the system variable SY_LSIND,which takes to to the particular list which u want to navigate.

so if u want to go to 5th secondary list,jus use

SY_LSIND = 5 .//it takes u to 5th list

PLZ REWARD

8 REPLIES 8
Read only

Former Member
0 Likes
870

hi,

write: sy-lilno.

regards,

Naresh.

Read only

Former Member
0 Likes
870

Use SY-LSIND .. list index will give you the current list number... in your case... 5

Also check other SYST structure fields...

Read only

Former Member
0 Likes
870

SY-LSIND is the System field which shows the current screen number...We can go to third screen directly also

Read only

Former Member
0 Likes
870

u r in the 5th secondary list and u want to navigate to 5th list only?

is it 5th or 15th list that u want to navigate....

if its 15th then u cant navigate to the 15th list from 5th list...because forward navigation is not possible for secondary lists

hope this helps.

Read only

Former Member
0 Likes
870

Hai,

SY-LSIND --- List processing, details list index

SY-LISTI -


List processing, index of current list

which can be used to navigate to all the secondary lists.

IF SY-LSIND = 5.

SELECT * FROM EKPO INTO TABLE IT_EKPO WHERE EBELN = WA_EKKO-EBELN.

WRITE: /10(20) 'PURCHASE NR', 30(20) 'ITEM NR',

55(15) 'MATERIAL NR', 75(20) 'MATERIAL GROUP'.

ULINE.

LOOP AT IT_EKPO INTO WA_EKPO.

WRITE: /10(20) WA_EKPO-EBELN , 30(25) WA_EKPO-EBELP ,

55(15) WA_EKPO-MATNR , 75(20) WA_EKPO-MATKL.

HIDE WA_EKPO-EBELP.

ENDLOOP.

CLEAR WA_EKPO-EBELP.

ENDIF.

reward points if useful.

kavitha.

Read only

hymavathi_oruganti
Active Contributor
0 Likes
870

sy-lsind = 5.

Read only

Former Member
0 Likes
871

Hi

the simple way go navigating the list is to directly use the system variable SY_LSIND,which takes to to the particular list which u want to navigate.

so if u want to go to 5th secondary list,jus use

SY_LSIND = 5 .//it takes u to 5th list

PLZ REWARD

Read only

0 Likes
870

hi

if sy-lsind eq 5

write: / .10 ....

write:/20.......

endif.