CIC0 - REad out the org unit of actual user

Hi there,
I have the problem that I code in a BAdI while saving a ticket and now I have to check in which org unit the actual user is. The problem is that one user can be in different org units and so he gets a popup (after start CIC0) with which he can chose which org unit he want to use for this session in CIC0.
And now I'm looking for a function module or a class that gives me the information which org unit he selected at start.
Is this possible?
Thanks a lot
Kind regards
Markus

Hi,
It sure is possible. Look for function module RHACTORGET* , (I cant remember the exact name and I dont have system right now)
If you user ID you will get details user details in the orgranisation structure.
-Anand

Similar Messages

  • IPhone/iPodTouch Question: How can I read out the actual Wifi/Hotspots?

    Is it possible to read out the actual WiFi/Hotspots? Which hotspots are now available? Over which Objects/Classes i have to do this? (i need the data as input for a game and a music program)
    thanks for any help
    t00cg@la1n

    I'm also looking for a way to read the available WiFi networks. There must be a solution for this since the application WiFinder does exactly what I seek to do. And it's available through the app store (i.e. it's not a solution that requires a jail-broken phone).

  • Update table HRP1001. Change the Position and the Org Unit.

    Hi,
    I am new to SAP HR and have been given a work in this area. The requirement is to update the relationship table HRP1001 replacing the old Manager' Position and the Org Unit with the New Manager's Position and the Org. Unit.
    I have some how found out the way to get the Postion and the Org unit of the old manager. Now I am replacing the same with the new details using the Update HRP1001 Command but this is the old and not recommended method acheiving this task.
    Can anyone please suggest me any Function Module OR the BAPI to update the HRP 1001 table with the New MAnager;s Position and the Org Unit.
    Thanks...!!!
    Regards,
    Deepak.

    Hi Kalpesh,
    I am using the FM: 'BAPI_HRMASTER_SAVE_REPL_MULT'but still not updating. I am trying to change the Position and the Org unit but not successful yet.
    I first used the Operator 'I' withi the table BAPIHROBJ-OPERATOR, it failed then I tried 'U' for update it still failed. Can you please let me know how many such operations possible with their charecter values apart from I & U. the domain value set does not exist as it is char1.
    Now I came to know that I have to terminate the old relationship by changing the ENDDA and create a new one with the new BEGDA as tomorrow's date.
    Can you please suggest something.
    Regards,
    Deepak.

  • Problem in Creating the Org Unit

    Hi Experts,
    I am only using the FM RH_INSERT_INFTY to create an Org unit with Infotypes 1000,1001 & 1028. We have recently upgraded our system to SRM 7.0 from 4.0.
    Problem: The BP  is not being created corresponding to the Org Unit.
    But, When i created an Org Unit with above FMs in SRM 4.0, the BP number is created & is showing in PPOSA_BBP.
    Please let me know if i need to run any other FM / do any modifications.
    Thanks in Advance,
    Vishnu Reddy

    Hello Aswini,
    I checked on a SRM 7 release and i get same behaviour as the one you described.
    I did not find any OSS notes regarding this point.
    I advise you to open an OSS message to have SAP clarification on this point.
    Regards.
    Laurent.

  • Problem while copying the org unit

    Hi,
    SRM 4.0.
    In PPOMA_BBP, user is trying to create a new org unit by copying an existing org unit. When the new org unit is created, the relationship B012 (Is managed by) is getting copied and is showing in PP01 and also showing in HRP1001 table. In the current org structure, every org unit is having a manger (with a red hat). When copying the org unit, the manager is not getting coped but the relationship is getting copied as mentioned above.
    This should not happen. And this is not happening while creating a new org unit by clicking on the "Create" button in PPOMA_BBP.
    Appreciate for any suggestion how to solve this.
    Thanks & Regards,
    Aswini

    Hello Aswini,
    I checked on a SRM 7 release and i get same behaviour as the one you described.
    I did not find any OSS notes regarding this point.
    I advise you to open an OSS message to have SAP clarification on this point.
    Regards.
    Laurent.

  • Read data from org unit

    Hi,
    I'm looking for a fm which gives me the data (e.g. address...) from an org unit in ppoma. I have the object id of this org unit.
    I was not able to find a good fm to read the address and email and so on, means: the data you see for the org unit if you navigate from the org unit in ppoma to the details of the org unit via the menu.
    Can anybody give me a hint!
    Thanks!

    I am not sure if you have already tried these FM's.. 
    BBP_READ_ATTRIBUTES
    RH_STRUC_GET --- Returns all related org info
    SWI_GET_USERS_OF_ORG_UNIT.
    RH_STRUC_GET_MULTIPLE_ROOTS
    BBP_USER_GET_DETAIL
    BBP_OM_STRUC_GET_ORG_FROM_USER - To find the Users Org Unit.
    RH_STRUC_GET - To find the Org Unit and its higher Org units till the root.
                                 Evaluation Path is O-O.
    To find the list of users under that particular Org unit
    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.
    Regards,
    PR.

  • Determine the Org Unit

    Can we find out what methods we have to determine the Org Unit the agent belongs in ABAP?
    Please do let me know.
    Thanks

    Hi Mohan,
    Refer the following thread :
    Re: Org Unit
    <b>Reward points if it helps.</b>
    Regards,
    Amit Mishra

  • Find emloyee of the org.unit

    hi,
    i table itab with org.unit and i wont to find the emp of the org.unit how i can do that?
    Regards

    Hi
    You can write your select statement as follows:
    This select will retrive all the positions which *belong to the given org unit into itab *t_orgpositions.
    Select objid
      from HRP1001
      into table t_orgpositions
      where otype = 'S'
         and plvar  = '01'
         and rsign = 'A'
         and relat = '003'
         and istat = '1'
         and begda LE sy-datum
         and endda GE sy-datum
         and sclas EQ 'O'
         and sobid = 'XXXXXXX' (your org unit).
    Using the above positions fetch the holders of these positions (PERNR) using the below query.
    IF NOT t_orgpositions[] is initial.
    Select sobid
      from HRP1001
      into table t_pernr
      for all entries in t_orgpositions
      where otype = 'S'
         and objid = t_orgpositions-objid
         and plvar  = '01'
         and rsign = 'A'
         and relat = '008'
         and istat = '1'
         and begda LE sy-datum
         and endda GE sy-datum
         and sclas EQ 'P'.
    ENDIF.
    In this way you can get all the Personnel numbers which belong to an Org unit.
    The other method is you can use some function modules to retreive this data. Get back if the above query does not serve your piurpose.

  • How are the org units created

    How are the org units created,say if i have 1000 org units which has to be created,in the PRH, what is the best solution, is it by transport or data upload?

    Hi Tom,
    I think your problem is solved . If not plz do let us know. And let us know which method you have obtained (LSMW or BDC) to upload the ORG UNIT Data??
    Have a great day..
    Regards,
    Sri..

  • How can I read out the IP of an client

    I want that an trusted applet can read out the IP of its user and can send ist to a server, but I can't find how I can do this (maybee I'll find it, but I need this soon)
    Please help!

    Hi!
    I want that an trusted applet can read out the IP of
    its user and can send ist to a server, but I can't
    find how I can do this (maybee I'll find it, but I
    need this soon)Well, I don't know if there is a method for this but you can do this with a little trick - and you don't need a trusted applet for this:
    - you need a program running on your server which accepts connections and stores the ip-address (socket.getInetAddress()) or whatever you want to do with it.
    - your applet just connects to this program and then disconnects.
    bye, Simon

  • How to find the all the org units of chief org unit

    Hi All,
    i have one cheif org unit which belongs to IT. i Just need to take all the org units into one internal table upto last org unit.
    ex: 500000 is the chief org unit then we check that belongs to taht
    550000 and 560000
    and agian 550000 is having or units
    556000 and 557000 ....
    now requirement is now i input on 500000 on selection--screen and i need to get
    550000
    556000
    557000
    560000
    I used evaluation path as o-o and used call function 'HRCM_ORGSTRUC_INFO_TABLE_GET'.
    but able to get only the just next level org units.ie. 550000 and 560000 Not others ..So is there any way where we can find all the org units that comes under the MAIN ORG UNIT 5000000.
    waiting for your valuable inputs...
    Regards
    sas

    Hi
    Use the FM: RH_STRUC_GET with the evaluation path : ORGEH.
    If you are still not able to get the required results,then go to Tcode: OOAW and find the suitable evalution path for your requirement.
    Hope definetely u will get the results.
    Regards,
    Sreeram
    Edited by: Sreeram Kumar Madisetty on Apr 22, 2009 8:25 AM

  • Multiple users under a Position in the Org Unit.

    Hi Experts,
    I have created a Position under an Org Unit and assigned 8 Users under that Position.
    The issue is that i want to send email only to 1 user from this position.
    If i mark the position as head of the org unit, all the users under that position becomes head.
    Can anyone suggest how  i can differentiate Users within the same Position ?
    Can Roles help me with m y requirement ?
    Thank You,
    Radhika.

    Hello,
    I'm not sure I understand what the problem is. This does have to do with workflows, I assume.
    If you want to send a workitem to a particular person, then why not just name that person, instead of the position?
    If there are criteria you can use to distinguish between the people (eg location) then you could use that in a rule (AC......) to determine which person the workitem should go to.
    regards
    Rick Bakker
    Hanabi Technology

  • In MSS, Other than Manager to access the employee in the Org Unit

    Hi all,
    IN our current project, for MSS, Head of the Org Unit (A/B 012) triggers the Personnel Change request, First Level Approver (HR-Partner from Custom Infotype) approves the PCR and Admin process the PCR.
    Now the requirement is changed... HR-Partner needs to trigger the PCR, followed by Approval from head of Org Unit and Admin to process the PCR.
    For the HR Partner to view the Position in the Org.Unit or only the positions,
    We can have custom A/B Z12 between HR-Partner Posiiton and Org Unit
    OR
    We can have custom A/B Z02 between HR-Partner Position and reporting postions.
    Now What are all the required OADP configuration required to Allow the HR-Partner position to view the reportees and create and submits PCRs for them..
    Regards
    Ramanathan

    yes this all comes to the evaluation path a user has he neednt be a manager, in OM, he can be another user with extra structural authorisation like HR admin,
    so change in T77AW and assign them in OADP.
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879

  • Evaluation path to get personnel number all the org unit and subordinates

    Dear all,
    I have OM issue to ask.This is the scenario:
    Staff A  belong to  org 1. Under Org  1, I  have org unit 1-A, 1-B and org unit 1-C.
    Issue 1 :
    I want to run report(RHSTRU00) to  to generate all the staff number in org 1 (Include 1-A, 1-B, and 1-C).
    Issue 2 :
    I  want to run report for 1-A, only staff belongs in org 1-A appear.The others not appear.
    I was understanding I have to play around with evaluation path. Until now I can't find the suitable evaluation_path. I need your help.tq

    Hi,
    Not sure why you want to reinvent the wheel.  The standard report RHXSTRU02 will give you people by Org Unit.  Just enter the Org Unit ID number and you will get the employees as output.
    If you still want to use RHSTRU00, you can use O-P or O-S-P to get the employees and the positions.
    Paul

  • Org Management - How can I change the start date of all the org units

    How can I change the start date of all the org unit objects and its relationships at one shot ?  I have created some 100 Org units with the wrong start date. Please suggest.
    Thanks in advance..
    Cheers
    Vijay

    Hello Archana,
    Thanks a lot... This has solved my issue...
    Cheers
    Vijay

Maybe you are looking for