‎2008 Mar 26 7:14 AM
Hi,
in ALV output i have a field named file name, if i click this field it is going to list display and displaying file informaion and if i click back button it is not coming back to alv output instead it is going to selection-screen.
in the program to display the file info i have used LEAVE LIST PROCESSING command and after that i have write statement to display file info...
after displaying the file info if i want to come back to alv output what code i have to use... it is urget... plz reply me...
‎2008 Mar 26 7:18 AM
Hi,
u can use
LEAVE TO LIST-PROCESSING.
Addition:
... AND RETURN TO SCREEN scr.
Effect
Switches from "dialog processing" (module pool, screens) of the current transaction to "list processing". You can then use all the usual list layout commands (WRITE, SKIP, ...).
After leaving the current screen, the list formatted in this way is displayed implicitly or explicitly by LEAVE SCREEN. Here, all list programming options are possible, e.g. line selection, F keys, windows.
LEAVE LIST-PROCESSING continues with "Processing Before Output" (PBO) of the screen which controls the list processing.
Note
After switching to list processing mode with SET PF-STATUS ..., you are recommended to define a GUI (Graphical User Interface) of type List or List in dialog box.
Please consult Data Area and Modularization Unit Organization documentation as well.
Addition
... AND RETURN TO SCREEN scr.
Effect
LEAVE LIST-PROCESSING continues with "Processing Before Output" (PBO) of the screen scr.
Note
Using LEAVE LIST-PROCESSING to leave list processing explicitly is only necessary in exceptional cases; normally, the standard F keys ( F3=Back and F15=Exit) are sufficient.
reward if helpful
‎2008 Mar 26 7:18 AM
‎2008 Mar 26 7:21 AM
hi Bhushan,
Replace LEAVE LIST PROCESSING command with LEAVE SCREEN command
followed by SET SCREEN 0.
Reward points if useful
Chandra