Skip to Content
author's profile photo Former Member
Former Member

CHECK AUTORIZATION KSB1: Controlling object K_CCA in specific report

Hello,

We have different specific program controlling the field "COST CENTER".

We want controlling in these programs the authorization object "K_CCA" with the famous field "RESPAREA". The goal is to implement the same controlling used by the program of KSB1. I search the function Module used by this program to controlling all authorization hierarchies managed by this field using the authorization object "K_CCA".

In advance thank you.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 17, 2011 at 12:22 AM

    Not sure what exactly do you want to accomplish, but you could use an authorization trace (via transaction ST01) to see how KSB1 performs checks against the object K_CCA, then program your own checks similar to that.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2011 at 09:00 AM

    Hi ,

    Use this code in your program with proper events.

    AT SELECTION-SCREEN.

    AUTHORITY-CHECK OBJECT 'K_CCA'

    ID <field>' FIELD <field>

    ID 'ACTVT' FIELD '03'.

    This is helpfull in your authorization issue. And properly debug your program.

    Reagrds

    kamal kishore

    Add a comment
    10|10000 characters needed characters exceeded

    • That's because the authorization checks are performed by some other function module(s) called by main program RKAEP000 (which is the report started by transaction KSB1).

      The suggested authorization trace does show the actual checks against object K_CCA and what parameters are used for it. You'll have to do some debugging to find exactly where these AUTHORITY-CHECK commands are.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.