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

back button in ALV

Former Member
0 Likes
1,062

Hi,

I have a basic list using write statement from where i drill down to ALV list.when i press back button takes me to blank screen.I have tried leave screen ,leave to list processing but it is not working .Submit same report isworking but takes time to go to initial basic list .Can u advise the solution for this .

Hi,

I have a basic list using write statement from where i drill down to ALV list.when i press back button takes me to blank screen.I have tried leave screen ,leave to list processing but it is not working .Submit same report isworking but takes time to go to initial basic list .Can u advise the solution for this .

8 REPLIES 8
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
976

This thing once happened with us. We were displaying alv but when we press back a blank page was coming. The reason was before displayiny the alv we have used a write,vline,uline statement. So when you display an alv check in debug if same is not happening

Nabheet

Read only

madhu_vadlamani
Active Contributor
0 Likes
976

Hi Praveen,

Check in debug what code is pressing after pressing back button.

Regards,

Madhu.

Read only

0 Likes
976

There are no write,uline or skip statement executed after pressing back buton.Here from basic list using write statements ,I am calling ALV .Any advise abt resolving this issue .

Read only

0 Likes
976

Hi Praven

write statements should not be checked after back..you have to check them before calling the alv...

plus are displaying classical first and then alv..are you displaying the alv in pop up or what?

Nabheet

Read only

AbhishekV
Explorer
0 Likes
976

hi praveen,

You can check the value of sy-lsind on the click of back button and set its value to the previous list.

so what i mean to say is forcefully change the value of sy-lsind on click of back button to (sy-lsind - 1)

,this will take you to its parent list.

Hope this is helpful to you.

Abhishek.

Read only

Former Member
0 Likes
976

Hi Praveen,

Do as Abhishekv suggesed you, if still issue not solved reply back.

Regards

Tarun

Read only

Former Member
0 Likes
976

Hi Praveen.

Use leave to screen 0 if u want to go back to the program instead of going to the empty list.

If your requirment is not this reply back with your requirment.

Regards.

Aswath.

Read only

Former Member
0 Likes
976

debug your program and use leave to screen 0 where the back is executed in your program .