‎2005 Nov 08 2:20 PM
Hi
I have a basic list and 4 secondary list. I am NOT using the BACK button. Instead i have created a button that acts like the standard BACK button. From the 4th List, if i keep pressing the button, it should take the user one list back. Any solution.
‎2005 Nov 08 2:23 PM
HI Shanmugham,
When you handle your own BACK Button in the at user-command section, your should reset your sy-lsind to one less than its present value
sy-lsind = sy-lsind - 1.
Thanks,
Ravi
‎2005 Nov 08 2:23 PM
HI Shanmugham,
When you handle your own BACK Button in the at user-command section, your should reset your sy-lsind to one less than its present value
sy-lsind = sy-lsind - 1.
Thanks,
Ravi
‎2005 Nov 08 2:24 PM
Hi
I gave
sy-lsind = sy-lsind - 1.
leave to List processing.
Still it is not working. Any Help.
‎2005 Nov 08 2:29 PM
Why are you using leave to list processing . This is for dilaog screen when you want to switch to list screens.
If you are tring to display a list on dialog screen then you will have to use your own varaible instead of SY-LSIND to have the list level. Then in PBO based on your variable you can display the respective list level.
Cheers.
‎2005 Nov 08 2:33 PM
Hi Shanmugham,
You should not use leave to list processing if its just an interactive report(Not a Module program).Can we have a look at your code , so that we can have a better idea?
Thanks,
Ravi
‎2005 Nov 08 2:26 PM
If you are talking about ALV report then there are lot of examples in sap see SE38 BALV*. They will help. If you are talking about simple interactive report then use sy-lsind = sy-lsind - 1
Cheers,
Satya
‎2005 Nov 08 2:32 PM
Hi,
After pressing your button use FM 'SAPGUI_SET_FUNCTIONCODE' and set a new function code 'BACK'.
Svetlin