Application Development and Automation 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: 
Read only

Authorization Checks for a document

0 Likes
1,298

Hi Guys!

I created a Report for a customer. Now I need to implement a Authorization Check into the Report. The requirement are :

The user who executes the report shall have access to the line items if they fulfil the following checks

cost center access check:

F_FICA_FSG

FM_AUTHACT: Activity = 03, 11, 21

FM_AUTHGRC: FM: Funds center authorization = authorization group of the funds center of the line item.

FM_FIKRS: Financial Management Area = 1000

cost object access check:

F_FMMD_FAR

FM_AUTHACT: Activity: Authorization check = 03, 11, 21

FM_FIKRS: Financial Management Area = 1000

FM_GRP_FAR: FM: Authorization Group of Functional area: = auth. group of FUNCTIONAL_AREA of the line item.

cost type access check:

F_FICA_FPG

FM_AUTHACT: Activity: Authorization check = dummy or * Financial

FM_AUTHGRP: Authorization Groups of the commitment item = authorization group of the commitment item of the line item

FM_FIKRS: Financial Management Area = 1000

I have no Idea how to start! Are there any FM, I can use ?

Would be great if could give me a hint.

Thanks a lot!

Benjamin

4 REPLIES 4
Read only

ThomasZloch
Active Contributor
0 Likes
1,006

looks like a precise specification to me.

You check authorization objects in ABAP code with statement AUTHORITY-CHECK. You can pull a pattern for a particular object (e.g. F_FICA_FSG) into the code and work from there.

Also check out the F1-Help for this statement.

Thomas.

Read only

Former Member
0 Likes
1,006

You need to use Authority-check statement in your report to check for all these authorization objects..

G@urav.

Read only

0 Likes
1,006

Thanks Guys!

I solved the Problem. I used the FM :FMRP_AUTHORITY_CHECK

it was easiert, because this FM collecting all needed Data.

Anyway - it is good to see that this forum is alive.

Read only

0 Likes
1,006

see last entry. Cheers