Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Modify Ztable using ITAB

Former Member
0 Likes
394

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

2 REPLIES 2
Read only

Former Member
0 Likes
363

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

Read only

Former Member
0 Likes
363

read ABAP Help on MODIFY statements....