Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User-Specific Report Variants

Former Member
0 Kudos

Hi,

is there an easy way to assign a user-specific report variant without modifying the report or create own transactions. For example by assigning the report variant somehow to the user-parameter?

Thanks for your help,

Andreas

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor
0 Kudos

Hi,

Maybe you could play with the GET PARAMETER ID ...

Or maybe you could create a program that start the real program after selecting the default variant of the user. After you call the program with this variant.

SUBMIT REPORT01 
       VIA SELECTION-SCREEN 
       USING SELECTION-SET 'VARIANT1' 
       USING SELECTION-SETS OF PROGRAM 'REPORT00' 
       AND RETURN. 

Rgd

Frédéric

2 REPLIES 2

Former Member
0 Kudos

try checking sy-uname and modify the report accordingly.

FredericGirod
Active Contributor
0 Kudos

Hi,

Maybe you could play with the GET PARAMETER ID ...

Or maybe you could create a program that start the real program after selecting the default variant of the user. After you call the program with this variant.

SUBMIT REPORT01 
       VIA SELECTION-SCREEN 
       USING SELECTION-SET 'VARIANT1' 
       USING SELECTION-SETS OF PROGRAM 'REPORT00' 
       AND RETURN. 

Rgd

Frédéric