Application Development 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: 

Issue in PF-STATUS For ALV Report

0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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.

VenkatRamesh_V
Active Contributor
0 Kudos

HI Raghavendra,

Try,

copying  the status  STANDARD_FULLSCREEN  from program SAPLSLVC_FULLSCREEN  for alv.

Hope  it helpful,

Regards,

Venkat.

Former Member
0 Kudos

Hi,


Try this,Write a custom code in screen 100 BACK function

when 'BACK1' ( rename it to BACK1)

CALL ALV1