How to group employees together belonging to a particular org. unit togethe
Hi,
I am developing a report. In that report after retrieving the relevant data(Employees belonging to a particular org. unit together irrespective of position say employee, chief etc.) it is required to display the output in a such a manner that all employees belonging to a particular org. unit will be grouped together.
Which one would be a better grouping criteria?
1. Grouping by personnel area(P0001-WERKS)
2. Grouping by org. unit(P0001-ORGEH)
What is the impact of both of them?
In case if there is a grouping criteria other than both mentioned above, then please guide me for the same.
The objective of the report is to show the result in the form of employees belonging to a particular department together irrespective of their position in the department.
Thanks,
Cost Center Can be inherited Via
OU - Current or Any OU above inthe Hierarchy
Position Hierarchy
IT - Account Assignment for OU or Position
Or IT-27 directly..
Ensure Cost center ref is removed from all these sources if you dont want a Cost Center.
Similar Messages
-
How many cost centers can we assign to a org unit
can anyone pls tell me tht How many cost centers can we assign to a org unit ??
thanks
waiting for reply asapHi,
As mentioned above the common is to assign one cost center. You will see it in IT0001. But in case you need mor cost center to be assign to one employee you have the option to go to IT0027 and in there you may assign more cost centers base on different percentage.
Hope it helps.
Kind Regards,
Edoardo -
% distribution of all the employees in a particular org unit
Hello To all,
I am working in Objective Setting and Assessments, I am having a one reporting requirment where I need to show % distribution of all the employees in a particular org unit. I kept 0ORGUNIT in row and Keyfigure 1ROWCOUNT in column,
I have created a formula for % distribution of all the employees -> %GT " No. fo Records"
I am bit confused that weather i should take %GT or %CT, %RT
Wt is difference between that formulas.
Kindly suggest
Thanks
ShaliniHi Shalini,
%CT gives the share of the result, for example in a Regios if you have 10 employees then for each row it gives the employee share for that Region.
%GT gives the share of the result from the Grand Total, for example if you have 10 regions then it caluculates each row it gives the employee share from all the Regions Grand Total.
%RT gives the share from the Report Result for each employee.
In your case you need to use the %GT, then for each region result area it gives % of distribution of all the employees.
Hope this helps.
Veerendra. -
CATS - How to enter times of an employee who works for 2 different Org Unit
Hi,
I am able to successfully enter times for an employee and do the approval process (CAT4) and CAT6 and I can see the records getting updated in PA30.
Scenario :
Employee works for 2 different Org Units and should be able to enter his time through Timesheet. Eg: Employee A spends 6 Hours working in Department B1 & 3 Hours in Dept B2.
The Manager of B1 should only be able to approve 6 Hours of Employee A
The Manager of B2 should only be able to approve 6 Hours of Employee A
Can somebody help me out how this can be achieved?
Regards,
MamtaHi Sameer,
Thank you for the response. Yes, when I report the times for 2 different org units I would also want the cost for that employee distributed between org units.
I tried your solution-> by entering times in CAT2 for Employee A for 2 different Cost Centers that I created.
For Department B1 --> In CAT2 I entered Cost center C1 : 6 Hours
For Department B2 -->In CAT2 I entered Cost center C2 : 4 Hours
When I go to CAT4 and try to select the employee for approval and search the employee-A Org unit wise he is displayed only in his original Department -> B1 with 10 hours (6+4). What else do you think needs to be done?
Is this anything to be done with Sender Receiver Cost Centers because the cost center C1,C2 that I created for Org Units B1 & B2 respectively are just Cost Centers. I dont know the difference between Costcenter and Sender Costcenter/Receiver Costcenter.
I will try to explain the scenario again in case I was not clear :
u2022Each employee has their home OU. However these employees may be working with multiple OU each day or the week. So potentially, the time sheet may have to be approved by multiple managers.
Regards,
Mamta -
How to Restrict Creation of Infotype Record for Certain Org Units?
Dear All,
Requirement:
Org Unit 1 does not have overtime. Even the employee works overtime, they will not get overtime compensation.
One of the option is to disallow the creation of IT2005's record for all the employees in Org Unit 1.
Is it possible to do this through standard SAP?
Thanks a lot.Hi,
The best way to control this will be with Authorizations so that people belonging to one Org.unit should not have IT2005 mantainence.
Let me know if u have any concerns on this.
Thanks
Swati -
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 -
Employee determination on the basis of Org.Unit
Hi expert,
I'd like to retrieve the employee responsible for a task from the organizational unit:
In the business scenario i've a person that, for each org unit, is in charge to fulfill this task; the expected behaviour would be that while creating a task, the employee responsible is automatically filled with the person, that for the identified org unit, is responsible.
I've set the access sequence "0009: organizational data employee for an organizational unit." in correspondence of the partner function Employee responsible; Now i don't know how to link that person to the org unit. Do i have to use position before?
Regards
CCarmine,
You would need to create a new access sequences based on organizational data. Then you would also need to use a organizational data determination rule to determine which org unit/position should be used in the sequence.
If this can't work, then you need to implement the partner determination BADI (COM_PARTNER_BADI) to build your source determination logic so that it meets your needs.
Good luck,
Stephen -
How do we assign mass BP's to an ORG UNIT
Hi Experts,
I need to assign a more than 500 BP's to a Position.Could you please tell me that how do we do this mass assignment of Bp's to a position?What will be the impact if assign many bp's to an orgunit.
Thanks in advance,
Regards,
KishoreHello
PPOMA is a transaction in which org data assignment must be done manually. Anyway, you can create a report using FM RH_INSERT_INFTY_EXP, but this FM is not released by SAP so be careful with the BP load.
Another option would be running report CRMC_R3_ORG_GENERATE in order to replicate partners from ERP to CRM.
The impact of 500 BPs to a single org unit is clear: Everytime you load the WebUI, all the structure is loaded, so you will possibly notice an impact in performance when loading WebUI. My recommendation is performing stress tests before passing the org structure to your production system.
Hope it helps
Joaquin -
How to find employees who are missing a particular infotype?
I am trying to find people who are missing IT 0023 (Previous employer) and IT 0094 (Residence status). How do I find the employees who are missing infotypes. I can easily find people with those infotypes.
Thanks
ManishHi
will give you a hint using data analysis perspective, hope it might be useful for you.
in data analysis you can get total number of employees (personnel numbers) who have certain characteristics (active employee for example) from PA0000 and then you can compare vs number of employees (personnel numbers) in the record infotypes you want to check.
download records from PA0023 an PA0094. you may process the data using pivot table. then you can compare which personnel number does not have record in related infotypes.
use tcode SE16 Data Browser or use sap query
Edited by: dhenny muliawaty on Mar 15, 2011 4:52 PM -
How to get employee no(pernr) based on the organizational unit
HI,
I am using LDB PNP in my program nd have used my own report category with Organizational unit,begin date and end date in the selection screen.
Now I have to get all the active employee of that organizational unit.so tell me how to get this
Explain about GET and PROVIDE statement
Regards,
KiruthiHi !
To get active employees reject separated employees ( action )
i.g
******Data fetch*****
start-of-selection.
get pernr.
if pernr-massn eq '14'.
reject.
else.
it_active-sapid = pernr-pernr.
endif.
ORGEH : Organizational Unit
ORGTX: Organization unit text
********Organization*************
*data text type char30.
SELECT SINGLE ORGEH from pa0001 into IT_ACTIVE-ORGEH where PERNR = IT_ACTIVE-SAPID.
SELECT SINGLE ORGTX from t527x into IT_ACTIVE-ORGTX where ORGEH = IT_ACTIVE-ORGEH and SPRSL = 'EN' .
if sy-subrc eq 0.
write: 160 sy-vline, IT_ACTIVE-ORGTX.
else.
clear: IT_ACTIVE-ORGTX.
write: 160 sy-vline, IT_ACTIVE-ORGTX.
endif.
**************Organizational ID ******************
select single ORGEH from pa0001 into it_active-Org where pernr = it_active-sapid and begda le pn-endda and endda eq '99991231' .
if sy-subrc eq 0.
write: 180 sy-vline, it_active-org .
else.
clear: it_active-org .
select single ORGEH from pa0001 into it_active-org where pernr = it_active-sapid and endda EQ '99991231' .
write: 180 sy-vline, it_active-org.
endif.
Regards
Sheetal -
How to know is the User assinged to any org unit in PPOSA_BBP or not
Hi All,
We have a requirment where need to check is a user is assigned to org uni n PPOSA_BBP or not.
how can we do this..
Regards
cbHello,
Hope this might be helpful.
1. Based on missing relationships:
In SRM relationships are O-S-CP-P,
From HRP1001, check the CP to S relationships, take the list of CP & compare with total number of CP from HRP1000, Delta will show CPs not tied to positions. you can extend the logic based on requirement.
2. Based on missing inherited attributes:
Root Org level attributes are inherited top to bottom. Read one specific attribute of user & compare with root level attribute. You can use standard FM for this.
Thanks
Ashutosh -
REG : How to read the value of Head of own org unit
Hi SRM gurus,
I have a requirement where I am populating the default purchaser, for that I am defaulting the purchaser as the head of Organizational unit.
Now my issue is I need to read this detail and populate in a custom field.
Do we have any BADI or FM which stores this (head of the purchasing org) data ?
Regards,
Aakash AwasthiHi,
you can try function module BBP_OM_STRUC_GET_MGR_FROM_ORG
Regards
Konstantin -
How to reconstruct the right order of jobs in org unit
Please, could you help me to determinate, where is saved order of jobs and units in Organizational Structure?
I'm using HRP1000 for definition of objects and HRP1001 for connections between them. But I can't determinate the right sort order of jobs on the same level in an org unit.
Thanks for help.
DasaHi Dasa
The relation order is stored at the field <b>"PRIOX"</b> of the 1001 record.
Best regards...
*--Serdar -
How to delete Costcenter assignment with a particular org. unit.
Dear Experts,
Im having a simple doubt.Is it sufficient to delete particular cost center through po10 and by deleting particular relationship A 011.
Could u please advice me to remove the inheritance with particular cost center with particular org. unit.
Thanks and regards,
Vishunu.Cost Center Can be inherited Via
OU - Current or Any OU above inthe Hierarchy
Position Hierarchy
IT - Account Assignment for OU or Position
Or IT-27 directly..
Ensure Cost center ref is removed from all these sources if you dont want a Cost Center. -
How to Extract top most position in any given Org Unit
Hi Experts,
I have a requirement to extract the highest position(or root position) in any given OrgUnit. See the below example for more info.
Eg: org1
-- position1
Org2
-- position2
Org3
--Org3A
-- position3
--Org3B
-- position4
As shown in the above structure, I need to extract the top most position in each Orgunit structure like postion1, position2, position3 and position4. Note that Org3 does not have a immediate position or chief position so we are reading position3 and 4 instead for org3.
Thanks in Advance,
VijayThe best way is to search until there is no more, in order to create the hierarchy.
To get all the B002 relationships for a respective Org. use parameter ACT_TDEPTH = 99 (i guess it won't go that deep) for the top Org.
The output table RESULT_STRUC will have a hierarchy structure, with all organizational units below the top one. Use the fields LEVEL and PDOWN (or PUP) to construct the hierarchy. Then for each ORG. just search for the manager position (B012).
Just a small look-in to what the fields in that table mean :
LEVEL - Level of the Org.
SEQNR - Index of ORG.
PDOWN - SEQNR of ORG below.
VCOUNT - Number of "brothers" (Orgs at the same level)
PNEXT - Brother to the RIGHT
PUP - Father
PPREV - Brother to the Left
Here is a sample program i made to insert this into a table that will later be used for creating an ALVTREE as an F4 for a field.
REPORT YHR00101UPDPG.
* TABELAS
TABLES: HRP1000, HRP1001.
* VARIAVEIS AUXILIARES
DATA: T_STRUC TYPE TABLE OF STRUC,
WA_STRUC TYPE STRUC,
WA_YTHR00035 TYPE YTHR00035.
DATA: W_PLVAR type OBJEC-PLVAR.
DATA: W_OBJID TYPE HRP1000-OBJID.
* ECRAN DE SELECCAO
SELECTION-SCREEN : BEGIN OF BLOCK bloco1 WITH FRAME TITLE text-001.
PARAMETERS : P_objid type hrp1000-objid MATCHCODE OBJECT PLOMA,
P_begda type hrp1000-begda DEFAULT sy-datum.
SELECTION-SCREEN END OF BLOCK bloco1.
START-OF-SELECTION.
* Get plan variant
call function 'RH_GET_ACTIVE_WF_PLVAR'
importing
act_plvar = w_plvar
exceptions
others = 1.
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
ACT_OTYPE = 'O'
ACT_OBJID = p_objid
ACT_WEGID = 'B002'
ACT_PLVAR = w_plvar
ACT_BEGDA = p_begda
ACT_ENDDA = p_begda
ACT_TDEPTH = 99
ACT_TFLAG = 'X'
ACT_VFLAG = 'X'
AUTHORITY_CHECK = 'X'
TABLES
RESULT_STRUC = T_STRUC
EXCEPTIONS
NO_PLVAR_FOUND = 1
NO_ENTRY_FOUND = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
if not t_struc[] is initial.
delete from YTHR00035.
endif.
* Agora temos a estrutura vamos criar a tabela YTHR00035
LOOP AT T_STRUC INTO WA_STRUC.
clear WA_YTHR00035.
WA_YTHR00035-NIVEL = WA_STRUC-LEVEL.
WA_YTHR00035-SEQNR = WA_STRUC-SEQNR.
WA_YTHR00035-ORGID = WA_STRUC-OBJID+0(8).
WA_YTHR00035-FILHO = WA_STRUC-PDOWN.
WA_YTHR00035-NR_IRMAOS = WA_STRUC-VCOUNT.
WA_YTHR00035-IRMAO_DIREITA = WA_STRUC-PNEXT.
WA_YTHR00035-PAI = WA_STRUC-PUP.
WA_YTHR00035-IRMAO_ESQUERDA = WA_STRUC-PPREV.
* Primeiro vamos buscar a descrição da Unidade Organizacional
select single MC_STEXT into WA_YTHR00035-NMORG from HRP1000 where
PLVAR = w_plvar and
OTYPE = 'O' and
OBJID = WA_YTHR00035-ORGID and
BEGDA <= p_begda and
endda >= p_begda.
clear hrp1001.
* Aqui verificamos se a Un. Organizacional tem uma posição de chefia associada
select single * from HRP1001 where
plvar = w_plvar and
OTYPE = 'O' and
ISTAT = '1' and
OBJID = WA_YTHR00035-ORGID and
RSIGN = 'B' and
RELAT = '012' and
BEGDA <= p_begda and
endda >= p_begda.
if sy-subrc = 0.
* Encontramos uma ligação com uma posição de chefia
WA_YTHR00035-POSID = HRP1001-SOBID+0(8).
* Primeiro vamos buscar a descrição da Unidade Organizacional
select single MC_STEXT into WA_YTHR00035-NMPOS from HRP1000 where
PLVAR = w_plvar and
OTYPE = 'S' and
OBJID = WA_YTHR00035-POSID and
BEGDA <= p_begda and
endda >= p_begda.
endif.
INSERT YTHR00035 FROM WA_YTHR00035.
ENDLOOP.
commit work.
END-OF-SELECTION.
Hope this helps.
Edited by: Pedro Guarita on Dec 16, 2010 2:30 PM
Maybe you are looking for
-
How to Get the value of a variable which is inside other variable
Hi All Experts, I have some tricky kind of situation. Actually there is one deep structure <is_input>-create_posting_lock_req-request_body-reference and this path is stored in a variable v_field. i mean to say the value of v_field is <is_input>-creat
-
N97 now so slow and laggy & cant access photo albu...
All of a sudden my N97 is now laggy beyond belief and I cant use it hardly, its just so slow and is freezing and doing all sorts now. Ive had it 3 months with no worries. Plus I cant seem to access the photo album, I press captured images and it does
-
MacBook Pro crashes intermittently...
Usually at night while my mac is asleep it restarts and informs me of the cause of the crash, which I have difficulty understanding. Would anyone know what the cause of my crash is? Thanks. Here's the report: Interval Since Last Panic Report: 177635
-
I am developing an application using Oracle 6i Forms and Developer,and i am new to it. I have a datablock on a canvas and i am trying to do sth: When the user clicks on a row of the datablock,the entire row background color should change to green and
-
Is there an alternative way other than manually entering PHP code?