‎2008 Jun 16 4:45 PM
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
‎2008 Jun 16 4:51 PM
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.
‎2008 Jun 16 4:52 PM
You need to use Authority-check statement in your report to check for all these authorization objects..
G@urav.
‎2008 Jun 17 11:41 AM
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.
‎2008 Jun 17 11:42 AM