Skip to Content
0
Jun 08, 2020 at 12:16 PM

Getting default values of report selections

793 Views

Hi all,

I am trying to programmatically fetch default selection parameters and selection options of reports. However I don't seem to be able to find a function module that would accomplish this. There are multiple ways to get the values of a variant, but nothing I tried returns the default selection values of a report without a variant. I have tried the following function modules:

  • RS_VARIANT_VALUES_TECH_DATA: returns the selection values stored with the variant. Leaving variant empty returns no result.
  • RS_VARIANT_CONTENTS: does almost the same thing as RS_VARIANT_VALUES_TECH_DATA but also allows to leave the variant export empty in which case it returns all the selection screen parameters and selection options but without the default values.
  • RS_REFRESH_FROM_SELECTOPTIONS: does the same thing as calling RS_VARIANT_CONTENTS and leaving variant export empty.

Are there any function modules that I'm missing that would allow me to fetch the default selection values?

Thank you in advance.