‎2010 Sep 01 6:35 PM
SORT gt_tabsum.
DESCRIBE TABLE gt_tabsum LINES gv_tabsum_entries.
MODIFY ztabsum FROM TABLE gt_tabsum.
IF SY_SUBRC = 0.
COMMIT WORK.
ENDIF.
Do i have any problem with my modify statement?
The issue is - the number of entries in internal table gv_tabsum_entries = 1630000
However after Modifying it to database table. I can see only 1140000 entries. Some entries are missing.
I am not sure if it has duplicate entries. Do you this it is becase of duplicates or something else.
Regds,
Senthil
‎2010 Sep 01 6:48 PM
Yes Senthil, You are right some of the entries must be already present there in the table so MODIFY just ignores them & updates only the new entries unless there is no change in the already present entries.
Hope this clears your dobut.
Regards
Abhii
‎2010 Sep 01 6:49 PM