Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

what is USING SELECTION-SET in submit statement?

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.

Former Member
replied
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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question