‎2007 Dec 24 2:08 PM
Hi experts,
Could anyone tell me the purpose of the function module 'HR_DATESPECIFICATION_DATE_GET' and what are all the inputs to be given for this and what will be the output of this FM?.
Regards,
Shanthi.
‎2007 Dec 24 2:37 PM
Hi Shanti,
This function module is used to get Date for a particular date type if you pass all the infotype 0041 record for a pernr in P0041 parameter and date type in P_DATAR parameter.
To get all the P0041 record either you need to use HR_READ_INFOTYPE or Select query for PA0041 for a perticular PERNR.
If your reuirement is to get DATE for a datetype, then use HR_ECM_GET_DATETYP_FROM_IT0041 function module. This requires only PERNR and Date type to be passed(Declare message handler TYPE REF TO IF_HRPA_MESSAGE_HANDLER).
Regards,
Shrinivas