on 06-16-2006 8:42 PM
Hi!,
I have this new requirement to set default appraiser for a document which will replace existing Manager PERNR. This should happen while Mass document creation process. I tried using BADI HRHAP00_DOC_DEF_D1 but it does not hit
while document creation. Can any one suggest Appropriate BADI and steps involved to accomplish this task?
Thanks,
G.
Hi,
The BADI <b> HRHAP00_DOC_DEF_D1 </b> is used for picking manager of the logged in person.
The foll fn module is used in the badi ..
READ MYSELF (with default object type)
CALL FUNCTION 'HRHAP_C_DEFAULT_OBJECT_MYSELFT'
EXPORTING
plan_version = plan_version
FROM_DATE = SY-DATUM
TO_DATE = SY-DATUM
IMPORTING
t_myself = lt_myself.
So if u use it for Mass upload, it will fetch the manger of the person who execute it.
We have faced the same issue and we have created a filter to fetch the given employees manager.You have to modify the BADI.
Rgds,
Jothi.
Mark useful answrs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jyoti
as per the updates u have given regarding the HRHAP00_DOC_DEF_D1 ,
i require help relating to this badi further.
i have passed the
following parameters
FLT_VAL DEFAULT_MANAGER
ADD_ON_APPLICATION PA
PLAN_VERSION 01
TEMPLATE_ID 50001525
FROM_DATE 03.09.2007
TO_DATE 03.09.2007 after executing the the transaction PHAP_CREATE_PA (Appraisals Document Create) to find the
relationship being used , as per the new requirement the relationship to be used is
A012. I am not able to trace the relationship being used as the values being getting defautled.
I can see the values getting defaulted for the Reporting officer and Employee. But i am not able to trace the relation ship being used for this while debugging this BADI
Please help me in this regard.
regards
syamla
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.