Determine the role of the logged in User
Dear experts,
I am working on SRM 7.0 version, I want to determine wether the logged in user is an approver, buyer or a general user ( Role determination ). Can you please suggest a way for this.
Thanks & Regards,
Murthy
Hello Murthy,
What about simply use function module BBP_USER_GET_DETAIL with importing parameter USERNAME = SY-UNAME ?
You will get all user's roles in table ACTIVITYGROUPS.
Regards.
Laurent.
Similar Messages
-
How to capture the role of the user logged in CRM
Hi
How to capture the role of the user logged in CRM so as to restrict the Account group selection ; While creating a sales Order .
Can we deternine the profile in the related view .If so how , and what tables can we use to do so.hi,
I think you should check CRM table AGR_USERS.
Regards
Michael -
How to get the Role of the logged in User?
Hi All,
Enclosed below is the code am trying to use to get the role for a logged in portal user. But it fails
1. Due to class path errors although I have imported the necessary jar files.
2. Am unable to invoke/find getSAPUser() method or invoke the UMFactory.
Iterator rit = null;
IWDClientUser clientUser = WDClientUser.getCurrentUser();
IUser user = clientUser.getSAPUser();
rit = user.getRoles(true);
IRoleFactory rfact = UMFactory.getRoleFactory();
while (rit.hasNext()) {
String roleName = (String) rit.next();
IRole role = rfact.getRole(roleName);
wdContext.currentContextElement().setRole(role);
What could be the problem and what are the jars that need to imported as I am using EP7.0
Thanks for all your help in advance.
Best regards,
DivyaHi Divya,
Add WD_RUNTIME/com.sap.security/lib/com.sap.security.api.jar to your project`s java build path.
Best regards, Maksim Rashchynski. -
You can get Roles but can you get the Role of the user
Can you display or hide items dependant on the roles of the logged in user is assigned too.
I know you can do this for the menu using menu.json
"visible": true,
"applyIf": {
"userHasRoles": ["Administrators"]
But what about for other elements inside the app. Is there a way to get the roles of the user logged in.
Is this missing as a feature or am I missing some pieces.I just want to hide or remove a page element ie if(adminUserRole != 'Admin') {$('#element').remove}. Just some way to see the roles of the admin user that is logged. But yes early days.
On a side note BC are looking to launch the project and advertise the store on the 17th is this not a bit ahead of themselves if there is a potential that apps functionality may be reduced because of new policies, restrictions etc even if only temporarily. Once apps hit the masses this may cause some tension when people loose functions they once had.
Edit :Ok BC have already changed the date of the launch. I jumped the gun in saying this as they have it all under control. -
Getting the role of the user running the report?
Hello,
I'm doing a report with Answers and need to recover the role of the user running the report. Is it possible?
ThanksYou can use any of the below Session Variables, click the Fx and enter the below
VALUEOF(NQ_SESSION.displayname) - Displays the Full Name of the User that is logged in and running the report for that session
VALUEOF(NQ_SESSION.user_alias) - Display's Alias Name of the User that is logged in and running the report for that session
For the role, I don't think there is a Session Variable.
Cheers!
Royston
Edited by: Royston Goveia on May 24, 2012 12:50 AM -
From which table we can get the Role of the User in SRM
Hi All,
I need to prepare a report which displays the user and his role in srm. So from which table i can get the role of the user if i have the Userid.
Thanks
Channappa SajjanarHi
t- code
SUIM->rOLES->BY USER ASSIGNMENT
SELECT WITHASSIGNMENT OF USER = username
AS A OUTPUT YOU MAY GET ROLE ASSIGNED TO THAT USER.
if you want which FM - you debug while executing this report.
regards
Muthu -
Error in "Configure the Role of the Integration Service",pls,help me :-(
Hi Guru:
When i run the Template Installer,I got the following error in the step 19:"Configure the Role of the Integration Service"
===================================================
Element 'SXMB_SET_ROLE_TO_IS':ONLY_ONE_CENTRAL_XMB
Element 'SAPDEMO.E01.Backend.Unclassified':!AbapConfigurationWriter.FM_CALL!SXMB_SET_ROLE_TO_IS!AbapConfigurationWriter.FAILED!
===================================================
What can i do whit this error?are there anyone who encountered this problem so far?
Best regards
alex zhangHi,
Are you installing temp. Installer with Admin user id, make sure this user should have all necessary roles for installations. Check and try to login in SDM.
THanks
Amit lal
Reward points if answer suits your requirement. -
I would like to know the role of the each thread on coherence
Help me.
I would like to know the role of the each thread on coherence.
There are too many kind of threads.
Example ~
GC Slave GC Slave RUNNABLE
RMI TCP Accept-1972 RMI TCP Accept-1972 RUNNABLE
Health Center trace subscriber Health Center trace subscriber RUNNABLE
LT=0:P=342534:O=0:port=55170 LT=0:P=342534:O=0:port=55170 RUNNABLE
Attach API wait loop Attach API wait loop RUNNABLE
PacketListener1 PacketListener1 RUNNABLE
PacketListener1P PacketListener1P RUNNABLE
PacketListenerN PacketListenerN RUNNABLE
Cluster|Member(Id=1, Timestamp=2013-04-05 10:45:44.655, Address=192.168.240.157:8088, MachineId=50044, Location=site:,machine:TMTEST-PC,process:5316, Role=CoherenceServer) Cluster|Member(Id=1, Timestamp=2013-04-05 10:45:44.655, Address=192.168.240.157:8088, MachineId=50044, Location=site:,machine:TMTEST-PC,process:5316, Role=CoherenceServer) RUNNABLE
RT=0:P=342534:O=0:TCPTransportConnection[addr=192.168.240.157,port=55178,local=55170] RT=0:P=342534:O=0:TCPTransportConnection[addr=192.168.240.157,port=55178,local=55170] RUNNABLE
Finalizer thread Finalizer thread RUNNABLE
WT=10 WT=10 RUNNABLE
main main TIMED_WAITING
IpMonitor IpMonitor TIMED_WAITING
Invocation:Management:EventDispatcher Invocation:Management:EventDispatcher TIMED_WAITING
Invocation:Management Invocation:Management TIMED_WAITING
DistributedCache DistributedCache TIMED_WAITING
JMX server connection timeout 52 JMX server connection timeout 52 TIMED_WAITING
RMI Scheduler(0) RMI Scheduler(0) WAITING
Thread-6 Thread-6 WAITING
stop JMX Server on shutdown stop JMX Server on shutdown WAITING
Logger@9228429 3.7.1.7 Logger@9228429 3.7.1.7 WAITING
PacketReceiver PacketReceiver WAITING
PacketPublisher PacketPublisher WAITING
PacketSpeaker PacketSpeaker WAITING
WT=7 WT=7 WAITING
WT=9 WT=9 WAITING
-----------------------------------------------------------------------------------------------------------------------------------------------Briefly
PacketListener1 PacketListener1P PacketListenerN - listening IO threads for TCMP transport protocol
Cluster|Member(Id=1, Timestamp=2013-04-05 10:45:44.655, Address=192.168.240.157:8088, MachineId=50044, Location=site:,machine:TMTEST-PC,process:5316, Role=CoherenceServer) - main thread for cluster service (discovery, node joing / leave, etc)
IpMonitor - IP monitor, participates in death detection scheme
Invocation:Management:EventDispatcher - Event dispatch thread for distributed JMX service in Coherence
Invocation:Management - main thread for distributed JMX service in Coherence
DistributedCache - main thread for DistributedCache cache service
Logger@9228429 3.7.1.7 - Coherence async logging thread
PacketReceiver - Thread dispatching incomming network packets
PacketPublisher - Thread sending out packets via TCMP
PacketSpeaker - Thread sending out packets via TCMP (offloads some work from PacketPublisher for better core utilization) -
Assigning the role to the group using MAXL
Hi,
We are using Essbase 11.1.1.3 and Hyperion Financial Reports 11.1.13.
I have created a role called "Standard_user_HFR" in shared Services and assgined Explorer and viewer to the role and i need to assign the role to the groups and i have around 1600 groups to which i have assign the role. Is there any Maxl Script to assign the role to the groups. As of now i am manually adding the role to the group.
Regards,
VJAlso look into Aggregated Roles to possibly reduce the number of Groups.
Oracle states:
Aggregated roles, also known as custom roles, aggregate multiple predefined application roles. An aggregated role can contain other aggregated roles. For example, a Shared Services Administrator or Provisioning Manager can create an aggregated role that combines the Planner and View User roles of a Oracle Hyperion Planning, Fusion Edition, application. Aggregating roles can simplify the administration of applications that have several granular roles. Global Shared Services roles can be included in aggregated roles. You cannot create an aggregated role that spans applications or products.
Thank you,
Todd Rebner -
What is the role of the Email Def field in 'Password Warning Task'?
I created a custom Email Def in DC and provided its name in 'Email Definition Name' field under Parameters. But when I ran the job, that email def was not picked for sending email. Instead a notification template 'Password Warning Notification' was used.
Not understanding the role of the 'Email Definition Name' field.
ThanksThe Notification framework has taken over the OOTB Email functionality and Email Definition from The Design Console is not used OOTB...
However, it is still provided for the sake of back-ward compatibility..
Also, you can still use the Email Definition from DC in your custom java code to send Emails... We still do it in some projects...
To leasrn more about Notification services follow this link:-
If it is OIM 11G R2
http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/notpart.htm#sthref1373
And if it is OIM 11G R1:-
http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/notification.htm#OMADM4443 -
What BAPI's use the ERM of the SAP GRC AC 5.3 to create the roles in the R/
Hello,
Does somebody knows what BAPI's use the ERM of the SAP GRC AC 5.3 to create the roles in the R/3?
Thank you in advance.
Pablo Mortera.Pablo,
I don't have access to the system right now. Go to SE38 and search for 'Virsa' BAPIs...it will list all the ERM BAPIs under RE. The naming convention is pretty straightforward so you will be able to find a create role BAPI. If you open this BAPI, you will be able to find the SAP delivered BAPI which is being used in PFCG.
Alpesh -
What is the role of the internet in using Home Sharing. Does using home sharing use up my limited amount of available internet download ?
Thanks Mike AndersonHome sharing allows you to play music across devices via wifi, so it shouldn't impact your limited amount. Think of it as streaming as opposed to downloading.
-
Error of "Configure the Role of the Integration Service"
Hi Guru:
When i run the Template Installer,I got the following error in the step 19:"Configure the Role of the Integration Service"
===================================================
Element 'SXMB_SET_ROLE_TO_IS':ONLY_ONE_CENTRAL_XMB
Element 'SAPDEMO.E01.Backend.Unclassified':!AbapConfigurationWriter.FM_CALL!SXMB_SET_ROLE_TO_IS!AbapConfigurationWriter.FAILED!
===================================================
What can i do whit this error?are there anyone who encountered this problem so far?
Best regards
alex zhangHello Alex,
To avoid problems while using the template installer please check prerequisites for post-installation in SAP documentation. That information can be found in SAP Help Portal (http://help.sap.com --> SAP Netweaver --> Installation and Upgrade guide --> Installation --> 2 - Installation - SAP Netweaver 2004s --> SAP NetWeaver 2004s Installation Documentation).
Select your Operating System and Database and look for 'Post-Installation Steps for Usage Type *' in the dedicated document.
Important: You cannot use the template installer after
Upgrade
Add-In installation (Exception: Configuration of Usage Type BI-Java can be
executed after Add-In Installation)
Additional usage type enablement
System copy
Check this Note it may help you :
Note 923359 - Collective Note: Template Installer (CTC)
regards
Prasad -
Problem while assigining the role to the user
Hi,
I have creadted one new user and role. then add some worksets which exists in another folder.
when logged to the new user i can able o see the worksets with error message.(which is working fine with old user)
Please help me how to add the worksets to the new role.
Error Message
com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:455)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
at com.sap.mw.jco.JCO$Pool.initPool(JCO.java:4662)
at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6060)
at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6015)
at com.sap.mw.jco.JCO.getClient(JCO.java:8663)
at com.sap.mw.jco.webas.WebDynproExtension.addClientPool(WebDynproExtension.java:133)
Please tell me how to solve this problem.
Edited by: Srinivas Reddy K on Feb 13, 2008 8:49 AMHello Srinivas,
The issue is not with the user, the problem is with the JCo connection user,
navigate to Content Administration-> Web Dynpro-> Maintain JCo connections.
and Test all the JCo connections which are green and make if there is any error click on edit and check whether the user and password you gave for the connections are working or not.
If the test fails, go to SU01 t.code and change the password or unlock the user. it will resolve the issue.
Most of the cases the user used is locked.
Hope this helps,
Cheers-
Pramod
Reward Points if Helpful. -
Hello:
Is there a way by which I can find the role(s) assigned to the user with which log-in into the system.
Regards,
Mohitdba_role_privs if you have DBA privileges otherwise user_role_privs.
Maybe you are looking for
-
toplink 9.0.4.5 migration to weblogic 10.3.5 is not working I am migrating a J2EE based application runing on OC4J to weblogic 10.3.5 , it uses toplink.jar version 9.0.4.5, after deploying the ear I am getting the following java.lang.NoSuchMethodErro
-
When I load some tif files the foreground / background color option is greyed out - I can only draw write etc in shades of grey. What is happening? How do I get full color control back? thanks
-
Encryption results in 8i and 9i are different
I have the problem with encryption of data with DES key (DBMS_OBFUSCATION_TOOLKIT package). Encryption resuls are different in 8i and 9i database. I have data encrypted in 8i db and i am unable to decrypt them in 9i db. Have anyone same experience an
-
Import Wizard Not Translating CMS_HOST to Correct IP Address
I'm trying to run the BOXIR2 import wizard to import objects from PROD to DEV. The PROD server was moved several months ago, and this is the first time the import wizard has run since then. When I type in the CMS_NAME of the PROD host, I get an err
-
My ipod doesn´t answer..!! help me!!!
i really need help... i don´t know what to do, i was downloading music rom my computer, i disconnected my ipod and then it stayed with the screen saying ready to disconnect and it won´t let me turn it off or reset it or anything... if someone can hel