Reply: 6

Auto translated

Authorization in Report Painter reports possible?

Hello All,
is it possible to set up permissions in Report Painter reports? We want to have a report that some users can access. But each user should only see the data from the company code(s) they are authorized for.
Addendum: I found this thread here: https://fico-forum.de/fico_forum/thread....1&thread=65 with the tip to use the GRWTAUTH extension.
This FB would then be during the selection: EXIT_SAPFGRWS_001 - Customer exit: Authorization check at single record level in selection
This FB would then already be on the selection screen: EXIT_SAPFGRWX_001 - Customer exit: Authorization checks on initial screen
If there is no other possibility than to use this user exit, then EXIT_SAPFGRWX_001 would probably be suitable to check the company code already on the selection screen.
Thanks a lot
Exberiner

Last edited 03.06.22 09:32

You must be logged in to post a reply.

Login now

6 Answers

  • christian.wahner
    christian.wahner
    Service,
    Why don't you "simply" create a Z-transaction for this report and then assign the rights for KOKR, BUK etc. in the objects.
    This can best be integrated into an authorization concept.
    VG Christian
  • exberliner
    exberliner (Author)
    Hello Christian,
    what do you mean? I'm afraid I don't quite understand yet. If I create a Z-transaction for a Report Painter report, this is just another way to call the report instead of using GR55. The query in the Report Painter report for authorization is still not there.
    Thanks
    Exberliner
  • christian.wahner
    christian.wahner
    Hello,
    of course I don't know the authorization concept.
    But through a Z-transaction you have the possibility to include the authorization objects.
    Cost center, internal order, company/accounting area etc. can be restricted by this.
    Of course you need an appropriate role to assign to the user.
    I have attached a screenshot.
    Also a screenshot for the SE93. Here I have also added a selection variant. The user gets a suggestion when calling the transaction.
    The transaction GR55 is not called.
    If the transaction GR55 is assigned, depending upon Berchtigungskonzept, that would be fatal. Possibly the user sees all reports.
    VG Christian
  • AFR
    AFR
    Hello all,
    Report Painter / Writer use the normal authorization objects.
    A Z transaction only facilitates calling the report.
    A role is needed with the appropriate restrictions on company code, controlling area, etc.
    You can use TCode STAUTHTRACE to see which authorization objects are queried when the report is run.
    Many greetings
    AnWo
  • exberliner
    exberliner (Author)
    Hello together,
    thanks a lot for your help! This has put me on the right track....
    SAP has changed the authorization check with note 1001733, and currently checks the profit center authorization, and no longer the bukrs authorization. If you want to reactivate it (authorization object G_REPO_LOC) you can do that as described in 1974788. I did this once and checked with an authorization trace - works. After I entered the authorization exit in the GRCT at FAGLFLEXT (E14 instead of E63) the company code is checked in addition to the profit centers. NOTE: we are on S/4HANA here, but still use Report Painter for this complex report for various reasons.
    Regards
    Exberliner
  • christian.wahner
    christian.wahner
    exberliner:
    Hi all,
    thanks for your help! This put me on the right track...
    SAP changed the authorization check with note 1001733, and currently checks the profit center authorization, and not the bukrs authorization anymore. If you want to reactivate this (authorization object G_REPO_LOC) you can do that as described in 1974788. I did this once and checked with an authorization trace - works. After I entered the authorization exit in the GRCT at FAGLFLEXT (E14 instead of E63) the company code is checked in addition to the profit centers. NOTE: we are on S/4HANA here, but still use Report Painter for this complex report for various reasons.
    Greetings
    Exberliner
    Great! My information was based on ERP 6.18/NW 7.50.

    Last edited 10.06.22 13:06