Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

simple qa--submit

Former Member
0 Likes
590

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???

3 REPLIES 3
Read only

Former Member
0 Likes
402

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

Read only

Former Member
0 Likes
402

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

Read only

Former Member
0 Likes
402

You have manually execute the program through F8 .