Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9155

Re: go to same selection screen with same values when user clicks on back button of selection screen after selection screen dynamically changes .

$
0
0

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

2013-09-12 11_48_07-e3e.jpg

And then execute the report.It displays the following screen with our custom back button.


2013-09-12 11_49_43-e3e.jpg

And then click on back button it goes to our selection screen. and it contains the given input values.

2013-09-12 11_51_58-e3e.jpg

2013-09-12 11_54_11-e3e.jpg



Viewing all articles
Browse latest Browse all 9155

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>