Skip to Content
0
Former Member
Jul 17, 2008 at 06:02 AM

dump getting for the FM HR_ECM_CALCULATE_SALARY

58 Views

Hi can anyone help in resolving this dump

when i used the below FM i am getting dump because of messeage handler. my code

DATA; l_adate TYPE datum,

l_ansal TYPE ecm_salry,

lref_message1 TYPE REF TO if_hrpa_message_handler.

l_adate = pn-endda.

CALL FUNCTION 'HR_ECM_CALCULATE_SALARY'

EXPORTING

pernr = pernr-pernr

key_date = l_adate

currency = 'USD' "l_waers

time_unit = '06'

  • it0008 =

message_handler = lref_message1

IMPORTING

salary = l_ansal

  • IS_OK =

.

w_detail-base_pay = l_ansal.