Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Function module for DOCUMENT change

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

Former Member
Former Member replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question