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: 

Global display variant authorisations

IanStubbings
Active Participant
0 Kudos

Morning

Anyone know the authorisation to use to ensure that I can create global display variants for QM reports such as QA32? I thought it may be SD_VARIANT_MAINTAIN but this does not seem to make any difference.

Cheers

Ian

4 REPLIES 4

athavanraja
Active Contributor
0 Kudos

just try to create the variant, when you get the error message that you are not authorized. in the same window got to transaction SU53. this will tell you the authorization check which failed. this is one way of finding out. there may be other ways.

Regards

Raja

0 Kudos

Looks like the value is harcoded into the program:

DATA: G_VARIANT_SAVE VALUE 'U'. "Customizing variant.

Anyone know where I can change it in customizing? It needs to be 'A'.

Cheers

Ian

0 Kudos

if the value is hard coded like this within the program, there is no way you can change it, unless otherwise you modify the source, or copy it to your namespace and modify it.

Regards

Raja

0 Kudos

THanks for your help Raja

In the end the solution was not far away. A colleague of mine found in the area that I was in earlier.

Customizing->Quality Managment->Quality Inspection-> List Definition->Define Variants (List View Function).

Select this and then choose QA32/33 Inspection Lots. Then choose the bottom option Maintain Field Selection List. You are then presented with the program selection screen as you are in the previous two options. Crucially however, you need to execute the program and it then takes you into the list display maintenance.

It was the last step that was the breakthrough. I have documented it for future searches on the same subject.

Cheers

Ian