02-13-2015 1:49 PM
Hi,
In my program am using submit syntax but it takes place to that programs selection screen.
Both program selection screens are same only so i dont want to re enter the same select options second time.
My code is submit zprogram with plant in so_plant
with exnum in so_exno and return.
both selection screen and select options are same only..Then why it showing second
time (selection screen)???????????
02-13-2015 2:43 PM
Hello Anitha!
Your code should work OK, but if it doesn't then try to use the code like this:
DATA t_sscr TYPE TABLE OF rsparams.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = 'ZCURRPROG'
TABLES
selection_table = t_sscr
EXCEPTIONS
not_found = 1
no_report = 2
OTHERS = 3.
IF sy-subrc = 0.
SUBMIT zcallprog WITH SELECTION-TABLE t_sscr
AND RETURN.
ENDIF.
ABAP source code in this document was coloured using the ABAP code lighter for SCN.
Best regards,
George Shlyahov
02-16-2015 11:49 AM