I have one custom FM which is used to update the custom infotype but my requirement is when it get fail it should not update
the infotype but it is updating.Befor this FM we are performing operation i. e MASSN 07,08, .
This requirement is based on contract renewal when contract is not renewed it should not update custom infotype bue it is
updating when contract is not renewed through the above FM.
please give me some idea so that custom infotype should not get updated when contract is not renewed.But it is
updating the infotype what should i put to not update the infotype when contract is not renewal.
Below is my listed code.
IF lv_action = '09' OR lv_action = '07' OR lv_action = '08' AND lv_cr_renewal = ''.
CALL FUNCTION 'ZF_HCM_ALM_ABSENCE_DATA'
i_pernr = lv_pernr
i_effective_date = lv_date
i_updation = 'X'
t_return = lt_return_absence
Edited by: MdAddu on Jun 26, 2011 9:33 AM
Edited by: MdAddu on Jun 26, 2011 9:52 AM