Hi experts,
There is sap standared FM 'LECI_UPDATE_xxxx' . where database update is happening in update task.
* event
CALL FUNCTION 'LECI_INSERT_table1' IN UPDATE TASK
EXPORTING
IS_EVENT = LS_1.
* event_data
CALL FUNCTION 'LECI_INSERT_table2' IN UPDATE TASK
EXPORTING
IS_EVENT_DATA = LS2.
And within the above FM there is insert statement
" within FM LECI_INSERT_table1
INSERT INTO Table1 VALUES LS1.
" within FM LECI_INSERT_table2
INSERT INTO Table2 VALUES IS2.
Now After ' COMMIT Work' records are getting updated in database table
but for some cases data gets updated in table 1 but not in table2 and vise vera.
What w'd be the reason for this .
why after commits records not getting updated in one table while it gets updated in second table ?