2015 Feb 13 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)???????????
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)???????????
2015 Feb 13 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
2015 Feb 16 11:49 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |