cancel
Showing results for 
Search instead for 
Did you mean: 

what is USING SELECTION-SET in submit statement?

former_member182426
Active Contributor
0 Kudos

hi,

any body can tel me.

SUBMIT rptedt00

USING SELECTION-SET 'HRESS_TEDT00'

WITH pnppernr-low EQ i_pernr

WITH pnptimr6 EQ 'X'

WITH pnpbegda EQ i_begda

WITH pnpendda EQ i_endda

TO SAP-SPOOL

SPOOL PARAMETERS ls_params

WITHOUT SPOOL DYNPRO

AND RETURN.

here use of USING SELECTION-SET and which name we have to specify in quotes.

Regards,

Shankar.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188685
Active Contributor
0 Kudos
USING SELECTION-SET 'HRESS_TEDT00'   
WITH pnppernr-low EQ i_pernr
WITH pnptimr6 EQ 'X'
WITH pnpbegda EQ i_begda
WITH pnpendda EQ i_endda
TO SAP-SPOOL
SPOOL PARAMETERS ls_params
WITHOUT SPOOL DYNPRO
AND RETURN.

in the above code SELECTION-SET is nothing but Variant. so you need to specify the Variant name in Quotes. Go to the program rptedt00 and see which variant exists by executing the program , and you will be able to see the variant button in the selection screen next to execute button.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

USING SELECTION-SET <var>

This addition tells the system to start the called program with the variant var

You specify the variant in the quotes.

Check the below links

http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm

Hope this helps

Regards

Shilpa