Origin org unit in pnpobjid table

Hi all!
I'm working in HR module and I've problems to retrieve the organizational unit. From the selection screen is posible to select an org unit and all the units dependants from the first one. These units and groups are located into a table called pnpobjid and what I need is to retrieve which was the original one the 'mother' of all the other, because this pnpobjid table sort the them in an ascending way and the 'mother' is not always the smaller, so could be located in the middle of the table.
Does anybody know some FM or some way to retrieve this originary og unit from pnpobjid?????
Many thanks to all of you!!!

Hi,
why can't you try to select it from infotype PA0001.
the field is <b>ORGEH</b>.
data: l_objid type PA0001-orgeh.
select single ORGEH
              from PA0001
              into l_objid
           where pernr = pernr.
Regards
vijay

Similar Messages

  • RHINTE00 - Position and org unit deleted in infotype 0001 not transferred

    Hi all,
    we are using report RHINTE00 to transfer the assignations with positions and org units made in infotype 1 to PPOME.
    Everything works fine when we are assigning a position and org unit.
    But when we remove the entry and run the report, the assignation in the PPOME still exists..
    Do I have to do something special to delete the relationships ?
    thanks in advance !!

    Hello,
    If you have terminated some employees, to remove relationship without existing objects, you have to use report. RHCHECKRELATIONS. Then if you just need to delimit them, make sure that org. unit exists in table T527X and rerun report RHINTE00. Hope it helps,
    Regards
    Christine

  • 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

  • Recreate Org unit ID

    Hi folks,
    I need your help to recreate a organizational unit ID.
    By mistake we have deleted a buyer set up from SRM org structure. Instead of deleting the buyer's positoin we have deleted also the buyer's org ID. Because of that we couldn't display the print preview of the POs created by that buyer. If we assign some other buyer to the Po then we can display it.
    But there are 1000 of POs and we dont want to assign all these POs to another buyer. Instead we want to have the original org unit ID. Is it possible to recreate the deleted org unit ID or anyother way to activate it.
    When I am trying to create it, it is always creating the org unit in the next available number.
    Please help.
    Thanks,
    SS

    Hi Luke,
    Employee is attached to a position.
    We are trying with login screen as well. But something is going wrong & it is not allowing us to login with user ID & Password (with which we are able to log in to other components of nakisa successfully).
    Below is the error message whichw e are getting in log file:
    295. 07 Jul 2011 09:01:06 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Login process finished with errors
    296. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - Tenant ID: 000
    297. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - LoginSettingsObject Load: 14
    298. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Credential provider ActiveDirectory
    299. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : User to authenticate chouhas
    300. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Authentication provider SapStandard
    301. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : User authenticated chouhas
    302. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Authentication row is null
    303. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : User population provider is Database
    304. 07 Jul 2011 09:01:32 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/RFC_REPORT threw an Exception of type Exception, took: 27ms
    305. 07 Jul 2011 09:01:32 ERROR com.nakisa.Logger - BAPI_SAP_OTFProcessor_Report : Utility.generateTableFromJoinConds() : while trying to read the field 'name' of an object loaded from an array (which itself was loaded from local variable 'FJC') with an index loaded from local variable 'i'
    Please Help!
    Thanks,
    Prashant

  • Table for link with BP and Org Unit

    Hi experts
    i'd like to know what is the table where there is inside the link beetween BP and Org Unit.
    I know that the table HRP1001 links users to Org Unit but i cannot find the BP
    regards
    andrea

    Hi
    you can always find the link between Org unit O and its related BP in table HRP1001.
    Key in Org unit ID in the table selection parameter OBJID and execute. It will list postions (S) assigned to the Org ID and its BP number. Look at the relation B207(subtype) which will show O-BP assigment. It will be the last entry in the output list.
    R/Reddy.

  • Table for Cost Centers and Org Units

    Hi All,
    How to retrieve the list of Cost centers and the associated Organization Units?
    My HR user is in need of such list...
    Can anyone help me out....????
    Regards
    Pavan

    Hi
    I dont think you can associate a cost center with org unit, it is normally associated with position/person.
    You can check table PA0001 to get the cost center and org unit for a personnel number.
    Is this your requirement ?
    Thanks,
    Shrinivas

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

  • FM or Table to get the BP ID of Root org unit

    Hello All
    We are triggering code from ECC which replicates Ship to Address to SRM.
    We want to know an FM or Table which will provide us with the BP # of the root org unit. ( Purchasing company)
    It is preferable if we don't have to hard code this.
    Thanks
    Kedar

    Hi Kedar,
    Create a custom table to store the business partner  of the root org unit or the company code and then use that table to get the BP and create ship to address for that org.
    The could BP will be different in different environmnet so you cannot hard code that .. also there is no function module to get the BP of the Root  org id or compnay code...
    there are FM and table to get all id of company code etc but all reuqire input busines spartner which you willhave to enter ...
    Thanks
    Iftekhar Alam

  • Table for Address maintained for Org Unit in PPOMA_CRM

    Hello,
    Is anybody aware of the table which stores the address of the Sales Org unit maintained in PPOMA_CRM..Quick replies are appreciated..

    Hi,
    See the table:HRP1028.
    Regards,
    Masayuki

  • Table for Org unit information

    Hi All,
    Is there a table or FM, through which we can get the Org unit name by giving the org unit ID?
    It is there in table HRP1000 with the fields SHORT and STEXT. But it is taking hell lot of time to give the output. Is there any other table or FM for this?
    Please advise.
    Thanks,
    SS

    hi SS
    many FM are available for your requireemnt
    1.BBP_OUTPUT_GET_COMPANY_ADDRESS  - i/p bp of your company code o/p you will get address of company
    2.BP_CENTRALPERSON_GET - input your user name and you may get central person name.
    br
    muthu

  • 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

  • Cost Center Inheritance from Org Unit

    Good day all,
    Can someone please advise regarding cost center inheritance from org units?
    I understand the inheritance concept, however simple need to know if the CCenter is added to the org unit via A011 relationship, does the system physically create a A011 relationship on the position inhertiting the cost center from the org or does the system simply pick up the realtionship from the org unit relationsip for use in IT0001 field KOSTL (cost center)?
    Thanks guys, have a lovely day!
    Christy

    Hi Christy,
    As we know cost centre(K) is an unusual object in OM.Two type of objects internal  whose master record are in database table beloging to sap erp hcm and eexternal object whose master data belong to other application areas.Cost centre is an external object that is used to represent origin of costs.Inheritance concept is on the basis of whoch cost centre are assigned in org plan.
    directly related cost centre is called master cost centre and they are made via A011 cost centre assignment relationsip.they can be made at org unit,position or work centre and nornmally its org unit that common.Org unit at the top are asisgned the cost centre as a best practise so that all the org units below or reporting will inherit the same.
    Similarly multiple cost centre assignments can also e made through 1018 infotype(cost centre distribution).Inheritance also applied to them aswell.
    Hope this helps.
    No Worries
    KG

  • Org unit date in adhoc query

    Hi
    I have created a TEM query in SQ02, based on infoset \SAPQUERY\HR_TEM_E (logical database PCH),  in which I am outputting object name and date (P1000), and org unit (P8004).
    The output on the org unit name corresponds to the most current version of the org unit, but my requirement is for it to match to the date that the course object exists, i.e. historical.
    Would anyone know a way to code this field, or whether there is a functional solution to this?
    Please do let me know.
    Anyone?
    Edited by: minttea on Aug 10, 2010 3:52 PM

    Hi..
    Pls check below code to fetch the tesxt of historical org unit. hope it will help.
    *//Internal table declaration.
    DATA : lt_00  TYPE STANDARD TABLE OF pa0000,
           lt_psn TYPE STANDARD TABLE OF zhrpositions,
           lt_ret TYPE STANDARD TABLE OF bapiret2,
           lt_01  TYPE STANDARD TABLE OF pa0001,
           lw_01  TYPE pa0001,
           lw_psn TYPE zhrpositions,
           lt_comps  LIKE zstr_hr_comps,
           lt_return LIKE bapiret2.
    Thanks,
    kl
    Edited by: Narayana on Aug 10, 2010 10:50 AM

  • HCM-ORG MANAGMENT Config error, in creation of Org Units.

    Hi Experts,
    I am trying to configure the HCM-Organization Management in ECC 6.0, When I try to maintain an Org Unit, the system prompts with an Information Message as stated below, since it was an information message, i continued creating the Org Unit, but when I am trying to save the entry, Now system shows me the same message and doesnt allow me save the entry and prompts me with same message...
    No evaluation path specified for structural evaluation
    Message no. 5A249
    Diagnosis
    You want to start structural reporting, but you have not specified an evaluation path according to table T778A.
    Can any of you help me in this regard.
    Best Regards,
    KishoreJ.

    Hi Amosha,
    When i try to do it through the expert mode..The following error shows in the task bar
    For infotype 1000 in status 4, function INSE is not allowed
    Message no. 5A043
    Best Regards,
    KishoreJ.

  • Empty start validity date for an org unit

    Dears!
    some time ago we discovered a disturbing issue in Productive data. Some org units have an empty start date. I have no idea how it could be created by users, but now we need to solve it.
    The records with empty start date are visible in PP01 only in Display mode.
    The program RE_RHBEGDA0 (New start date) doesn't help. After running the new record for an object is created but there is still remaining the record with empty start date, but with shifted end date...
    Do you have any idea how to solve this?
    Thanks all in advance,
    Anastasia

    Hi,
    You are right - user definitely couldn't create it. Probably you need to ask you ABAPer.
    I can suggest you to try to copy original record and replace empty start date with valid one: PP01, IT1000, copy, change start date, save.
    Cheers!

Maybe you are looking for

  • Customer invoice doument and cancelled document are showing under openitems

    Dear All, I have created customer invoice in VF01 and cancelled the invoice in VF11. 1.System is showing Invoice document and cancelled document under open items list in FBL5N customer line items. A. Is this correct?         or B. When we cancelled t

  • Playback on external monitor

    Hello! I recently purchased a new dell 22 inch monitor to accompany my 20 inch alum imac. (and to replace a crappy old dell monitor). Previously i used that monitor for fullscreen playback of my HDV video out of Final Cut Pro (FCS2). I just upgraded

  • Gdr2 for lumia 520

    any idea when the gdr2 update(coupled with amber) is gonna be available for Lumia 520. Also what changes does it include?

  • Javaw.exe throws Disk A: is not ready message

    My application worked fine with JWS 1.0.1 until I started using JFileChooser in my application. When I am calling a constructor JFileChooser("C:/TEMP") JWS's javaw.exe throws the warning "Disk A is not ready. Retry, Abort, Ignore" Then if I press "Ig

  • Rule based query

    Hi all, please forward information about Rule Based Query, actually i am nott getting what is rule based query, please help me out.... Thanks and Regards, Santosh