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: 

Abap Report Authorization Checks

Former Member
0 Kudos
141

Hi. I have some question on customized abap report to be based on user role organizational level.

May I know how to program the abap report such that the report will show only data based on user role organizational level (Plant, Company, SalesOrg etc)?

For instance, if userA role organizational level for plant is plantA, the abap report will only show data for plantA. If userB role organizational level for plant is plantB, the abap report will show data for plantB.

May i know how to program the abap report?

Appreciate any guidelines.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
94

Hi,

Assign the Users with predefined roles.

Attach the Orn Units(Plants/St locn, CC/etc) in the roles .

create a Tcode for the report and attach that Tcode in that role.

So now the user can execute that report with that siplant to which he is authorised.

Hope this helps.

Regards,

Anji

Message was edited by:

Anji Reddy Vangala

3 REPLIES 3

Former Member
0 Kudos
95

Hi,

Assign the Users with predefined roles.

Attach the Orn Units(Plants/St locn, CC/etc) in the roles .

create a Tcode for the report and attach that Tcode in that role.

So now the user can execute that report with that siplant to which he is authorised.

Hope this helps.

Regards,

Anji

Message was edited by:

Anji Reddy Vangala

amit_khare
Active Contributor
0 Kudos
94

Check the link -

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos
94

Hi,

You can use AUTHORITY-CHECK OBJECT for the authorisation on the WERKS object and check for sy-subrc value to display your report.

Thanks,

stock..