on 12-05-2012 2:24 PM
Hi masters, I have a doubt and need your help to drive me to the correct solution.
I have an application in SAP MII 12.2.2 where the users should process their production orders. The problem is that everybody can open and execute every process order without any filter.
Now we have to implement a filter by order type (AUART), what kind of solution do you recomend for me ?
To simplify the user administration I thought in use UME roles but I don´t know where I can persist the order types (AUART) of each role.
Just an idea,
You can define AUART as custom attribute and map it with UME roles.
based on login role you can restrict the view or restrict the processing of other type orders.
Regards
Anshul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anshul, thank you for your answer.
This should be the more easly solution, but have 2 limitations if I use custom attributes:
* if the users have more than one UME roles, the custom attribute will be replaced and I need all the AUARTs of every roles, my users can have several roles.
* each role should have several AUARTs and the custom attribute can define just 1 single value (so I still could use this single value to define an array of strings as a work around like "AUART1;AUART2;AUART3")
If I were going to use the UME for this I would probably just create roles for each order type using a consistent naming convention like 'ZMII_AUART_PMO1' and parse out the order types from the users role list at runtime. If you have consistent groupings of types for your users you can create some groups in the UME to simplify Role assignment.
Hi Christian, Austin and everybody, thank you for your answers.
I think this is the more performatic solution:
•Establish a Datasource connection to the Netweaver database and query the UME tables directly
So I am trying to establish the datasource connection, to achieve this do I have to configure a SAP MII data server of type IDBC ?
taking into account that my database is a db2 database, the JDBC driver com.inet.tds.TdsDriver should work ?
If somebody has a server url sample, I will apreciate if you could share it.
with this query I can get the ID of some user
SELECT PID FROM sapmiddb.UME_STRINGS where ATTR = 'j_user' and val = 'michel'
with this query I can get the id of some role:
SELECT * FROM sapmiddb. UME_STRINGS where attr = 'uniquename' and val ='F_DRJ_PPA_OPERADOR_PESAGEM'
which is the table to get the roles of a specific user ?
Hi Michel,
Why not have a Master table where you maintain mapping of Roles against AUARTs somewhere and use it to Filter Production Orders by AUARTS, indirectly by Roles
Regards,
Austin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michel,
I suspect most of us have no idea how this would work. Can you restrict changes for each specific Production Order on the ERP side?
Regards, Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any idea ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.