12-24-2015 9:00 AM
Hi ,
I have developed ALV report to display data using CL_SALV_TABLE and with custom PF-STATUS (added custom button (Execute)).
On clicking Execute button i'm calling another screen 100 and displaying another itab data as ALV report with PF-status copied from SAPSALV.
Now when i click BACK Button in screen 100 it displays blank screen with PF-STATUS as that of first ALV report. On clicking BACK button again it takes me to first ALV report sequence.
requirement is once i click BACK button on screen 100, it should go back to the previous ALV screen.
I have not done any custom coding for BACK(&F03) button it's standard functionality i'm using.
Thanks,
Raghavendra
12-24-2015 9:22 AM
You should also add a functionality for BACK button. Leave to screen 0 will work.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
Or you can specify screen number depending on requirement using CALL SCREEN.
12-27-2015 11:02 AM
HI Raghavendra,
Try,
copying the status STANDARD_FULLSCREEN from program SAPLSLVC_FULLSCREEN for alv.
Hope it helpful,
Regards,
Venkat.
12-28-2015 10:22 AM
Hi,
Try this,Write a custom code in screen 100 BACK function
when 'BACK1' ( rename it to BACK1)
CALL ALV1