cancel
Showing results for 
Search instead for 
Did you mean: 

OSA - Appraisal Documents and Transfers

Former Member
0 Kudos

Hi All;

We arecurrently using the OSA functionality in ERP 2005 and providing links in the portal for the managers ( Apraisers) and Employees ( Appraisee's) to the BSP documents. ( Documents to do.)

We also let the employees select another (part appraiser) via the BSP ( change header data).

Has any one automated a process for transfers. So if a manager leaves and moves to another org. unit How can we change the appraiser for al the documents automatically.

Can the default part appraiser BADI handle transfers. Can we add logic in the BADI to handle transfers.

Thanks

Iliana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Iliana,

Welcome to SDN.

Yes the default Part Appraiser BADI handles for newer requests only and not for the already created ones.If you want to modify you can do manually by Changing the header data using PHAP_ADMIN or PHAP_CHANGE Trnxs.

Rgds,

Jothi.

P.S . Do award pts accordingly and close the thread once your problem is solved.

Former Member
0 Kudos

Thanks. I know that we change via PHAP_ADMIN and change trnxs. But can a custom program be created to automatically track transfers and update thedocument accordindly..

suresh_datti
Active Contributor
0 Kudos

Hi Iliana,

Yes, you can re-assign appraisals via a Custom Program using the function module 'HRHAP_DOC_APPRAISER_WRITE'.

Regards,

Suresh Datti

Former Member
0 Kudos

So we would develop a program that specify the logic for change and then call this FM to update the documents accordingly..

How hard it would be to develop the program ?

suresh_datti
Active Contributor
0 Kudos

>>>So we would develop a program that specify the logic for change and then call this FM to update the documents accordingly..

YES

How hard it would be to develop the program ?

Not that hard.. someone conversant with the OSA tables should be able to write the program in reasonable time..

Regards,

Suresh Datti

Former Member
0 Kudos

Hi Illiana,

I am new in Performance appraisals and have to implement it in tight time frame. Can you give some tips for how to initiate the config and where I will need to use ABAP.

Thanks.

Points are promised.

Shaikh.

Former Member
0 Kudos

Hi Shaikh:

Your question is very braod and OSA is new module with lot's of functionality. It depends on your scope, what you are trying to accomplish etc..

Iliana

Former Member
0 Kudos

Hello,

When you do this via a customer specific report (which is possible) I would highly recommend to use the standard function modules of teh component. And also, instead of using the basic FM's like the direct write of appraisers I would use the overall function modules that contains also the business checks and such.

Some ideas on the function modules, lets see:

- Get all the documents for the old appraiser via HRHAP_DOCUMENT_GET_LIST (only for status 1-4)

- Loop over the found documents and for each do

HRHAP_DOCUMENT_GET_DETAIL in ADMIN MODE

- Change the t_header_appraiser table with the new appraiser

- HRHAP_DOCUMENT_SAVE

- HRHAP_DOCUMENT_DEQUEUE (don't forget this one, you won't want to be debugging till deep in the night wondering why your system crashes after 1000 documents.. believe me, i did that.. no fun )

- Next Document.

Now, if you want to include your report in PHAP_ADMIN_PA you can use BAdI HRHAP00_ADMIN to include it, it has the advantage that you get authorization checks on transaction code, and the selection screen is already there. You can skip the HRHAP_DOCUMENT_GET_LIST then.

happy coding

Regards and Groetjes,

Maurice

Former Member
0 Kudos

Hi,

Your answer was very helpful, But I ve used HRHAP_DOCUMENT_GET_LIST_XXL instead of HRHAP_DOCUMENT_GET_LIST.

Former Member
0 Kudos

Hello Maurice,

is there any harm in using the function HRHAP_DOCUMENT_DEQUEUE, even if the appraisal document is not locked?

Thank You & Regards

Raghu Kolukuluri

Former Member
0 Kudos

Hello Raghu,

If no enqueue is set the dequeue function module will just exit.

Regards and Groetjes,

Maurice

Former Member
0 Kudos

Dear freinds

iam not able to run after giivng parameters

in the fucntion module...........please let me know what all the parameters which are mandatory

regards

syamlaa

Former Member
0 Kudos

Dear Maurice

iam not able to run after giivng parameters

in the fucntion module..........could you.please let me know what all the parameters which are mandatory

regards

syamlaa

Former Member
0 Kudos

Hi all. I need to change appraisals status from "In preparation" to "In planning" all together for selected appraisals. I've tried do this through "PHAP_ADMIN->menu->Change status". Unfortunatly, the fixed enchancments is not generated during status change via menu! I've forced coding implementation for HRHAP_ADMIN definition:

method->START_FUNCTION

LOOP AT t_document_id INTO ps_appraisal_id .

CALL FUNCTION 'HRHAP_DOCUMENT_GET_DETAIL'

EXPORTING

mode = 'X'

  • ui_mode = ' '

s_appraisal_id = ps_appraisal_id

administrator = 'X'

....

CALL FUNCTION 'HRHAP_TEMPLATE_OF_DOCUMENT_GET'

....

CALL FUNCTION 'HRHAP_DOCUMENT_ENQUEUE'

.....

CALL FUNCTION 'HRHAP_DOCUMENT_CHANGE_STATUS'

EXPORTING

plan_version = '01'

template_id = p_template_id

button_id = 'CLOSEPREP'

.....

CALL FUNCTION 'HRHAP_DOCUMENT_DEQUEUE'

.....

ENDLOOP.

endmethod.

And now everything works fine!

Answers (0)