Hi karthik,
As of my knowledge,i tried your requirement through the following sample program.. Check it once it is useful to u.
REPORT ZCC.
DATA:
lv_file type string.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETERS: p_fpath TYPE ibipparms-path OBLIGATORY, "Input file path
p_logf TYPE string OBLIGATORY, "Log file path
p_trun AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK b2.
*For getting F4 Help to p_fpath.
*For getting F4 Help to p_fpath.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fpath.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_fpath.
START-OF-SELECTION.
lv_file = p_fpath.
WRITE:/ lv_file.
MESSAGE 'Success' TYPE 'S'.
set PF-STATUS 'ZSAT'.
at USER-COMMAND.
CASE sy-ucomm.
when 'BACK'.
submit ZCC VIA SELECTION-SCREEN.
ENDCASE.
initial selection screen
And then execute the report.It displays the following screen with our custom back button.
And then click on back button it goes to our selection screen. and it contains the given input values.