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

Basic List

Murali_Shanmu
SAP Champion
SAP Champion
0 Likes
866

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
774

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

6 REPLIES 6
Read only

Former Member
0 Likes
775

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

Read only

0 Likes
774

Hi

I gave

sy-lsind = sy-lsind - 1.

leave to List processing.

Still it is not working. Any Help.

Read only

0 Likes
774

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.

Read only

0 Likes
774

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

Read only

Former Member
0 Likes
774

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

Read only

Former Member
0 Likes
774

Hi,

After pressing your button use FM 'SAPGUI_SET_FUNCTIONCODE' and set a new function code 'BACK'.

Svetlin