Users within an org unit

Hi,
is there a function module or a table by which we can find all the users within a purchasing group of purchasing organisatiopn unit.
Looking for a quick response.
Regards,
Neha

Hi Neha,
Just run this FM
BBP_OM_STRUC_GET_USER_FROM_ORG
2.click on  START_OBJECTS
3. Under OT just type O and under OBJID provide the Org Unit Number for ex 50000123
4.Click on Back Button and Execute
5. Under Export Parameters you wil find  a internal table called "USER_TAB" with list of entries
6.Click on that , there you will find the list of users under that particular Org unit
Sameer

Similar Messages

  • How does workflow retrieve users under an org. unit when sending email

    Dear All:
    Workflow supports sending email activity where you can specify the receipt type and receipt ID. For example, the email is supposed to send to the users within an organizational unit.
    I am just wondering how SAP workflow determines the users within an organizational unit? Does it use HR-ORG evaluation path to get objects under an org. unit?
    Many Thanks in advance!
    Haifeng

    Hi,
    For example, the email is supposed to send to the users
    within an organizational unit.
    Yes workflow template and standard task are also part of organizational unit. As you mentioned that the if the recipient type is choosen as Organizational Object then the workflow system will try to fetch the data from the organizational unit based on the recipient ID you provided in the mail step let say if you are using the recipient id as position Id then workflow system will try to get the data from the organizational unit
    Org object types supported by the workflow system are US, C, S, O....
    If at all the you choose the workflow recipient type as email address which can be a external address then in that case it just simply makes use of BCS communication methods and and in this case your SCOT settings must be configured properly.
    The difference between the first and second  is, in the first case the work items or mails/documents will be sent to sap inbox (SBWP) in the second case it depends on the mail ID you mention for example a outlook mail ID.
    Regards
    Pavan

  • Unassign users from a Org unit and reassign to another org unit

    Hello Friends,
    There are users in my org who are already assinged to a org unit through USERS_GEN transaction (from SU01 users) and are creating shopping carts for the past four months without any issue.
    Now there is a requirement to assign few of the users to another org unit.
    I have created that org unit but not sure how to reassign it to a new org unit.
    I am new to SRM. Any help will be appreciated.

    Hi Dihsa,
    Thanks for the fast reply.
    In that link it has been mentioned that users can be unassigned from a org unit through USERS_GEN txn or drag and drop.
    I already unassigned a user by clicking on delete assignment in PPOSA_BBP. While I am trying to reassign the user through USERS_GEN to new org unit, I am getting the error: Central Person for this user already exists with E BBPU_MESSAGES 042 &.
    After going through some of the threads I realized that I should not do like that for deleting a assignment.
    Also I found one thread which is telling that ....new org unit has to be selected and then by clicking on the Assign button --> Incorporates..Postion.. a user can be reassigned.
    Is it a right way to do that.... I don know how to unassign using USERS_GEN txn.
    Also it would be great if you could help me to resolve the above error.
    Please guide me.

  • User Assigned to Org.unit

    Hi all...
    I have list of user ..i want to find these users assigned to org.unit ?
    i need the list in production.. so i can't write the code...
    how can i find? any view or direct table which will list these stuff..
    thanks...

    Hello,
    Use HRP1001 table:
    SELECT objid FROM hrp1001 WHERE sobid = 'user ID' AND plvar = 'active PLVAR'
    SELECT sobid FROM hrp1001 WHERE objid = objid
    SELECT sobid FROM hrp1001 WHERE otype = 'S' AND objid = sobid AND sclas = 'O'.
    Regards.
    Laurent.

  • User inconsistencies when re-assigning users to another org. unit

    Hi
    I am getting error messages whenever i re-assign a user to another org. unit. I use drag and drop. When I check the user with users_gen I get 3 different error messages. I try the repair but the repair does not work. Has anyone else experienced this problem. Does anyone know any notes that can be used to fix this?
    We are on extended classic, SRM 5.0
    Kind regards

    Deepa,
    Please check for non-inherited values.  We maintain values at the org unit level, so that when we drag/drop a user to another org unit, most to all of the values are re-inherited. You can which ones are by the inherited flag.
    See if that is your problem.
    Regards, Dean.

  • Function Module for finding all the users in an org unit?

    Hi,
    is there a function module or a table by which we can find all the users within a purchasing group of purchasing organisatiopn unit.
    Looking for a quick response.
    Regards,
    Neha

    Please use the function module BBP_OM_STRUC_GET_USER_FROM_ORG.  You have to pass the Org Ids in the parameter START_OBJECTS. Then USER_TAB will give you all the users.
    Note:
    OTYPE = 'O'.
    OBJID = <Org Id say 50002323>.
    Regards
    Kathirvel
    Edited by: Kathirvel Balakrishnan on Sep 24, 2008 2:25 PM

  • How to find users logged on Org Unit

    Hi All,
    We are setting up printing on our CRM 5.0 system (Web interaction centre) and was wondering if anyone knows of a way to find out what Org unit the users is logged on as ??
    We are using Actions to print specific smartforms off for the users and need the prints to go to an assigned printer.. We are hoping to use a printer that is assigned to the 'Default Printer' attribute in the org structure (PPOMA_BBP)
    As you will be aware users can be in many positions (under the org units) in the org structure and when we log onto the Web IC we get the option of which one we would like to use... Is there a function that can read this Org unit so we can use it in the printer determination BADI to decide what printer the prints will go to ???
    Many Thanks
    Gaz

    In case anyone is still looking for this solution, here is how:
      data: lr_usett type ref to cl_crm_ui_user_cb.
      lr_usett = cl_crm_ui_user_cb=>get_instance( ).
      call method lr_usett->get_org_object
        importing
          ev_org_objid   = lv_objid
          ev_org_objtype = lv_otype.

  • EBP Security -  Users under single org unit

    Hi All,
    My Client has a question on EBP Security and I want you experts to help me in this regard, as I did not work on it before.
    Initial screen of transaction code USERS_GEN, its better says to limit number of users under a single Organizational Unit to 200, just to avoid performance issues.  (EBP Version 4.0)
      Right now my client has over 300 users under a single Organizational Unit and they are planning to add more. They want to find out, what potential problems or performance issues can be expected if, they go beyond 200.
    Thanks in advance.
    MK

    There is no performance involved in the number of users sharing the same org unit.
    The number of different Org Objects  in a single role make an impact on performance, but can be ignored.
    What has an impact is the number of Org units you want to segregate on as it will impact the number of role variants to create and maintain, this is not a system performance issue, but a personnel/cost issue!

  • User defective after org. unit change-Dont want to change BP

    Hi,
    We are on SRM 4.0 and we replicate our org. strcture from backend R/3.
    Whenever any user in the org. structure is moved from one org. unit to another the user becomes defective and it needs to be repaied at level 02.
    The repair level 02 requires deletion of old BP and creation of new BP. We dont want the deletion of BP to happen.
    Some of the forum answers have been to unassign the BP and assign it again in the new org. unit. But I'm not sure why but it's not helping in my case.
    I would appreciate if someone can send me a screenshots of the above steps(Unassign and reassigning BP) .
    Best regards,
    Sam

    Hi,
    Please follow the below procedure for unassign and reassign BP.
    1- Goto Tcode PPOMA_BBP.
    2- Right Click on the BP which you want to unassing.
    3- Select Delete-->Assignment.
    By doing the above steps you can unassign the BP.
    Now for re-assigning the BP to the ORG.
    1- Goto TCode USERS_GEN.
    2- Choose "copy user and employee datafrom template".
    3- Choose the option "Create Users from Existing SU01 Users".
    4- Give the Org Unit (ID) in which you want to reassign the BP.
    Now your BP will assign to the given Org Unit
    Regards,
    Sachin

  • Not able to view reports by users under top org unit- Interactive Reports

    HI,
    We are using CRM interactive reports.
    In my project the client is having 3 Sales Org with two sales office and two sales group for each office respectively.
    When the document is created by the  sales Executiv, he and his manager is able to see it in the reports but the top person of that org unit is not able to see  the report.
       Some say the report can be viewed by only employee responsible and his manager. In my project the core team is sitting in the top ORG unit. They want to see the reports of all the sales org units.
    With Regards,
    Selvam T

    Dear Luke,
    I am not able to see that navigation icons within an org chart box - The org unit that is displayed on clicking the orgchart does have branches in SAP but i am not able to see these navigation icons that lead me to these branches.
    Is there any specific step that needs to be done to see these branches.
    By the way what is the log file you are refering to is it the "PresentationResources.xml " or is it any other log file.
    Regards
    Hkishan

  • Obtain users from Org Unit.

    Hi all,
    Which tables I must know to obtain all users (purchasers) from Org unit?
    I can't use a FM. I need to obtain this data from R3, not SRM.
    Thanks!
    Regards,
    David.

    Hi. All links are in table HRP1001. You will have to go back to this table many times.
    Firstly you can get all the positions under the org unit from HRP1001, then you will have to go back to HRP1001 with the position numbers to get the person numbers and so on.
    Regards,
    Dave.

  • Org unit from managers desktop

    Hi All,
    I've created a report and it's been attached with the managers desktop.Now when I call this report from managers desktop, I want to read the Organization unit in my report before doing anything. I'm using PNP logical databse.With PCH logical database I could read the org unit but with PNP I can't read until I reach to GET PERNR statement. I can't use PCH logical databse as the requirement is to run the report based on employee number selection within that org unit.
    It works fine even with PNP also but the customer wants to have cutomized screen to go back and forth years to see the report and while executing this custom funtionality , it's not picking the correct org unit.So I want to store the org unit the very first time when I'm calling the report and then I'll pass the same stored org unit for further functionality.
    If anyone has idea how to grab this org unit , pls let me know. Will award points.
    Thanks
    Alok

    Alok,
    That is how I coded the Org.stru logic in my code  ( FYI - I used  LDB PNP ) ..
    SELECT-OPTIONS: pnpobjid FOR PERNR-orgeh NO INTERVALS.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pnpobjid-LOW . "OUTPUT.
      CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'
        EXPORTING
          begda  = SY-DATUM
          endda  = SY-DATUM
          plvar  = '01'
        TABLES
          pobjid = pnpobjid.
    Loop at P_obj.
    And in HRp1000    OBJID = p_OBJ-LOW
    endloop .
    Hope this will help !
    Good luck !
    Saquib Khan

  • Logs of ORG UNIT

    Hi ,
    How to check logs of ORG UNIT like assignment of roles, removal of roles and validity changes to ORG UNIT ???

    We have prod system in which role assignment is indirect.. Like roles are assigned to ORG UNIT and POSITION
    We dont assign roles user based..
    Structure is like this..
    ORG UNIT ---> Positions -
    > Users
    Under ORG unit , there would be several POSITIONS and under POSITION there would be several users..
    Some one has removed roles from ORG UNIT and all users under this ORG UNIT lost access....
    We need to find out who did it ....

  • Cost center and Org unit relationship.

    Hi Guys,
    I need quick help from any one of you.
    Actually our org stucture is like Root-> company->plants-> costcenters( deparments)- users.
    so we create org unit in the structure with some 100001 and assign users for that cost center  org unit , so by doing this costcenter attribute =100001will be inherited from the cost center org unit to all the users under that org unit.
    but now there is a requirement for creation 1500 users and we have many such costcenter org units in the structure.
    The business will provide the cost center I need to identify the org unit for that cost center in the structure then only I can assign a set of users for that 100001 costcenter. But to do that I have lots of such cost center org units.
    So if there is a any table or report available in the system where I can get the details of the description ( meaning Basic data descrition)  which we enter while the while creating the org unit and the  Org unit number which gets generated when we save.
    I would like to search for that relation .Please help me with this information.
    Regards
    SrujanK

    Hi
    I am not clear what you are asking
    http://wiki.sdn.sap.com/wiki/display/SRM/DownloadExtract-Graphicaloverviewof+PurchasingOrgstructureinSAPSRM
    BBP_READ_ATTRIBUTES
    I/P ORG ID 5000
    USER:- SRUJAN
    ITR_ATTR_LIST = CNT
    O/P
    et_attr
    YOU MAY GET LIST HOW MANY COST CENTER YOU HAVE inherited
    upload cost center sap given std report to upload
    B_UPLOAD_COST_CENTER_ATTRIBUTE
    br
    muthu

  • WF error sending notification to org unit

    Hi All,
    I'm facing an amazing issue :
    I use my WF to send notification. The recipient can be a single user or an org unit(object O, in this case all people belonging to this org unit receive the notification in theur SBWP). It was running very fine before but newly my WF goes on error if the recipient is an org unit. I checked my structure, there is no issue, people are well assigned and have their users defined in the system.
    Could you please tell me what's the root cause of this issue? Is there a configuration of WF or rules I should verify?
    Many Thanks

    here is the last news, My WF runs correctly for another org unit. I went to the detailed log(transaction SWi2_freq) and found that for the container of my task(sending notification to the org unit ) some values of the structure "_Workitem" are diffrents :
    Field "callbackFM" which value is SWP_CALLBACK_WI_DONE for both WFs
    Field "return value" :
    the WF which ran correctly : 0000
    the WF which went on error : 1001
    So I guess that this FM causes the error, but I can't find this FM with transaction SE37
    How to reach it?
    Have you faced this error before?
    A colleague audited the OM structure, he confirmed that it's well set up, and the error is not due to wrong assignements or invalid dates.

Maybe you are looking for

  • SCCM 2012 R2 CU3 installation successfull but the Full Version number still is 5.00.7958.1000

    Hi Guys I have a SCCM 2012R2 in Windows 2008R2 box with a Secondary Site also in Windows 2008R2. Before proceeding with the upgrade to CU3 I took a snapshot, installed Windows Management Framework 4.0 to get PowerShell 4.0 in order to run a health Ch

  • ICloud made a mess of my Outlook.  How do I put it back?

    I went through over 3000 contacts in Outlook and carefully deleted duplicates and old contacts and made corrections.  Then I checked the box in the iCloud Control Panel for "Contacts with Outlook."  After it uploaded all my contacts, I opened the new

  • AAM Crashes Constantly

    Hi There, I have been using the AAM for a couple of months now however I recently each time I try to login it crashes straight away. I have read lots of threads however there just doesn't seem to be any definitive anbswer as to why this happens and a

  • Applet and real player

    I want to create an applet that control a real player. Is it possible to embed a real player in an applet? If not is it possible to have the control of the real player from the applet by sending to it some javascript function for instance?? Thank you

  • How to create a new cash desk

    Hi Everyone, Please guide me how can i create a new cash desk to accept payments. Thanks and Regards