‎2007 Feb 19 8:58 AM
SUBMIT Z_REL
via SELECTION-SCREEN
USING SELECTION-SETS OF PROGRAM 'Z_CAL'
and return.
i get scr of z_cal with the paramters but what is the func to make execute--F8???
‎2007 Feb 19 9:02 AM
hi Rani,
do this way it has to be SELECTION-SET not SETS
SUBMIT Z_REL
via SELECTION-SCREEN
USING <b>SELECTION-SET</b> 'Z_CAL'
and return.
Regards,
SanTosh
‎2007 Feb 19 9:07 AM
Rani,
In your code you have forgot to write one line:
SUBMIT Z_REL
via SELECTION-SCREEN
<b>USING SELECTION-SET <VARIANT1></b>
USING SELECTION-SETS OF PROGRAM 'Z_CAL'
and return.
Here <Variant1> is variant created for report 'Z_CAL'.
See the below help for more info:
... USING SELECTION-SETS OF PROGRAM prog
Effect
Uses variants of the program prog when executing the program rep.
Note
Important
The programs prog and rep must have the same SELECT-OPTIONS and PARAMETERs. Otherwise, variants of the program prog may be destroyed.
Note
When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari. On the other hand, all variant-related actions on the selection screen of rep (Get, Save as variant, Display, Delete) refer to the variants of prog.
Example
SUBMIT REPORT01
VIA SELECTION-SCREEN
USING SELECTION-SET 'VARIANT1'
USING SELECTION-SETS OF PROGRAM 'REPORT00'
AND RETURN.
Effect
Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00.
Thanks
‎2007 Feb 19 9:09 AM