Hierarchy of org.unit
hi,
i wont to now which org is existing in hierarchy of org that i put.
e.g. if i put org 1000 ( father ) i wont to get all the org under this org
1000 <- father
200 <- child
525 <- child
i think that RH_STRUC_GET can help but i don't now how to use it
Regards
Hi
To my knowledge, for an Org unit u must use the OBJID to get the Dept unit and the Operating unit.
for this u need to do the following.
PERFORM get_deptid_and_oprunit USING wa_output-objid
CHANGING wa_output-deptunit
wa_output-divis .
CLEAR v_orgunitdesc.
SELECT SINGLE stext
FROM hrp1000
INTO v_orgunitdesc
WHERE plvar = c_plvar AND
otype = c_otype AND
objid = v_sobid AND
istat = c_istat AND
begda LE pn-endda AND
endda GE pn-begda AND
langu = sy-langu AND
seqnr = c_seqnr.
IF sy-subrc = 0.
Move Org Unit description to the work area
MOVE v_orgunitdesc TO wa_output-deptuntdesc.
ENDIF.
v_neworgunit = wa_output-divis.
WHILE f_result1 NE c_x AND f_result NE c_x .
v_dep = c_opr_unit.
SELECT SINGLE stext
FROM hrp1000
INTO v_orgunitdesc
WHERE plvar = c_plvar AND
otype = c_otype AND
objid = v_orgeh AND
istat = c_istat AND
begda LE pn-endda AND
endda GE pn-begda AND
langu = sy-langu AND
seqnr = c_seqnr.
IF sy-subrc = 0.
Move Org Unit description to the work area
MOVE v_orgunitdesc TO wa_output-divisdesc.
ENDIF.
Similar Messages
-
How to extract an employee reporting hierarchy per org unit in spreadsheet
Hi Guys,
Can any one advise if there's a standard report I can use to see employee's reporting hierachy in spreadsheetformat ?
Report must have per org unit positions with their related positions :'reports to' A002 relationship between two positions in a specific org unit and person's name/employee number occuping the positions.
I tried creating joint table but battling to undestand how I can have the two related positions info in the infoset.
Current standard report give me only positions with reports to relationship but haven't found report showing me positions with reports to relationship and their related position.Have you tried using logical database PCH? That gives flexibility to create this kind of report. Create an infoset in SQ02 and an Adhoc Query in SQ01 based on PCH Logical Database. You will need the relationship subtype 'A002' and related object type 'P' on selection screen.
Edited by: Shafiq Rehman on Feb 6, 2008 4:23 PM -
Org unit Hierarchy structure between two Key date s
Hello Friends,
We have an issue with displaying HR Org unit hierarchy structure between two calendar months.
The BI Report has a selection parameter to select Org unit hierarchy , Calendar month From and Calendar month To
The BI Report is to display the no.of sick absence days for employees in a chosen Org unit hier.
Employee A had a sick absence of 5 days in the month 04.2011 in the Org unit X . The same employee had a sick absence of 4 days in 05.2011.The Org unit X then delimit in 05.2011 , the Org unit X is no longer in Org structure from 05.2011.
When we run the report for 04.2011 to 04.2011 , the employee A is showing absence under Correct Org unit ie X with correct Org structure .
When we run the Report for 05.2011 to 05.2011 , the employee A is showing absence under hierarchy Org unit Not assigned which is OK .
But the issue is when we run the Report from 04.2011 to 05.2011 , The employee A absence days 9 (5 +4 ) showing under Not assigned Org unit hierarchy structure which is the latest Org unit .
When I deactivate the Org unit hierarchy and choose tech name of Org unit , It is showing correct Org unit key
But The user would like to see 5 days under org unit X and 4 days under Not assigned with Correct Org unit hier structure when we run the Report from 04.2011 to 05..2011 .
We have a user Exit variable for the Key date in the Bex Report which seems to be taking only one date at any time .
Is there any way to get the correct figures under Org unit hier structure where employee had absence in when we put range of calendar months on a selection screen ?
Any advice appreciated.
Thanks.Hi
Yes, we can display the same by using time dependent hierachy's i.e. your org is converted to time dependent so that respective employee shows with respective of time.
Regards
Jagadeesh.M -
Org unit Hierarchy structure at Key date
Hello Friends,
We have an issue with displaying HR Org unit hierarchy structure between two calendar months.
The BI Report has a selection parameter to select Org unit hierarchy , Calendar month From and Calendar month To
The BI Report is to display the no.of sick absence days for employees in a chosen Org unit hier.
Employee A had a sick absence of 5 days in the month 04.2011 in the Org unit X . The same employee had a sick absence of 4 days in 05.2011.The Org unit X then delimit in 05.2011 , the Org unit X is no longer in Org structure from 05.2011.
When we run the report for 04.2011 to 04.2011 , the employee A is showing absence under Correct Org unit ie X with correct Org structure .
When we run the Report for 05.2011 to 05.2011 , the employee A is showing absence under hierarchy Org unit Not assigned which is OK .
But the issue is when we run the Report from 04.2011 to 05.2011 , The employee A absence days 9 (5 +4 ) showing under Not assigned Org unit hierarchy structure which is the latest Org unit .
When I deactivate the Org unit hierarchy and choose tech name of Org unit , It is showing correct Org unit key
But The user would like to see 5 days under org unit X and 4 days under Not assigned with Correct Org unit hier structure when we run the Report from 04.2011 to 05..2011 .
We have a user Exit variable for the Key date in the Bex Report which seems to be taking only one date at any time .
Is there any way to get the correct figures under Org unit hier structure where employee had absence in when we put range of calendar months on a selection screen ?
Any advice appreciated.
Thanks.Hi,
You can try adding two more attributes to Org Unit as "Calender month from" and "Calender month to".
In these attributes maintain the validity period for the corresponding master data.
For example, in your case you can maintain the master data as:
Employee | Org Unit | Calender month from |Calender month to | sick absence
A | X | 4.2011| 4.2011 | 5 days
A | | 5.2011 | 05.2011 | 4 days
And in report use variables for Calender month from" and "Calender month to".
Hence, when user executes the report with selection as:
Calender month from" = 04.2011
"Calender month to" = 05.2011
The data will be read from master data based on these selections along with key date and report will show output as expected.
Employee | Org Unit | Calender month from |Calender month to | sick absence
A | X | 4.2011| 4.2011 | 5 days
A | | 5.2011 | 05.2011 | 4 days
Hope this works for you.
Regards,
Geetanjali -
Org.units structure/hierarchy
Hi all,
I need org.units hierarchy/structure. I think of a table with fields like org.unit id, parent org.unit id. The data should be suitable for building a tree later which will display the org.units hierarchy.
I read much in the forum, but I didn't find smth helpful.
Is there a function module which exports such a data?
Thanks,
OgnianaHi!
Well I don't know any function modules about it. I'm reading them directly from the table HRP1000, HRP1001. It is a bit complicated and requires a few hours till figures out the keys and the hierarchy (OBJID is the upper and SOBID is the lower level) in this table.
If no one will post a useful function module, you might try these tables.
I'll check back later maybe I can use a function module, if someone posts one...
Best regards
Tamá -
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. -
Change Org.unit Hierarchy
Hi,
I want to change hierarchy of organization unit X111 immediately after X1.
Ex:
Existing
Root X
|_X1
|_X11
| |_X111
|_X12
Required
Root X
|_X1
|_X11
|_X111
|_X12
Under Org.Unit X111 some employees exist. Live Payroll run at least for 1 year completed.
Is it preferable to change org. unit report to link from X11 to X1.
What will be implications ?
regard,
ChintanHi Chintan,
Go to T Code: PPOME
According to your EX: Select X111, click on it and drag and drop it in X1. So that automatically the link flow over there. Hope there will not be any prob in payroll.
If found useful awrad points
Regards,
Madhu Sudhanan -
Department / Org. unit Hierarchy report
Hi Team,
I am trying to pull a department / org. unit hierarchy report that rolls-up, for example if I am an IT analyst, under Service mgmt, ultimately rolling up to IT (org. unit) similiar to PPOME view.
I did try a FM (RH_STRUC_GET), but could not get the req. details.
Let me know if there is something like this, that I can use.
Thanks
RLHi,
Please try evaluation path O-O-S-P in report RHSTRU00 as mentioned by semvladigo.
Regards,
Dilek -
Hierarchy org unit to wad report from MSS
Hello to all.
I have a WAD Report that the parameters for it are: Org unit - as the root, and a year/month.
The report receive an org unit and display data for it and for all org units under it in the Org. structure.
I start the report from the MSS on portal.
In R/3 in table T77MWBBWS I created an entry for that report with Reference char. = "ORG_STRU" instead of "0orgunit".
The report ignores the Org unit that I choose from the MSS selection screen, and starts with the Root Org unit of my Org structure.
What to do in order to start the report with the Org unit that i select and to get results for all the org. units under it ?
Thanks, Pazit AtarI am also facing same problem.
I want to know how the org unit which is selected on MSS screen is passed to backend R/3 report (which is using PNP logical db)
PLEASE HELP. -
How to extract Org.unit Hierarches in BI 7.0
Hi experts,
I am developing HCM BI reports, right now I am into Org management and Personnel Administration,
I am new to HCM.
my doubts are clarified in existing discussions in the forum.
queries:
1) how to create hierarchies of Org. units in BI 7.0 give me steps.
2) I am not able to load data into standard info cubes(0PA_C01 and 0PAOS_C01).
Any procedure I have to fallow for these cubes to load data.
thanks in advance
Vijay1) how to create hierarchies of Org. units in BI 7.0 give me steps.
U just have to load hierarchies created in ECC... The standard datasource that loads 0ORGUNIT
hierarchy is 0ORGUNIT_HR01_HIER... Assign this datasource to 0ORGUNIT (transfer rules) and
create infopackage (in 'Hierarchy selection' tab, if u click 'available Hierarchies from OLTP' button, it
will give u all available hierarchies (technical name ORGEH) for 0ORGUNIT)
To check existing orgunits in ECC
Use tcode PPOSE
Expand 'Organizational Unit' Node
Click on 'Structure Search'
2) I am not able to load data into standard info cubes(0PA_C01 and 0PAOS_C01).
These infocubes has many fields like Gender,Nationality,Language,Age in Years,Country
key,County Code,Region (State, Province, County),Postal Code etc..
All these fields are populated through routines (reads master data of 0EMPLOYEE) and a start
routine.
So, u have to be careful when u install standard content, make sure u install routines for above
objects mapping in transfer rules. Also make sure the "Start Routine" installed properly
In ECC, also check data exists in infotypes PA0000 & PA0302 (for 0PA_C01) and HRP1000,
HRP1001, HRP1007 & PA0007 (0PAOS_C01) -
Can a position be linked to more than one org unit by A012 relation in SRM?
Hi All,
In the HR Org structure in ECC, a position (S) can have more than one A012 relation with different organization units (O).
For example:
S 123 has a A012 relation with Org unit A; validity date: 04/04/2006 to 12/31/9999
S 123 has a A012 relation with Org unit B; validity date: 06/01/2006 to 12/31/9999
org unit B falls under Org unit A in the Org unit hierarchy structure.
But, in SRM I find that only one relation A012 linking S to O can be maintained, which is:
S 123 has a A012 relation with Org unit B; validity date: 06/01/2006 to 12/31/9999
I tried passing the data again through PFAL transaction (update mode), but the data in SRM does not change.
Is this standard behaviour? Can't a person manage more than one org unit in SRM?
I am currently working on SRM 5.0 with ECC 6.0 as backend.
Regards,
AncyHi,
This functionality only relates to users who are professional
purchasers. It means that they can be responsible for more than one
purchasing group. In past releases, they were responsible for the
purchasing group that they hung from in the org structure. Since some
customers wanted that they could be responsible for more than one
purchasing group, but the system would not allow the purchaser to belong
to more than one org unit. Hence they introduced the new functionality
that I described above. However it is not technically possible for a
user to belong to more than one org unit since this would lead to
inconsistencies in the way that the attributes work.
I hope this helps.
Kind Regards,
Edel. -
HR Report to display headcount up to 10 levels of Org Units
Hi Experts,
Can you please give steps for the following requirement.Is there any standards available.Please explain the procedure to create report.
Points will be awarded fot the suitable solutions.
The report shouldl query SAP for the number of employees based on the personnel area and sub area. The main reporting is based on the sub area. If the employee is in the India Pers Area the total number of employees from each sub area will have to be deducted from the headcount for that sub area and added to the India area for headcount totaling. For each of the areas/subareas we need to gather the total number of Active Employees, Temp Employees and Contractors. This information can be gathered from the employee group.
i/p filed available table
Key Date
Employment Status PA0000
Personnel Area PA0001
Personnel Sub Area PA0001
Employee Group PA0001
Employee Subgroup PA0001
C stands for column C2 c3 c4 will be filled by users after running report.
c1 c2 c3 c4 c5 c6
SEIM 70 9 4 Pers Sub Area - FIN
NGUYEN 25 0 1 Pers Sub Area - MKT
LUHR 120 3 4 Pers Sub Area - SLS
DREW 532 78 2 Pers Sub Area u2013 OPS
CHOMA 35 2 6 Pers Sub Area u2013 ODLP
LIPPS 3 0 0 Pers Sub Area - GAA
INDIA 79 0 0 Pers Area - IND
TOTAL 864 92 17 0
Thanks and Regards,
RajIf you want to read the org unit hierarchy from the org structure, tables HRP1001 and HRP1000 should
have all the information you need. HRP1001 hold the relationships between the org structure objects
and HRP1000 holds information about each object.
If you don't want to do the selects yourself, there is a very useful function module called
RH_STRUC_GET which does the same sort of thing ie reads the relationships between org structure objects
using whatever evaluation path you pass in in parameter ACT_WEGID.. -
Restrict employee postion to current based on Org Unit
Hi,
We have recently implemented structural Authorization and I am now trying to create a query based on Org Unit.
The query is to show employee by position based on org unit. I have made org unit auth relevant and created a hierarchy variable as the restriction. In the row/columns I have included Org unit with hierarchy activated, position and employee. The KF is Actual time.
When I execute the report it is bringing leavers and people in old positions. To remove leavers I included a restriction on person to remove anyone in the position 99999999.
But this is still showing people in old postions. These positions have been end dated in the system and current positions have date 31/12/9999.
Does anyone know how I can restrict position to only show current positions?
ThanksHi,
as suggested i have made the query time dependant be selecting "key date" in the proerties, but this still brings in postions that have been end dated.
Is there a way to restrict postions by validity. The query is based on time management info cube
thanks -
Nakisa Org Chart Version 3.0 - Org Unit Position Statistics
Hi All,
Just a quick question, I am currently at a client site where org unit position statistics is always coming back with 0 for occupied and vacation positions.
There are clearly employees assigned to position in the org structure, but I am thinking it may be related to the work percentage on teh A008 relationship between the position and the person.
Can anyone confirm this or give some insight on why we could be getting zeros.
We are currently researching the authorizations to rule that out.
thanks.
JBHi Jamie,
I hope you are well. I assume you mean the OrgUnit Hierarchy > FTE View? For the OrgUnit FTE view, the data is calculated by counting all the Positions:
Occupied Positions: where Position has active Person assigned (defined by S A 008 P relationship and PA0000-STAT2 = 3 for related Person)
Vacant Positions: where Position has no active Person assigned (defined by S A 008 P relationship and PA0000-STAT2 = 3 for related Person)
However, this data element (Position_View_Element_Live.xml) uses the BAPI_SAP_NakisaRfcProcessor_PositionVacancyCount_Live class instead of a NakisaRFC Chart class but it does reference the SAPOrgUnitChart_Position NakisaRFC function. It might be that this class alter the output of the NakisaRFC Chart function.
Does that help?
Best regards,
Luke -
Succession Planning 3.0 SP1: Org Unit Detail Panel is empty
Hi,
My Org Unit Details Panel shows up empty when I click the following:
1. My Work Area -> My Org Units (Visualise)
2. Expand the hierarchy and select any Org Unit (double click)
3. The details panel on the right shows up empty.
In the log, I see this but I'm not sure what it means. Can anyone help?
640. 07 Apr 2011 13:40:38 INFO com.nakisa.Logger - Invoking action:chartviewdetails [5ec061f693fd455b84842e3e3725f548]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
641. 07 Apr 2011 13:40:38 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: HRTMC_GET_ORGUNIT_ATTR took: 59ms
642. 07 Apr 2011 13:40:38 WARN com.nakisa.Logger - Hrtmc_Check_Pd_Authorization.getDataSet() : Invalid fcode 'INSE' found in the data element'
643. 07 Apr 2011 13:40:38 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: HRTMC_CHECK_PD_AUTHORIZATION took: 19ms
644. 07 Apr 2011 13:40:38 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: HRWPC_RFC_STRUCTURE_GET took: 49ms
645. 07 Apr 2011 13:40:38 INFO com.nakisa.Logger - chartviewdetails on OrgChartAppEventProcessor took: 352msHi there,
There is either a SAP program error or there is an application bug with the data element. It looks like the first, so try implementing these SAP notes, if applicable to your system:
u2022 1531422 - Autom. delim.: PD framework instantiation and plan version
u2022 1565542 - Incorrect authorization message for inactive employees
Also have a search through SAP notes in SMP. If that does not resolve your issue then raise an OSS message.
Best regards,
Luke
Maybe you are looking for
-
Can no longer connect my B&W A7
Hello : Recently bought Airpot Extreme and my A7 will no longer connect via AirPlay. Do not know what to do B&W tech support wrote me this: If you are able to set up your A7 but, it will not work wirelessly network can you plea
-
WRE54G is already connected to WRT160N Router, but can not get access to internet?
Hello,,, I have seven of rung expanders WRE54G and all settings i set as this link http://linksys.custhelp.com/cgi-bin/linksys.cfg/php/enduser/std_adp.php?p_faqid=4104&p_created=11611... * same wireless SSID name * same Channle ( What is the differe
-
How do I cancel a monthly subscription to a magazine
I am trying to cancel a subscription to a magazine and I don't know how to do this
-
Hi, I am trying extract data for the datasource 0EC_PCA_3 to 2 different BW systems. The timestamp in the delta queue for this delta source is set as an hour earlier to the delta load time. what is the concept behind this timestamp field...how is it
-
Hello everybody! With my website, I wanted to create a forum. I know there are a lot you can use online. I was wondering if I could have some suggestions as to which one I should use. Thanks a ton.