Hi,
Below is my code.
CASE sy-ucomm.
WHEN 'EXIT'.
PERFORM f_exit_program.
WHEN 'BACK'.
SET SCREEN 0.
CALL SELECTION-SCREEN 1000 . "DEVK933227
LEAVE to SCREEN 0.
WHEN 'CANCEL'.
PERFORM f_exit_program.
ENDCASE.
FORM f_exit_program .
CALL METHOD gc_zcontainer->free.
CALL METHOD cl_gui_cfw=>flush.
IF sy-subrc NE 0.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = sy-repid
txt2 = sy-subrc
txt1 = 'Error in Flush'(032).
ENDIF.
leave screen .
ENDFORM. " f_exit_program
It has two radio buttons local currency and group currency.
When I run the report using local currency output is displaying.
When I click on the back button it is going to selection screen.
when I again run the report using the group currency.
It is going to SAP Easy Access screen.
Please let me know, how this report run for the second time (group currency).
Thanks,
Pavan.