Hi,
As i have developed a Activity Step type in that i wrote the logic by using Abap Class in that method i have called a Standard Function module HRHAP_DOCUMENT_GET_DETAIL in that am passing the document id but i couldn't get the Values.
But its working fine in the Old system . But when i check in the New system its not working.
And also i put a Breakpoint in the Method and i have checked the values are coming properly From Workflow when i pass to FM and not getting the Record.
Here the Code.
***********************************************************************************
*** Function Module to Get the Appraisal Document Data
************************************************************************************
ls_s_appraisal_id-appraisal_id = i_document_id.
CALL FUNCTION 'HRHAP_DOCUMENT_GET_DETAIL'
EXPORTING
plan_version = '01'
s_appraisal_id = ls_s_appraisal_id
IMPORTING
t_header_appraiser = lt_header_appraiser
t_header_appraisee = lt_header_appraisee
s_header_status = ls_header_status
s_header_dates = lt_header_date
s_return = ls_return.
Kindly suggest.
Regards,
Sdaiq