Hello Gurus,
I hava a Query that has a variant.
I want the following: From a Report I want to get the variant change the values and execute the Query with the new variant changed?
I am using this, the name of the variant is ZHR0010, this FM Works ok, but my problema is how to change the values of the variant.
CALL FUNCTION 'RSAQ_QUERY_CALL'
EXPORTING
workspace = '' "global
query = 'ZHR0010'
usergroup = 'ZPEHR'
variant = 'ZHR0010'
skip_selscreen = 'X'
data_to_memory = 'X'
IMPORTING
ref_to_ldata = ref_to_datatab
EXCEPTIONS
.
Do you know how to change it?
I hope someone can help me please.
Thanks for your time.
regards.
.