I have a situation where i am moving a person from one position to another position and i have to create a holder A008 for his old position.
I am using the below FM. I am passing
INFTY = 1001
ENDDA = 99991231 BEGDA =20170605 RSIGN =A RELAT = 008.
I see that the below FM calls 'rh_cut_infty' internally. When i see the code of this FM in line 230 ,when sy-subrc eq 0 and only when the buffer is ON it does the update.
I am not able to understand this and why my data is not being updated to the table.
LOOP AT t_p1001 ASSIGNING <wa_p1001>. CALL FUNCTION 'RH_CUT_INFTY_1001_EXT' EXPORTING GDATE = <wa_p1001>-endda HISTO = ' ' VTASK = 'D' TABLES INNNN = t_p1001 * ILFCODE = EXCEPTIONS ERROR_DURING_CUT = 1 NO_AUTHORIZATION = 2 GDATE_BEFORE_BEGDA = 3 CUT_OF_TIMCO_ONE = 4 RELATION_NOT_REVERSIBLE = 5 CORR_EXIT = 6 OTHERS = 7. IF SY-SUBRC <> 0. * Implement suitable error handling here ENDIF. Endloop.