How to check Role based on the User ID
Hi All,
Based on the User ID how to check the role of the particular person[ex Employee / Manager etc].In HR module in which table the details are present.
Thanks.
Regards
Tina
Hi Tina,
Use FM: <b>HR_GETEMPLOYEEDATA_FROMUSER</b>
This will give you all info related to User ID.
In parameter EMPLOYEESUBGROUP , you will get position of this employee.
Hope this helps.
Regds,
Akshay Bhawgat
Note: Some points would be nice if it helps.
Message was edited by: Akshay Bhagwat
Similar Messages
-
How to hide iviews based on the user groups?
Hi,
I have a custom role with workset, page and iviews.
The page has 5 iviews.
User group1 can see 5 iviews in the page.
Now user group2 wants see only 3 iviews in the page (same role).
Without creating another role for user group2, How can I hide the iviews based on the user group?
Is this possible?
Thanks
SundarHi Sundar,
I guess to achieve this, you have to set the permissions at iView level.
For this, go to System Admin -> Permissions -> Portal Permissions. Now navigate to your iView using the folder structure, do right-click on the iView and click on Open Permissions.
Search for the particular group and add that and assign the privileges accordingly. You can remove Everyone group from the iView .
Hope this will solve your problem.
Regards,
Saurabh Mathur -
How to check who had deleted the user?
Hi all,
An important user got deleted in the EP production server.4 people are having administartor access.How to trace who deleted the user?Is there anyway to trace this?
Thanks and Regards,
RajeshHi Rajesh,
you can check the ACL Audit Logging as described here: http://help.sap.com/saphelp_nw70/helpdata/EN/f7/61c01fbf2b4c4891e586ca5a44a351/frameset.htm
In the security.<n>.log should have an entry like this
<user ID> ACL.USER.DELETE <deleted user ID>
Hope this helps,
Robert -
How to identify which record(s) the user hasbeen checked
i have a internal table in which first field is represented as check box in the output .
like bellow
loop at g_it_final into g_wa_final.
write : 5 sy-tabix ,
20 g_wa_final-g_v_check as checkbox,
25 g_wa_final-TRKORR,
40 g_wa_final-AS4TEXT.
endloop.
now the user will select some records from the output checking the check box
NOW the QUESTION is
how to identify which record(s) the user hasbeen checked(selected) ?
so that i can disply only the selected records in the secondary list.Hi,
You will have to use the 'READ LINE' command within a loop to retrieve the data back into your program.
You may want to use the HIDE command to ease the retrieval of the checkbox value.
Check out the online help for both of these.
Darren -
Purchasing Group authorization based on the user
Hi All,
Can anyone suggest me ideas on how to restrict in accessing details of a PO for a purchasing group based on the user who tries to access it .
the object is M-BEST_EKG.
need guidance in using AUTHORITY_CHECK in restriciting PO group based on the userid.
Thanks in advance.
Regards,
RyHi,
ACTIVITY controls what user can do to the PO.
01-Create
02-Change
03-Display
EKGRP controls the purchasing group
To restrict to a specific purchasing group, modify the authorization object in the role which user has to allow the specfic P.Grp. only
Cheers ! -
Determine Business partner number based on the user id
Hi all,
Is there a way to determine the BP number of an employee based on the user id. The employee is created as a BP with role Employee in the system.
I'm checking USR02 and BUT000.. But i find no link between them.
Thank you,
PreethiHi Preethi
Try this
*Get the BP Guid by passign the user name here
CALL FUNCTION 'BP_CENTRALPERSON_GET'
EXPORTING
IV_USERNAME = lv_username
IMPORTING
EV_BU_PARTNER_GUID = lv_bp_guid
EXCEPTIONS
NO_CENTRAL_PERSON = 1
NO_BUSINESS_PARTNER = 2
NO_ID = 3
OTHERS = 4.
*Get the BP Numbere here
CALL FUNCTION 'CMS_BUPA_NUMBERS_READ_BL'
EXPORTING
IV_PARTNER_GUID = lv_bp_guid
IMPORTING
EV_PARTNER_ID = lv_bpnumber
EXCEPTIONS
NO_PARTNER_SPECIFIED = 1
NO_VALID_RECORD_FOUND = 2
INCONSISTENT_PARAMETERS = 3
NO_ADDRESS_FOUND = 4
OTHERS = 5.
Reward if this helps.
Thanks -
Pdfwatermark based on the user who login
Hi,
I wanted to know whether we can apply pdfwatermarking to documents based on the users who logs in?how?
Thanks in advanceI just got your point: you want to determine the rule, not the text in the PDF Watermark itself.
I'm afraid, this is not possible - at least, OOTB. The rules really have criteria based on metadata of the document only - see http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/e01_user_if.htm#CACCAGAB
I can think of two ways how this could be resolved:
- text in the template would be so dynamic, that it'd opt to blank if necessary (this requires that PDF templates may accept idocScript, which I do not know if true)
- at the caller side or somehow in the processing of the called service (so that Watermarking is by-passed)
It'd help if you describe your business scenario.
P.S. I've just seen you described your scenario. So, it eliminates the option b) - just check if you can use idocscript in the templates, then.
Edited by: jiri.machotka on Apr 2, 2013 3:21 PM
Edited by: jiri.machotka on Apr 2, 2013 3:33 PM -
Report based on the user profile
Hi,
i'm trying to create a report with Oracle Report6i based on the user profile.
I created a form with many Lovs, so that i can choose the parameter to send to the report (using a java script).
I also would like to send the user that's currently logged in, just in order to filter the output.
How can i use the api wwctx_api.get_user in the java script ?
Thanks.Hi,
It is not possible to use the api directly in javascript. Maybe you pass it as a parameter to a javascript function.
Thanks,
Sharmila -
Restricting the population of data based on the user & his organization
Hi,
I want to have following requirement fulfilled
Suppose there are 3 company codes under one company.
I do not want a user of one company to see the data of another company code or plant.
For example:
Selection of PO from drop down list or selection of vendor from drop down list in case user is searching for them in any of the transaction.
He should see only the vendors for he is responsible or he should see only those PO numbers which are relevant for his organizational unit.
He should not be able to see other data.
There are similar kind of restrictions required .
How this can be achieved.How can we restrict system in populating this ?
Thanks in advance
manOOAuthorizations can be restricted by company code and purchasing organizations. Standard SAP transactions and reports have checks that ensure that the user sees only those records for which he is authorized.
Lakshman -
Data view web part to display the most frequently accessed pages based on the user that is logged in
I am working on a project in which I would like to display the top 5 most accessed pieces of content as links, based on the user that is logged in. Our MOSS 2007 implementation has subsites for all regions that we do business in, as an example North, South, East, and West. When a user visits the North region homepage, I would like a web part to display:
Hello, <username>, here is a listing of your most accessed content:
Link to One
Link to Two
Link to Three
Link to Four
Link to Five
So each user would get a customized list based on their content access. We are not using my sites, but these would not work as we want the list to display on the home page of the region site.
I am thinking that a data view may work here, but I am not sure. Any help is greatly appreciated.If you are running MOSS you may want to take a look at the Relevant Documents web part too.
http://office.microsoft.com/en-us/sharepointserver/HA102410251033.aspx
The Relevant Documents Web Part helps you create a personalized view of the documents that you create, check out, and change. In a large Document Center, the Web Part can save you time and effort by making files easier to find and use. The following figure shows the Web Part: -
Restrict Org details based on the User in Business partner creation..
Hi Gurus,.
I have to assign Sales Org , DIV, Distribution Channel to the Business Partner in Sales Area data. When I try system shows entire Org structure. But I want the Org structure should be displayed based on the user log on. Assume that, I am assigned to Shangai and creating Business partner for Shangai, the system should not show Beijing or other Org Unit since I belong to Shangai. How to address this scenario thro standard customization?
Is it common problem in CRM Webui(6.0 and 7.0).
My Org Structure:
Global
China
Shangai
Beijing
Nanjing.
Thanks in Advance....Hi Denis,
Thanks for your reply. I believe Org determination rule is applicable for Transaction types not for Account Creation. I want to get Sales area data based on login user. It shows complete Sales Area(Sales Org IDDistribution ChannelDivision) when I create an Account.. Assume that you are an employee and assigned to Newyork, when you create New Customer in Newyork, system should not show Boston, Washington Sales areas...Please throw some light on this...
Thanks in Advance., -
How to send external mails to the user
Dears,
How to send external mails to the user who creates the sales document (Quotation)
Can you please suggest what modification required in the FM
Thanks,
pinkyYou can have a partner function like 'Created by' and use an exit to populate the User ID to this partner function(dont have the system right now but i think this can be done with standard partner detr. procedure also)
Then, create an Output type for that Partner function with transmission medium as 'External Send'. You can use the standard SAP program to trigger the email. To send the actual email after the output is trigerred, the link connection has to be set up be BASIS but if you want to check, then goto SOST and see if the email got trigerred or not. -
Different masterhead image based on the user logged in portal
HI,
Presently we are using standard portal theme.How can I change the image in the masterhead based on the user logged in.How can i change that and i want to assign that masteredhead to users.
Can anybody give me suggesion about this.
Thanks,
Regards,
SrinivasDear Srinivas,
Simple of achiving this kind of scnario is create separate themes for different users and assign the themes to the users in master rule collection through Desktop Page.Here in this case you will be creating one framework page and multiple Desktops and themes.All the desktops will be having the same framework page and different themes based on the user type or group type.
Otherway of achiving this is create an pdk application where it will have multiple jsp components in it and based on the each component create one PAR iview.Let us take if four groups of users then you will be creating four different jsps in pdk application which will inturn contains different masterhead images and related logos.After creating the iview place the iview in the correcsponding framework page below the masterhead iview.Here multiple framework pages and Desktops and you can go with single theme.
In the first scenario the masteread , we are managing through the theme and in second the masterhead we are managing throgh application.
Either of the scenarios can be used to create differet masterheads for different users.
Hope the answer helps you....
Reward the points if it is helpful.
Thanks,
Rudradev Devulapalli -
Different masterhead image based on the user logged in
HI,
Presently we are using standard portal theme.How can I change the image in the masterhead based on the user logged in.How can i change that and i want to assign that masteredhead to users.
Can anybody give me suggesion about this.
Thanks,
Regards,
SrinivasDear Srinivas,
Simple of achiving this kind of scnario is create separate themes for different users and assign the themes to the users in master rule collection through Desktop Page.Here in this case you will be creating one framework page and multiple Desktops and themes.All the desktops will be having the same framework page and different themes based on the user type or group type.
Otherway of achiving this is create an pdk application where it will have multiple jsp components in it and based on the each component create one PAR iview.Let us take if four groups of users then you will be creating four different jsps in pdk application which will inturn contains different masterhead images and related logos.After creating the iview place the iview in the correcsponding framework page below the masterhead iview.Here multiple framework pages and Desktops and you can go with single theme.
In the first scenario the masteread , we are managing through the theme and in second the masterhead we are managing throgh application.
Either of the scenarios can be used to create differet masterheads for different users.
Hope the answer helps you....
Reward the points if it is helpful.
Thanks,
Rudradev Devulapalli -
How to set role based Authorization in JAAS
how to set role based Authorization in JAAS
i had user name , password and role in FileLogin
thanks
arun .v.http://dev2dev.bea.com/pub/a/2003/04/Kemp_Helton.html?page=last
Maybe you are looking for
-
Trying to Understand the PostSyncCleanup parameter
I've got a problem with running my application on the Australian version of Windows. We have a "test" application built around SQL Server Compact Merge Replication Library (thanks ErikEJ) and that works but our application doesn't. One of the main di
-
InDesign Scripting Guide/Apple Script
The command set myTop to top of margin preferences of myPage described in the InDesign Scripting Guide doesn't work with Indesign CS2. Does anyone can help? Thanks
-
Hello, is it possible to make the pop-up window (movie - .swf, with getURL or LoadMovie) center itself no matter what kinda monitor or resolution the user, visitor does use ? I mean, center in the screen, 'cuz you kow sometimes a pop-up window appear
-
Where can i see hyperlink info on the browser
in chrome and explorer you see a bar at the bottom of the browser that displays hyperlink info... where can i see this in firefox?
-
I seem to be unable to add event titles either from the main event window (all events displayed), or even from the top event title when an event is selected.In either situation I can be in the middle of typing the event title and it throws me out of