I need to update infotype 2001 and 0015 for a list of employee via loop at pernr, HR_INFOTYPE_OPERATION. My requirement is to create both records together for any personnel. In another word, if employee A has error in infotype 2001, his record should not be created, whereas in the same list, infotype 2001 and 0015 records will be created for employee B.
I tried using parameter no_commit, but once i commit work, all the previous data are commited. Is there anyway I can refresh the buffer or something?