Manager of the org.unit in HRMD_A
Hi All
I would like to send manager of the org.unit by using HRMD_A.
As I have setup HRMD_A with filter on Infotypes 0000, 0001, 0002, 0006, 1000 & 1001.
I thought the manager relationship will be send in IT 1001. But I don't see that information include in HRMD_A.
Any information or experience on this matter will be highly appreciated. Any other suggestions to how this problems can be solved are also welcome.
Thanks in advance.
Best regards,
Anpan
Yes as part of transaction BD64 you can create a filter for this. In fact I think you can limit it even further so that it filters just the managers. You can do this by not only selecting the infotype and object, but you can also limit is by 'related object' and subtype. So you can put the B12 as the subtype ( I think this is the chief subtype).
You could also use the evaluation path, but if your evaluation path generates too much data then you can limited using the filters in BD64.
As for using the change pointers programs versus PFAL I am not sure, I am currently having the same delima on which one to use.
Everett
Similar Messages
-
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
Ramanathanyes 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 -
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
VijayHello Archana,
Thanks a lot... This has solved my issue...
Cheers
Vijay -
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 to get employee under manager of all org unit
hi,
i have requirement that i need list of all employee under particular manager i know abt HRWPC_PNP_MANAGED_EMPLOYEES but i don't know how to use it is thr any fm reg it .
thanks in advanceHi Rajan,
Below is the sample code for your reference...
REPORT zrnd.
*database tables used
TABLES:pa0001, "Infotype 0001 (Org. Assignment)
hrp1001, "Infotype 1001
pa0002. "Infotype 0002 (Personal Data)
*internal tables declaration
**----internal tables for holding
DATA:t1001 LIKE p1001 OCCURS 0 WITH HEADER LINE,
t1002 LIKE p1001 OCCURS 0 WITH HEADER LINE,
t1003 LIKE p1001 OCCURS 0 WITH HEADER LINE,
t1004 LIKE p1001 OCCURS 0 WITH HEADER LINE,
t1222 LIKE p1222 OCCURS 0 WITH HEADER LINE,
t0001 LIKE p0001 OCCURS 0 WITH HEADER LINE,
t0002 TYPE p0002 OCCURS 0 WITH HEADER LINE.
DATA: w1222 TYPE hrp1222 .
DATA : z1222 TYPE hrt1222 OCCURS 0 WITH HEADER LINE.
DATA: res TYPE swhactor OCCURS 0.
DATA: wa_res TYPE swhactor.
Data : f_code type ABTNR,
p_code type ABTNR,
f_text type VTEXT,
p_text type VTEXT,
s_pernr type Pa0001-PERNR,
s_name type pa0001-ename.
*variable declaration
**---0 to capture the id of the object "may be orgunit, position, persion.
DATA: g_sobid1 LIKE p1001-objid,
g_sobid2 LIKE p1001-objid,
g_sobid3 LIKE p1001-objid,
* *--to capture the personnel number
g_pernr LIKE pa0002-pernr.
Constants : c_function type c value 'F',
c_Proces type c value 'P'.
*selection screen paramters
**----enter a valid personnel number
PARAMETERS:p_pernr LIKE pa0002-pernr.
*start of selection
START-OF-SELECTION.
*Get the Position for entered Personnel number
*----RH_READ_INFTY function module is used for the OM infotypes ..starting with HRP
CALL FUNCTION 'RH_READ_INFTY'
EXPORTING
plvar = '01'
otype = 'P'
objid = p_pernr
infty = '1001'
subty = 'B008'
begda = sy-datum
endda = sy-datum
TABLES
innnn = t1001
EXCEPTIONS
all_infty_with_subty = 1
nothing_found = 2
no_objects = 3
wrong_condition = 4
wrong_parameters = 5
OTHERS = 6.
IF sy-subrc = 0.
* MESSAGE 'this number is not maintained in hrp1001' TYPE 'I'.
ENDIF.
*Get the latest record reading T1001 with following values
SORT t1001 BY begda DESCENDING .
READ TABLE t1001 WITH KEY objid = p_pernr "personnel number
otype = 'P' "Person
rsign = 'B' "hirarchy top down
relat = '008' "Holder
sclas = 'S'. "Position
IF NOT t1001[] IS INITIAL.
g_sobid1 = t1001-sobid. "ID of Related Object
*Get Org unit for the position obtained from above
CALL FUNCTION 'RH_READ_INFTY'
EXPORTING
plvar = '01'
otype = 'S'
objid = g_sobid1
infty = '1001'
subty = 'A003'
begda = sy-datum
endda = sy-datum
TABLES
innnn = t1002
EXCEPTIONS
all_infty_with_subty = 1
nothing_found = 2
no_objects = 3
wrong_condition = 4
wrong_parameters = 5
OTHERS = 6.
IF sy-subrc = 0.
ENDIF.
ENDIF.
SORT t1002 BY begda DESCENDING .
READ TABLE t1002 WITH KEY objid = g_sobid1
otype = 'S' "Position
rsign = 'A' "bottom up
relat = '003' "Belongs to
sclas = 'O'. "org unit
IF NOT t1002[] IS INITIAL.
g_sobid2 = t1002-sobid.
*Get position for the Org unit (Manager)
CALL FUNCTION 'RH_READ_INFTY'
EXPORTING
plvar = '01'
otype = 'O'
objid = g_sobid2
infty = '1001'
subty = 'B012'
begda = sy-datum
endda = sy-datum
TABLES
innnn = t1003
EXCEPTIONS
all_infty_with_subty = 1
nothing_found = 2
no_objects = 3
wrong_condition = 4
wrong_parameters = 5
OTHERS = 6.
ENDIF.
SORT t1003 BY objid.
READ TABLE t1003 WITH KEY objid = g_sobid2
otype = 'O' "org unit
rsign = 'B' "hirarchy top down
relat = '012' "Manages
sclas = 'S'. "Position
IF NOT t1003[] IS INITIAL.
g_sobid3 = t1003-sobid.
*Get Personnel number for the Manager
CALL FUNCTION 'RH_READ_INFTY'
EXPORTING
plvar = '01'
otype = 'S'
objid = g_sobid3
infty = '1001'
subty = 'A008'
begda = sy-datum
endda = sy-datum
TABLES
innnn = t1004
EXCEPTIONS
all_infty_with_subty = 1
nothing_found = 2
no_objects = 3
wrong_condition = 4
wrong_parameters = 5
OTHERS = 6.
* if sy-subrc <> 0.
* MESSAGE 'this number is not maintained in hrp1001' TYPE 'I'.
* endif.
ENDIF.
READ TABLE t1004 WITH KEY objid = g_sobid3
otype = 'S' "Position
rsign = 'A' "bottom up
relat = '008' "Holder
sclas = 'P'. "Person
IF NOT t1004[] IS INITIAL.
g_pernr = t1004-sobid+0(8).
**--Get name of Manager(Supervisor)
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = g_pernr
infty = '0001'
TABLES
infty_tab = t0001
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
SORT t0001 BY pernr begda.
READ TABLE t0001 INDEX 1.
IF NOT t0001[] IS INITIAL.
write t0001-pernr to s_pernr.
write t0001-ename to s_name.
ENDIF.
Perform get_function_code using g_sobid2 .
ENDIF.
PERFORM display_results.
*& Form get_function_code
* text
* -->G_SOBID1 text
FORM get_function_code USING org_unit.
PERFORM get_obj USING org_unit.
PERFORM get_ab USING w1222-tabnr.
PERFORM get_text tables z1222.
IF z1222-attrib IS INITIAL.
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
act_otype = 'O'
act_objid = org_unit
act_wegid = 'A002'
* ACT_INT_FLAG =
* ACT_PLVAR = ' '
act_begda = sy-datum
act_endda = sy-datum
act_tdepth = 0
act_tflag = 'X'
act_vflag = 'X'
authority_check = 'X'
* TEXT_BUFFER_FILL =
* BUFFER_MODE =
* IMPORTING
* ACT_PLVAR =
TABLES
result_tab = res
* RESULT_OBJEC =
* RESULT_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.
LOOP AT res INTO wa_res.
PERFORM get_obj USING wa_res-objid.
PERFORM get_ab USING w1222-tabnr.
PERFORM get_text tables z1222.
ENDLOOP.
ENDIF.
ENDFORM. "GET_TEXT
*& Form GET_OBJ
* text
* -->P_OB text
* -->P_OJ text
FORM get_obj USING p_oj.
SELECT SINGLE * FROM hrp1222 INTO w1222 WHERE otype = 'O'
AND objid = p_oj.
ENDFORM. " GET_OBJ
*& Form GET_AB
* text
* -->P_TAB text
FORM get_ab USING p_tab.
SELECT * FROM hrt1222 INTO table z1222 WHERE tabnr = p_tab.
ENDFORM. " GET_AB
*& Form GET_TEXT
* text
* -->P_Z1222_LOW text
FORM get_text tables p_txt STRUCTURE hrt1222.
loop at p_txt.
if p_txt-low+0(1) = c_function.
write p_txt-low to f_code.
SELECT single vtext FROM zfunctiont INTO f_text WHERE abtnr = p_txt-low.
ELSEIf p_txt-low+0(1) = c_Proces.
write p_txt-low to P_code.
SELECT single vtext FROM ZPROCESST INTO p_text WHERE abtnr = p_txt-low.
endif.
endloop.
ENDFORM. " GET_TEXT
form display_results.
write :/ s_pernr,
30 s_name.
WRITE :/ f_code,
30 f_text.
WRITE :/ p_code,
30 p_text.
ULINE.
endform.
Thanks,
Chidanand -
Dear expert,
My company use PA and stored only internal employees (P object) and no external sub contractor.
Unfortunatly, an external sub contrator takes the management of an org unit ad interim (temporary),
We do not want register this external people as person (object P),
Have you an idea to allow him to manage org unit and approve leave request (for instance) ?
MerciI suppose you have to customize new OADP service for MSS.
New analysis way in transaction OOAW with objects: O - S - US - P (maybe 012 S - US - connection )
System recognize sap user as a manager of employee (MSS role needed).
We realize manager's substitution in this way. -
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,
AswiniHello 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. -
ECM spent budget was clean up when approval manager reject an org unit?
Hi HR Experts,
When an approval manager rejects an org unit, the spent budget of this org unit is clean up but the budget still distributed to each employee in that org in the infotype 0759 therefore leads to inconsistency of budget in ECM.
Is there any body experience this issue?
Thanks,
Duyi lived through this painful process very much, we made a quick SM30 tcode transaction to be able to do data maintenace on HRPADPM - this is where the budget spent amount is actually saved.
the key for this table is stored on the budget unit to org unit relationship in HRP1001.
if anyone has a better process to fix out sync spent budgets please let us know... -
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
sasHi
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 -
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.tqHi,
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 -
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 ReddyHello 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. -
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
RajHi 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 -
Error when accessing the "Org unit" link from iview "Who's who"
Hi all,
In our ESS/MSS implementation we have come across to a strange error:
In the master iview u201CWhou2019s whou201D when trying to access the link for the org unit we receive the following error:
Service EMPLOYEE_ORGCHART_SERVICE does not exist.
Indeed the respective service does not exists nor the resources. We have ECC 5.0 and EP 7.0. We were unable so far to find the right (or dedicated) resources/services for this.
Any helps are much appreciated.
Thanks,
EugenHi Eugen,
Probably these threads can help you.
Error "Service EMPLOYEE_ORGCHART_SERVICE does not exist." in ESS.
ESS Who's Who - remove link from Org Unit
Good Luck!
Sandeep Tudumu -
Can we find out what methods we have to determine the Org Unit the agent belongs in ABAP?
Please do let me know.
ThanksHi Mohan,
Refer the following thread :
Re: Org Unit
<b>Reward points if it helps.</b>
Regards,
Amit Mishra
Maybe you are looking for
-
Can no longer connect to the internet with the 580...
Hi, my PC was able to connect to the internet with my 5800 via a USB cable. Now, I can no longer connect to the internet with the 5800 via a USB cable. I had never tried connecting the computer to the internet with the 5800 via Bluetooth prior to t
-
The Mac ver. of Firefox is 3.6.8 == When i selected a persona
-
Work Center in equipment master
Dear All, We have created equipment master for 1000 palnt and then assigned work center belongs to 1100 palnt.System accepted 1100 plant work center.My requirement is plant number and work center palnt must be same.
-
Will a 1TB mac mini be a good solution to separate media rich biz files from personal home type files and will the uSB3 be a problem connecting to an older 1mac?
-
HT1338 can not find mirroring icon on my mac pro
can not find mirroring icon on my mac pro when apple tv on