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

Module pool

Former Member
0 Likes
591

how to update data into internal table .

i modified and updated data into the table but its over writing on the previous value .

which statement i've to use

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
564

Hi,

Use INSERT or APPEND. This will solve ur problem.

Thanks and Regards,

Kunjal Patel

5 REPLIES 5
Read only

Former Member
0 Likes
564

hi

use APPEND statement

regards

ravish

<b>plz dont forget to reward points if helpful</b>

Read only

Former Member
0 Likes
564

hi ..

U can use <b>INSERT</b> or <b>APPEND</b> stetament to update the internal table..

if it is over written then u can use the <b>CLEAR</b> statement..

for eg:<b> CLEAR<itab>

</b>

REgards

Ashu

Read only

Former Member
0 Likes
564

HI.

We can use "Modify" statement for update of internal table.

if already internal table has any value it will update .else it create new value in internal table .

So use MODIFY itab.

Rewards all helpfull answers.

Regards.

Jay

Read only

Former Member
0 Likes
565

Hi,

Use INSERT or APPEND. This will solve ur problem.

Thanks and Regards,

Kunjal Patel

Read only

Former Member
0 Likes
564

hi,

modify -> overrides if a record exists in internal table. if record not found it adds a new record.

update -> overides if a record exists.

append -> adds a new recod at end of internal table.

for ur case use append.

if helpful reward some points.

with regards,

suresh.