‎2007 May 08 9:47 AM
Hi,
In Interactive reports If I am in 5th secondary list ,how to navigate the 5th seconadry list. If anybody give thecode please
‎2007 May 08 11:22 AM
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
‎2007 May 08 9:52 AM
‎2007 May 08 9:58 AM
Use SY-LSIND .. list index will give you the current list number... in your case... 5
Also check other SYST structure fields...
‎2007 May 08 9:59 AM
SY-LSIND is the System field which shows the current screen number...We can go to third screen directly also
‎2007 May 08 10:04 AM
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.
‎2007 May 08 10:23 AM
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.
‎2007 May 08 10:25 AM
‎2007 May 08 11:22 AM
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
‎2007 May 08 11:31 AM