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

Similar Messages

  • Nakisa Org Chart 2.1 - excluding org units from extract and saving chart

    Hi,
    Is it possible to exclude specific org units from the org chart that is extracted to Nakisa? These (and all subordinate) org units should not be included in the chart which is to be published on the intranet.
    Also, what is the easiest way to create a file (e.g. PDF, PowerPoint) of all org units and positions in the structure? I've looked into using the ChartBook functionality but this did not seem to work too well, and there was no option to Save or Print the chart.
    We have Nakisa OrgChart 2.1 SP1 running on SAP CE. This is with a staged extract out of SAP ERP which is hosted on Windows and SQL.
    Thanks.

    Thanks Stephen and Luke.
    I will look into your comments re: excluding org units from the directory searches etc when next at the customer site.
    As for the Chartbook issue - the customer is looking to create a file (e.g. HTML, PDF) of the entire org structure which they can then make available on the intranet. (They currently only have license for a couple of HR users so ESS access is not an option right now). We have looked at using the standard Print/Export options as well as the Chartbook and neither seems to work particularly well....the customer keeps referring back to how easy it is to create a HTML file using OrgPublisher....
    What is the recommended and best approach for creating a file which can be published on a company's intranet? (There are about 1000 positions/employees in total so not a huge file).
    Hopefully v3.0 is a whole lot easier to use
    Thanks, Ron

  • Excluding a org unit from showing in the hierarchy

    (Nakisa OrgChart 4.1, Live)
    Hello again,
    I'm trying to exclude an org unit from showing in the org hierarchy. I was thinking that the 'Data filter' option in the org chart set up would serve this purpose.
    I tried several ways (id below is the actual ID of the org unit I'm trying to hide):
    ORGUNIT_ID <> 'id'
    ORGUNIT_ID != 'id'
    ORGUNIT_ID IS NOT  'id'
    I did the above with and without quotes, single or double.
    None of them seem to work. The data filter seems to be ambiguous at best. Will I have to hardcode this in the data element xml (or worse, in the function module) for this to work?
    Thanks,
    M.E.

    Hi Stephen,
    Yes this is what the org unit I want to exclude is called. I'm actually wondering when the filtering is supposed to happen. Is it at the extraction of the data in the FM? I took a look at the FM  /NAKISA/OC_OU_STRUCTURE and I could not see a filtering logic anywhere in the code. I saw some authority checks though, and I'm wondering if the following method would work:
    - in the SAP side, exclude the org unit from the area of responsibility of the RFC user (an RFC user is used in all the data connections)
    - modify the parameters of the /NAKISA/OC_OU_STRUCTURE FM so that an area of responsibility check is performed (parameter AOR_CHECK set to 'X') on the RFC user (parameter IM_UNAME set to the RFC User's uname).
    What do you think?
    Thanks
    M.E.

  • Transfer of Org Unit from one loc to another Loc

    Hi ALL,
    I have issue regarding transfer of organizational unit from one loc to another loc
    is it possible to shift total org unit from one loc to another loc.
    what r all prerequisties required for changing.
    With Best,
    Shaik

    Hi,
    Depends on how you have your structure set up.  Location is usually defined by the Personnel Area.  In this case, you should create a new Personnel Area with the new address information for Bangalore.  You may also retain some individuals in Mumbai and you want to maintain history so that Personnel Area should remain in the system. 
    As for the Organization Units and the reporting relationships, these do not have to change if they have not, only the Account Assignment (IT1008) must be changed to the new Bangalore Personnel Area.  Also, of course, any employees transferred to the new location must have their Organizational Assignment infotypes ((IT0001) changed to the new Personnel Area. 
    This can be a straight-forward change.
    Paul

  • Missing Org unit from position ID

    Hi Gurus,
    Could you please provide additional information which I have missed out that would help resolve the issue.
    Problem Statement:
    Position ID XXX originally belongs to O XXXXXXXX [Sample Org 1].  When HR Recruitment administrator performed action to move structure reporting to another O YYYYYYYY [Sample Org 2], the record went missing as the action done was CHANGE instead of COPY.  This had caused two ex-staff showed no Cost Center & Org Unit. Now, user is trying to reinstate S XXX to O XXXXXXXX [Sample Org 1] but is prompted with an error message - Company code cannot be determined for cost center 52222.
    Action Taken:
    1. Checked S 5111111 and found that it is currently under O YYYYYYYY and currently occupied by P 123456 (validity period is from 01.11.2010 to 30.04.2011)
    2. Checked  account assignment of S 5111111 to confirm the company where it is assigned to. It reflects that position inherited attributes O YYYYYYYY [Sample Org 2] to which the position is currently under
    3. Checked account assignment of O YYYYYYYY it only contains the controlling area which is TTTT. I then checked IT0001 of the current employee who is holding the position and company code reflecting is CCC.
    4. Checked account assignment of O XXXXXXXX where they want to reinstate the position and it only contains the controlling area which is TTTT and master cost center is 52222. I checked one employee under the said Org to verify to which company it is currently under and found that it is the same, CAT. At this point, I do not see any issues as to why it is not allowing them to create A003 rel to O XXXXXXXX .
    Note: I was not able to replicate the error since it is working fine in dev given the same scenario.
    Findings:
    The only thing that I can see is on the validity date. If they are to reinstate the position to where it has been originally assigned which is under O XXXXXXXX [Sample Org 1], it should not overlap with current record since there is somebody occupying the post. If it does overlap then it will automatically delete the existing record.
    In addition, I have managed to check transaction S_AHR_61016528 (B011 eval path) and found validity period of cost center to O XXXXXXXX is 01.04.2002. If user is trying to establish A003 rel for S 5111111 and validity period used is 01.01.1997. Would that matter why user is getting the said error. I have tested and was able to create rel successfully.
    Would appreciate if you guys could share how else the position can be reinstated to the old org unit.
    Thank you.

    Hi Gurus,
    Could you please provide additional information which I have missed out that would help resolve the issue.
    Problem Statement:
    Position ID XXX originally belongs to O XXXXXXXX [Sample Org 1].  When HR Recruitment administrator performed action to move structure reporting to another O YYYYYYYY [Sample Org 2], the record went missing as the action done was CHANGE instead of COPY.  This had caused two ex-staff showed no Cost Center & Org Unit. Now, user is trying to reinstate S XXX to O XXXXXXXX [Sample Org 1] but is prompted with an error message - Company code cannot be determined for cost center 52222.
    Action Taken:
    1. Checked S 5111111 and found that it is currently under O YYYYYYYY and currently occupied by P 123456 (validity period is from 01.11.2010 to 30.04.2011)
    2. Checked  account assignment of S 5111111 to confirm the company where it is assigned to. It reflects that position inherited attributes O YYYYYYYY [Sample Org 2] to which the position is currently under
    3. Checked account assignment of O YYYYYYYY it only contains the controlling area which is TTTT. I then checked IT0001 of the current employee who is holding the position and company code reflecting is CCC.
    4. Checked account assignment of O XXXXXXXX where they want to reinstate the position and it only contains the controlling area which is TTTT and master cost center is 52222. I checked one employee under the said Org to verify to which company it is currently under and found that it is the same, CAT. At this point, I do not see any issues as to why it is not allowing them to create A003 rel to O XXXXXXXX .
    Note: I was not able to replicate the error since it is working fine in dev given the same scenario.
    Findings:
    The only thing that I can see is on the validity date. If they are to reinstate the position to where it has been originally assigned which is under O XXXXXXXX [Sample Org 1], it should not overlap with current record since there is somebody occupying the post. If it does overlap then it will automatically delete the existing record.
    In addition, I have managed to check transaction S_AHR_61016528 (B011 eval path) and found validity period of cost center to O XXXXXXXX is 01.04.2002. If user is trying to establish A003 rel for S 5111111 and validity period used is 01.01.1997. Would that matter why user is getting the said error. I have tested and was able to create rel successfully.
    Would appreciate if you guys could share how else the position can be reinstated to the old org unit.
    Thank you.

  • Obtaining Org Unit from Business Partner number

    Hi,  I am trying to obtain an org unit object id from the bp number that is created when the org unit is created.  I am in a BP BADI, so I only have the bp number, and am in the process of creating a new org unit when the BADI is called.  I have tried to use RH_STRUC_GET but because we are in the creation process this does not retrieve any results.  I understand that this fm reads a buffer to get its results, and the org unit is obviously not in the buffer at this time. 
    Could anyone help me to find a function module that will find the org unit in this case?

    Hi Ratikant,
    Thanks for your suggestion.  This may work if I was looking for an employee's org unit, but I was actually looking for the BP record for the org. unit that was being created.  It would also depend on whether this function module would work before the save and commit has occurred.
    I cannot test you solution since I managed to implement a work around where I saved the org unit using a funtion group in another(earlier) BADI so that I could retrieve it in this BADI.  This has been tested and implemented and I don't want to cahnge what is already working!
    Many thanks though!

  • Assignment of org units from feeder system to Legal units

    Hi All,
    in GTS system , IMG,  assignment of legal units having two options are available.
    1,Assign plant at feeder system level/ feeder system group level
    2, Assign combination of plant and storage location at feeder system level/ feeder system group level
    as assigning the org units we need to assign the option 1 and option 2 or do we need to assign the any one from the above two options.
    can you please give some inputs which is the best assignment.
    Thanks,
    Sriman

    Hi Sriman,
    In SAP GTS, a Feeder system plant or a plant and Storage location combination can either be assigned to a GTS Legal Unit.
    In this case, you can either assign a single plant ( or Plants) to a Legal Unit to complete the Organisational Mapping or you can also assign a combination of plant and Storage location ( of a group of plant and respective storage locations)  to a GTS Legal Unit if storage location is of further significance while interacting with the SAP GTS System,
    I hope you got it now.
    Regards,
    Aman

  • 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.

  • PPOME - Org.Unit (Acount assignment) goes into DUMP

    Hello Gurus,
    ive got a Big issue, concerning SAP HR module.
    When we start the TC: PPOME we select org.unit from the structure.
    It is beeing showed normaly, but only when we select Acount assignment it goes straight into DUMP,
    saying:
    Runtime Errors         STORAGE_PARAMETERS_WRONG_SET
    What can you do?                                                                 
        Note which actions and input led to the error.   
        For further help in handling the problem, contact your SAP administrator     
        You can use the ABAP dump analysis transaction ST22 to view and manage       
        termination messages, in particular for long term reference.                 
        In the system profile, set the parameters                                    
        -abap/heap_area_dia and                                                      
        -abap/heap_area_nondia                                                       
        to a maximum of 189714480. To be on the safe side, reduce the value by 10,000,
        000.                                                                         
        Then restart the SAP system.       
    These corrections are not needed since the system for every other purpose (SD, MM, FI) is working, only for HR module during acount assignment is going into DUMP.
    Any advice why this happens to some of the Org.Units?
    Regards,
    Laurynas Prikockis

    Hi ,
    Please check this thread might be helpful.
    Runtime Errors STORAGE_PARAMETERS_WRONG_SET
    Regards,
    Siraj.

  • Org unit not displaying in Payslip

    Hai all
    In production, we have maintained Org Structure and assigned persons. Payroll live run is completed. But in the customized payslip, the org unit is not displaying. That org unit is there in the Org structure, in WPBP table also its displaying, but in the table T527x the same Org Unit is not there.
    What could be the reason for not included in the table t527x, probably thatu2019s the reason why its not displaying in the payslip. ( the program picks the Org unit from T527x table)
    But other Org units which are there in T527x table, are displaying fine in the payslip
    Please suggest what to do
    Thank you

    If you are using OM module, then you dont have to maintain values in T527X table.
    Instead, i guess some customisation is missing in the payslip to fetch the data. are you using HR forms or is it through PE51 you are creating customised form?
    If through PE51, then from then, click on the Window and choose change. In the top of the window screen, where you can maintain the screen header information, you store
    *Department : BTRTL_______________ *
    This will help you fetch the department details i.e. org unit
    Regards,
    Pranitha

  • Shows all Org Structure in Org Unit Listing in Nakisa Org Chart

    Hi,
    We are using Org Chart 3.0SP2.
    The issue is when we search the Org Units in Org Unit listing it also shows other Org Units from other org structure which does not lie inside our selected Org Structure (already given the root org unit ID in Org chart config)
    But i cannot restrict the org unit listing because we cannot find any option to give root org unit ID in org unit listing configuration.
    How can we restrict this Org unit listing which should show only the org units below the selected org structure.
    Because already several org structure exists in back-end,but we have given one org structure (entered the root id) which we need for org chart.
    Thanks,
    Sakthi.

    Hi Sakthi,
    The search uses a listing report that pulls all active OrgUnits from HRP1000. This will include objects not within your org structure. The only way to do this is to add a data filter to the search data element that filters out these objects (e.g. filter by a short code or name). Please note that you cannot filter by the key field (ID).
    Best regards,
    Luke

  • The bp id for org unit does not exist

    Dear expert,
    after transport the org structure from dev to qty system , we found the bp id for org unit does not exist in qty system.
    in ppoma_crm, we can see there is a bp id assigned to the org unit. however, when use tcode 'bp' to check the bp id, the system can not fould a valid id.
    what can we do to solve the issue?
    will there any impact if we keep no bp id for the org unit?

    Hi,
    You can use the transaction CRM_OM_BP_INTEGRATE.
    Select the Org unit and enter the org id in the input field and execute it.
    Select the org unit from the result list and click on the button Start Repair. This will create a BP without errors for the respective org unit.
    Regards,
    PP

  • Organization Staffing - Unable to change org.unit description

    Hi All,
    We are unable to change the short and long descriptions of org.units from the organization and staffing interface. Whereas we are able to change it from the expert mode. If we are changing the descriptions, on pressing 'Enter Key' or on 'Saving' data, system brings back the descriptions as 'New Org Unit' and 'New Organizational Unit' as short and long descriptions. Then we have to go to expert mode for changing it. Any solution ?
    Thanks
    Sreeja

    Try this:
    I presume you have a root Org Unit
    --in Goto menu (on top of the Org Unit etc where you see other icons such as one level up, etc) select Organizational Structure option
    --place your cursor on the root Org Unit and click Create icon - that brings up a small screen which reads "Create Org Unit" -- it should also have validity date as well as Short Text and Long Text
    --Make all the entries and save
    Pl let me know if this has worked for you or if you have a differnet scenario
    As such this is very simple
    remember to reward points

  • Adding BP to the ORg Unit

    Hi All.
    We are using the external number range for creating the BP for the Org units from external system.   But, in one of the cases, the Org unit is missing a Business Partner.  When we checked in the transaction BP, we can see the Business Partner for the Org unit.  But, the number is not shown in PPOSA for the respective org unit.
    Can you please suggest me how to proceed further?  If I you can guide to find the answers for the following, it will be really helpful for me.
    1-  How the BP seperated from the orgunit?
    2-  How to link the BP tothe org unit again?
    Thanks & Regards
    Raj

    Hi Raj
    Everyorganisation must have a BP . Please check address tab  and make ensure that you filled all required field value add, country, mail id , region.
    As daniel said earlier you can assign the users via USERS_GEN .
    Every one should have a BP . For eg Organisation and User also.
    regards
    Muthu

  • How to get managers from org unit?

    Hi Experts,
    Anyone knows how to get managers information from given org unit?
    Thanks

    Hi Shane,
    You need to use two FM's for this :
    Use BBPU_GET_USERS_OF_ORGUNIT to get user IDs of all users of the ORGUNIT
    And then use BBPU_GET_MANAGER_FLAG to get manager flag for each user ID.
    Hope this helps
    Regards
    Vishal

Maybe you are looking for

  • Windows xp pro sp2 no display in java windows

    Hi everybody, I have just install my new computer, windows xp pro sp2 and java 1.5 update 4, and I have this problem: I can't see what's inside java windows, for examples when I go throw the control panel and I want to configure java when I double cl

  • ITunes won't integrate with Photoshop Elements 6 for Photo Syncing

    I just recentley upgraded to Photoshop Elements 6 for organizing my photos, but for some reason, it keeps showing up my old Photoshop Elements 5 catalouge (which by the way, states that there's 0 pictures on listed albums) instead of my new Photoshop

  • How can i recover my photos from iMessage on my macbook pro after i forward them to myself?

    I wanted to save some pictures from an iMessage Convo i had on my macbook and to save them i forwarded them to myself to my iPhone, all the sudden the convo disappears with the pictures i wanted to save. Is there a way for me to go back so i can get

  • Tone curve RGB

    I am trying to alter individual RGB channels within the tone curve box, but I don't get a pop up dialoge box. I saw a mention of PV 2010 and PV 2003, but I don't know what these are, or if one can convert to them.

  • Newbie Tableview question

    I'm taking a crack at my first app. I have 5 items (cells) in a table.  I need the first 3 items to point to three seperate plists.  The fourth would go to a tabbar view and the last to a regular view.   I need help getting the rootcontroller to poin