cancel
Showing results for 
Search instead for 
Did you mean: 

Finding Authorization User in Exit during Broadcast

Former Member
0 Kudos

Friends,

I have enhance the authorization check for an info object (characteristic) in User Exit ZXRSRU01. I am looking up the authorizations in a custom table base on the user name running the query. This work quite well.

My problem is that when I create broadcast settings for queries that call this user exit it is using the authorization maintained for the user name that scheduled the broadcast run. My exit takes the user name from sy-uname.

Somewhere the authorization user maintained in the broadcast setting must be available in ABAP. Can anyone point me in the right direction?

Regards,

KB

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

OSS helped me out.

Former Member
0 Kudos

Can you please share this with us

Former Member
0 Kudos

try blog below:

/people/peter.john/blog/2009/01/14/bw-analysis-authorizations-execute-as-trick

Former Member
0 Kudos

Hi,

I am trying execute the reports through Broadcasting with Authrization user by different logging portal user id. I am not getting the expecting output. I am using DSO look based user role authorization object with user exits values and then I am using authorization variables in Query and Its working through portal user id with same user id of single sign on but in BEx broadcasting is not working.

Thanks,

Gurivi Reddy Naguru.

Former Member
0 Kudos

I thought I found the answer, I used this code:

IMPORT uname = c_uname FROM MEMORY

ID 'RSECUNAME'.

IF sy-subrc <> 0.

c_uname = i_uname.

ENDIF.

Which works find in RSECADMIN when using a different user than the dialog, but when I use a different authorization user in broadcast it does not find a value in RSECUNAME.

Does anyone have an idea where to get it during a broadcast session?

Former Member
0 Kudos

I found the answer in authorization debugging in RSRT.