cancel
Showing results for 
Search instead for 
Did you mean: 

MIssing Authorisation for customer exit variable query

Former Member
0 Kudos

Hi All,

Following is the authorisation check log seen when a query with customer exit variable is executed. Dont know which authorisation is missing and needs to be assigned?

the log:

Authorization Check for Reporting Authorizations:

SUBNR 1

ZSALES_OFF Authorization Object Is Being Checked

T-BD72003100 Authorization Being Checked

0SALES_OFF

ZCU Customer Exit Called Up for This Variable

Authorized Values:

Checking the Selection of Values:

Reading Hierarchy Authorizations:

No hierarchy authorization could be read successfully

Check of Value Selections Against Hierarchy Authorizations:

Determination of Authorized Leaves:

[ BMUM , ][ 3 ,

Result of All Checks for the Characteristic

ZSALES_OFF Not All Authorization Checks for the Authorization Objetc Were Sucessful

Buffer for authorized leaves has been deleted

Compatibility Settings

Navigation Attributes Switched Off

Referenced Characteristics with Hierarchy Switched Off

Buffer Variables from Customer Exit Switched Off

Overall Result of Authorization Check:

Some Checks Were Not Successful

Areas in the Report that Were Not Displayed

CHANMID KID

86

0

=========================

Please refer to the link for additional info on the problem:

thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Experts,

Any suggestions on the same would be appreciated....

thanks,

Former Member
0 Kudos

Hi,

Are you using any hierarchy in the customer exit?.If so you have to create the authorization for Hierarchy in RSSM and assign to the Hierarchy Authorization Object

0TCTAUTH in the User role and mention the Hierachy Object created in RSSM

http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/57f438114ee836e10000000a114084/frameset.htm

regards

Happy Tony

Former Member
0 Kudos

Hello Happy Tony,

No. I am not using any hierarchy in the exit. My exit is as follows:

&----


*& Include ZXRSRU01

&----


IF i_step = 1.

DATA: v_user(12) TYPE c.

DATA: v_saloff(4) TYPE c.

DATA: l_s_range TYPE rrrangesid.

v_user = sy-uname.

CASE i_vnam.

WHEN 'ZCU'.

IF v_user = 'BW_SD_CUSTEX'.

v_saloff = 'BMUM'.

l_s_range-low = v_saloff.

l_s_range-sign = 'I'.

l_s_range-opt = 'EQ'.

APPEND l_s_range TO e_t_range.

ENDIF.

ENDCASE.

ENDIF.

===========

Please suggest..

thanks,

Former Member
0 Kudos

Hi,

Now tell about the Authorization you have given for the authorization Object containing ZSALES_OFF. Have you given the Authorization for "BMUM" in the Role maped to the User.

which info object you are using in the Infoproviders ?(SALES_OFF or ZSALES_OFF)

. use the same infoobject in the Authorization Object and assign the "BMUM" for the user

regards

Happy Tony

Former Member
0 Kudos

Hello Happy Tony,

Thanks for the prompt response and bearing with me.

i have assigned $ZCU value to zsales_off object in the role.

Zsales_off is a customised authorisation object created in RSSM with 0sales_off selected in it.

There is a customer exit variable created on 0sales_off object in the query with name ZCU.

0sales_off is used in infoproviders.

also i need to have different values for different logins and hence i am using customer exit. teh above mentioned code is a sample. Actually i will go ahead and make changes so as to refer a ztable for values and corresponding user logins.

Please suggest what needs to be done?

thanks,

Former Member
0 Kudos

Hi,

the i_Step should be 0 (i_step = 0)

check this link

http://help.sap.com/saphelp_nw2004s/helpdata/en/91/a62c42fb6fdd2ce10000000a1550b0/content.htm

regards

Happy Tony

Former Member
0 Kudos

Hi Happy Tony,

this is not the problem. it works fine with i_step=1 and sap_all profile attached.

it doesnt go in the customer exit for i_step=0.

some authorisation is missing. Please suggest if you can think of any specific authorisation meant to execute the customer exit.

thanks,

former_member498918
Participant
0 Kudos

I have a similar problem, but with a different customer exit. Did you find an easy way of finding out what the missing authorisation was? Is there some checks I can do. Nothing appears in SU53 or ST22.

Thank you

Karen