Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Modify variant associated with a Query

$
0
0

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.

 

 

     .


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>