Accessing Organizational Unit info of Portal User

Hi Experts,
Using UME API I can access almost all data of a portal user, but I couldn't find how to access the "Organizational Unit" data of a user. This information is under the "Additional Information" TAB for NW04s.
If anyone faced this issue, plase let me know how to do that.
regards

HUSEYIN,
Most probably it's accessible only via generic UME IPrincipal API:
userObj.getAttribute(namespace, attrName);
To find out all possible namespaces/attributes use the following:
final StringBuffer result = new StringBuffer();
final String[] namespaces = userObj.getAttributeNamespaces();
for (int i = 0, c = namespaces.length; i < c; i++) {
  final String ns = namespaces<i>;
  final String[] attributes = userObj.getAttributeNames(ns);
  for (int j = 0; k = attributes.length; j < k; j++)
    result.append(ns).append(':').append(attributes[j]).append('n');
Then analyze output of result.toString() and try to find out what attribute represents OU.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net

Similar Messages

  • Displaying business role and organization unit info in context area

    Hi gurus,
    I want to bring the business role and organizational unit details with which the user has loogged in the web UI in context area.
    Other idea may me next to the logo. Below is the example how it should look like
    Logged on as: Business role/Organization unit details
    Can anybody please help.
    Regards
    Yogesh

    Hi
    The following link provides required solution.
    https://wiki.sdn.sap.com/wiki/display/CRM/WelcomeUserMessageinWeb+UI
    Paparao

  • Learning Maps-Capture the Organizational Unit of the end user feedback

    Can anyone help me on this:
    Problem: The requirement is to track the enduser feedback from Learning Maps to get information of an organizational unit.
    As per documentation LearningMap feedback is anonymous.
    I would like to know whether there is any BADI or user exits available to solve the problem?
    Message was edited by:
            Ramesh Ramanathan

    Hi,
    Have you maintained your Organizational data? Did you assign any job to any user in the organizational hierarchy. You need to maintain you PPOMA_CRM first in order to assign any roles there.
    Hope this helps
    Rajeev

  • ROS. organizative unit 00000000 doesn't exist, check your entry

    Hi,
    When the purchaser director (for example) is completing the business partner to vendor and choose any purchasing organization the message BBP_BUPA034 appear.
    The error is being showed in BBP_VENDOR_CREATE_F01
    We are running SRMSERVER550 SP 6
    Anybody knows how I can solve this??
    thanks and regards
    Jorge

    Hi
    <b>Please go through this -></b>
    <u>When you read the content of this chapter, you expect that users replicated from SUS to EBP (so-called user-snychronization) are integrated in the corresponding organization for the vendor. Until Support Package SP08, only the SU01-user is created in EBP after replication, nothing more, there is no automatical complete synchronization for the users between SUS and EBP, the corresponding document is wrong with regard to this aspect. Users can only be replicated from SUS to EBP as SU01-users. Even when one tries to use transaction 'USERS_GEN', option 4: 'Create Users from Existing SU01 Users : You can select the users that you wish to assign to an organizational unit.', the bidding user still is not complete and will receive an error message when he logs on to the EBP application.</u>
    <u><b>[ Refer Note 893714 - SUS30: Replication of bidding users from SUS to EBP ]</b></u>
    <b>Related Notes</b>
    Note 895217 - SUS30: SUS not integrated with CUA currently
    Note 880735 - UME/SUS: error with administrational user creation
    Note 779658 - SRM40/SUS/BP: Error during change of employee
    <u>Note 783227 - SRM40/SUS/BP: Migration - Settings not converted</u>
    The supplier settings (for example, e-mail notification) are not converted if you execute conversion report BBP_SUS_BUPA_MIGRATION.
    <u>Note 777503 - SRM40/SUS/BP: Organizational data in settings disappears</u>
    <u>Note 723610 - SUS 3.0: Portal Integration doesn't work</u>
    Hope this will help.
    Regards
    - Atul

  • How do I activate the object history for an organizational unit ?

    Dear experts,
    we're using organizational units, positions, persons and users of the
    organizational management (Transactions PPOCE and PPOME) for
    the determination of (possible) agents in our Workflows.
    The objects seem to have an object history, at least you find such an
    option in the "find by" window on the left hand side of the maintenance
    transactions, but in our system there are no entries and I can't figure
    out how to activate history entries to be written.
    Do you ?
    Thanks in advance
    Andreas

    Hi,
    In OM all relation have a validity. I think you mean this with object history.
    If you double click an organizational unit for instance and then open the detail tab (if it wasn't open already)
    there you'll see Valid On with todays date this is the date which is used for determining the organizational structure, also you'll see No Periods with a green square to the left of the text.
    Just above the text Valid On, you'll see a button, when you click on the display periods button you can change the date to see what the relation of the object was at that time.
    You can also search the HR forum for more on organizational management.
    Kind regards, Rob Dielemans

  • How to create portal user and integrate with external appl login

    How to create portal user and integrate the user with external application for single sign-on ?
    I want to access my external application thru portal user ..?
    Shyam

    Hi Jithin,
    The link that you've shared talks about a different scenario.
    In my case, I want to pass the portal user id when the user clicks on the Help Link present in the header area.
    I am trying to pass it along with the Help Link Url property of a masthead iview but it is not getting passed to the target Url.
    I would like to know if it is possible to pass the Portal User Id in this way or not.
    Though if we create a appintegrator iview and pass the user id <User.UserID> along with the target Url, it reaches there.
    Thanks & Regards,
    Anurag

  • Tables for organizational unit

    Hello!
    I created an organizational unit including position and user id's.
    In which tables this information is avaliable?
    regards
    yifat

    Hi,
    If you want to see the Organizational unit assigned to an employee, check PA0001 for that PERNR(Employee ID) and pick the ORGEH (Organizational Unit) and PLANS(Position).
    If you just want to see the existence of org unit and position goto HRP1000 table and pick OTYPE = 'O' for organizational Unit and OTYPE = 'S' for positions.
    If you want to see the relationship between them then goto table HRP1001. OTYPE = 'O' for org unit, OTYPE = 'S' for position and Check their relationship with OTYPE = 'P' for Person.
    Regards,
    Amit
    Reward all helpful replies.

  • How to access a Portal User Info from a J2EE application?

    Hi,
    I have deployed a j2ee application in portal and its running fine.
    from that application i need to assign some roles to some users.i have the user id.
    so my doubt is can i access the portal user info from this j2ee application?i have some servlets in the j2ee application....can i get the portal user info from this servlet?
    plz help me
    regards,
    Visweswar

    Hi,
    Please check out this to get the portal user information from Java -
    WdClientUser class/Interface to aciehve this.
    Please check out these links on the same -
    WDClientUser.getClientUser IUser
    help needed
    Regards
    Lekha

  • Organizational Unit attribute in User Info

    Hi All,
    I am working on Enterprise Portal 7.0 SP 11. I have a small problem. In Identity management, in user properties additional information, we have organizational unit as a standard SAP attribute. I want to fill that attribute while creating user through importing a text file in the beginning itself.
    While exporting a user, that information is not captured. I dont know what attribute name should be used to fill that attribute. So, can anyone tell me how to solve this issue?
    Thanks & Regards,
    Udit

    If Still interesting  this task  look
    get Organizational Unit value in Additional Information through UME API
    line in import file
    com.sap.security.core.usermanagement:orgunit=SOME_ORGANIZATION_UNIT

  • Create a portal user with a specific Organizational Unit in the OID??

    I would like to split my portal users by Organizational Units in the OID.
    e.g.:
    ou=country1, cn=user1
    ou=country1, cn=user2
    ou=country2, cn=user3
    is it possible?
    is it possible trough the administer tab of Portal?
    Any experience ?
    feedback??
    Thanks
    Didier

    I think it is feasible.
    But not through Administer tab.
    Use your own api to add users (DBMS_LDAP.add_s + WWSEC_API.add_portal_user)
    cn=user1, ou=country1, cn=user_search_base
    cn=user2, ou=country2, cn=user_search_base
    or maybe try to change dynamically user_create_base, I don't know if it is possible or not

  • Accessing Portal User profile info from report

    Once the user logs into portal, I would like to access some of the user profile information (personal or organizational details). I need to find the stored value of the employee number, e_mail and department. This is needed to restrict the information that will be returned to the user in portal reports.
    ie. Access the portal users department and only show them information fo that specific department. If I can access I can store the value in a session variable or cookie.

    Just have a look at <portal_schema>.wwsec_person$
    There is also an API <portal_schema>.wwctx_api.get_user to get the user currently logged in.
    Thanx,
    Chetan.

  • FM to assign Users to Organizational Unit

    Hello Experts,
    In CRM, is there any way to add Users/Business Partners to Organizational Unit programatically? OR will it be manual process(PPOMA_CRM) in all landscapes(DEV, QA and  PROD) ?
    If there are any standard Function Modules to do it please suggest.
    Thanks, Sree

    Thanks for your response Raj.
    We already have Organisation Units setup. We just need to assign Business Partners to its positions.
    Would you mind giving some info on how(which objects we need to use) exactly you have done using LSMW.

  • How to get the list of organization unit assigned to user

    hello All,
    i have to get the list of organization unit which is assigned to user. i mean if user ABC is assigned to 10 Org unit then how would i get those 10 sales Org? is there Any function module?
    Regards.

    hello Bruno,
    Thanks for reply...i got the Org unit with position...now i need to get territory Id / Areas related to those position's. can u help me in this regard?
    Regards

  • ADMT 3.2 Migrate users to the same organizational unit in the Target Domain as they are in the Source Domain?

    Hi,
    I am in the middle of a inter forest migration and have created the target domain (TargetDomain.local) 2008R2 and Source Domain (SourceDomain.Local) 2008R2 with a two way trust. I have installed ADMT 3.2 on a server in the Target Domain. I am able to migrate
    users form the source domain to the target domain. I have copied the OU Structure from the source domain to the target domain. The issue I am currently facing is that I would like to find a way to migrate all users from the source domain to the target domain
    and the users migrate to the same OU as the source. I have looked at the include file option but cannot find a way of specifying the source and target OU's.
    Please could someone help me with this, Thanks.

    Hi,
    You need to create the same OU on target domain, then do the user account migration.
    On Organizational Unit Selection page, select Browse and select target OU, then click OK.
    For the more and detail information, please refer to this article:
    http://social.technet.microsoft.com/wiki/contents/articles/16621.interforest-migration-with-admt-3-2-part-3.aspx#Group_Account_Migration
    Regards.
    Vivian Wang

  • ICE_SERVICE portal user doesn't allow an anonymous access to KM content

    When we upload files (e.g. image files) into root/documents/MyFolder repository they get a /irj/go/km/docs/MyFolder/* link. After that they can be seen by an anonymous users.
    But every day at 9AM ICE_SERVICE portal user modifies all files in /documents/MyFolder folder and transform /irj/go/km/docs/MyFolder/* file link into /irj/servlet/prt/prtroot/ (we can see that in file Details window). After that an anonymous user lose permission to access the files of the repository.
    How to prevent such behavior or to workaround this?

    It might be happening due to configured ICE Online Exchange so, check following....
    Go to Content Management -
    > Content Exchange -
    > Syndicators----
    > Offers     there you'll see list of offers just delete them if not needed , this might solve the issue...
    Regards,
    Tushar Dave

Maybe you are looking for

  • Not able to get Form 16 A (SAP Business One 8.8 Version)

    Hi all, I am not able to get Form 16 A, after giving necessary information in Form 16 A Selection criteria screen (after posting  Outgoing payment for vendor and Govt authority), then system opens another window  u201CForm 16 A reportu201D  and click

  • DidReceiveRemoteNotification or didFinishLaunchingWithOptions do not get called in background

    I am using iOS 8.1 . I am sending the following APN {"aps":{"alert":{"body":"Hello sir","action-loc-key":"Caption of the second Button"},"badge":1,"sound":"default","content-available":1},"Key1":"Value1","Ke y2":"Value2"} As you see I am setting "con

  • Can I rename and move a catalog?

    I recently made a full backup of my LR2 catalog, (18,000 photos) which was on my PC, and transferred it to my new Mac. When I made the backup, I accidentally included a folder of personal photos, which I would have preferred to be a second catalog. S

  • Lengthen and shorten the search bar and the URL bar

    I like to be able to change the size of the search bar and the URL bar. I hate not seeing the whole URL as needed. And sometimes, I want to read everything I type in the search bar. This is a non-negotiable for me and I have stuck with the 3.+++ beca

  • Validation for P.O. No. at F-48 manadatory

    Hi Experts, One of the user requirement is that he wants Purchase Order No.mandatory for combination of particular G/L  A/C and Reconciliation A/C , while goiong for payment through F-48. We tried it through validation but it is allowing us P.O. orde