Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HR_DATESPECIFICATION_DATE_GET

Former Member
0 Kudos

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.

1 REPLY 1

former_member31961
Contributor
0 Kudos

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