cancel
Showing results for 
Search instead for 
Did you mean: 

Function module for DOCUMENT change

Former Member
0 Kudos

Hi all,

I want to change the status of the appraisal document (HRHAP)

I tried using the function modules...,

HRHAP_DOCUMENT_GET_DETAIL

HRHAP_DOCUMENT_ENQUEUE

<b>HRHAP_DOCUMENT_CHANGE_STATUS</b>

HRHAP_DOCUMENT_DEQUEUE

It's not working correctly . I have passed the correct paramter for all the fn modules.

The document change_status is not working correctly for me.

(i wanrto change the status 4-7(sub) to 5-1.

Did anybody achiev this ?

Rgds,

Jothi.P

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Instead of "HRHAP_DOCUMENT_CHANGE_STATUS" use the FM "HRHAP_DOCUMENT_MODIFY".

Check for the import parameter "S_HEADER_STATUS".

Before the FM call, call the FM "HRHAP_DOCUMENT_GET_DETAIL" and get the appraisal document contents.

Think this will change the status.

Hope this helps you.

Regards,

Subbu.

Answers (0)