Close session problem in batch input map due HR_INFOTYPE_OPERATION process
Hi all, I have problem with Batch input map creating. I process some data internal table for modification in infotype using FM HR_INFOTYPE_OPERATION and when some error appeared I should this record save in batch input map. This map will be processed manually in SM35 after run this report.
LOOP AT IT_TABLE.
CALL FUNCTION HR_INFOTYPE_OPERATION.(modify)
IF error from FM.
BDC_INSERT using it_bim.(create map for manually process in SM35)
BDC_OPEN_GROUP = sy-subrc EQ 0.
BDC_INSERT = sy-subrc EQ 0.
All is ok but when two records are processed and should be closed those session an error queue error raising and I do not why. 1 record in it_table processed successfully and 2 records not. Please help me anyone. Thnx.