Desired result is, that a SAP User with defined access rights can see and choose in the query input only those hierachie trees and leaves which he is authorized for.
The authorization rights for each single SAP User are available in a flat view consisting of (SAP User- Country -Region -- Company Code).
Current design Hierachy Tree:
A Hierachy Tree of 0HIER_NODE (Root=Betriebe Gesamt = All Plants), ZMO_CNTRY (Country Node = DE, AT), ZMO REGION (Region Node: BER, FRO), ZMO_CCODE (Company Code Leave=5070, 8000):
Current design - Query input:
The current input parameter allows the user to chose among any Country, Regions, Company Codes, if he is authorized or no. If the SAP User is not authorized, this results in a Autorization Access error, which is not desires.
Current design - Query result:
This visualizes the AfO result for a SAP User which is authorized for all countries, regions, company codes:
Current design – Query line:This is the design of the filter in the query, which brings the hierachy
Current design – above Query filter for multi entry selection:
Hierachy node, Mulit entry, input ready variable of the filter which allows the multibed entry
Current design – Authorization filter:
Authorization Variable which limits the user only to the authorized Country Region Company code
The Analysis authorization object ZMO_CODE is defined and this pulls out via an Badi Exit $ZMO_VAR_COMPCODE02 dynamically, user dependant the relevant Company code authorizations, what brings if violated, if he requests in the tree Countries, regions or company codes he*s not assigned to the AfO the “…not authorized message…”
Further more ZMO_CNTRY , ZMO REGION (and ZMO_CCODE) is authorization relevant and have the same methods, antries in the authorization objects and variables like $ZMO_VAR_COMPCODE02 applied
----->>>>>
What now the mult millon $ design to have in the AfO Input Parameters only the tree compontents a user is authorized for ?
<<<<---------------
For example a user is just Autorized for Country = DE, Region=BER, Company Codes 5070, 5150, 5160 this result:
…and not this:
What are the customization to be used to have in an input Parameter a customized list, according to authorizations ?
Thank You !
Best Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
6 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 |