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

Insert data into Z table from an internal Table

sergio_cifuentes
Participant
0 Likes
12,555

What's the best way to store data into a z table from an internal table.

1 ACCEPTED SOLUTION
Read only

Former Member
4,723

Hi ,

The best way is to use the MODIFY command , because it can work in two ways , if data is not there a new record is inserted else the existing record is modified.

Regards

Arun

What's the best way to store data into a z table from an internal table.

4 REPLIES 4
Read only

Former Member
0 Likes
4,723

Hi,

Use From table addition..

INSERT ZTABLE FROM TABLE ITAB.

The internal ITAB should be of structure ZTABLE..

Thanks,

Naren

Read only

Former Member
0 Likes
4,723

use modify command.

modify ztab from table itab. "itab should be of the same structure as ztable.

Regards,

ravi

Read only

Former Member
0 Likes
4,723

Hello,

U have to use MODIF ZTAB FROM ITAB.

Since this will overcome the error duplicates entries also.

Vasanth

Read only

Former Member
4,724

Hi ,

The best way is to use the MODIFY command , because it can work in two ways , if data is not there a new record is inserted else the existing record is modified.

Regards

Arun