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

moving records from final internal table to corresponding Ztable(database table).

0 Kudos
215

Hi,

I have stored the values or records in the 'FINAL' table (internal_table) .

Final table is of combination of fields from two different ZTABLE.

Now, I have to move the records from FINAL table to corresponding fields of two ZTABLE.

suggest me,

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

ldzierza
Participant
137

check MOVE-CORRESPONDING struc1 TO struc2.

Effect

Structures must be specified for struc1 and struc2. struc1 is a functional operand position. The system searches for all components with the same name in struc1 and struc2 and the content of components in struc1 is assigned to the components with the same name in struc2. Other components are not affected.

Nested structures are fully expanded. The names of the components are compared down to the lowest common level. For each component pair with the same name comp, the statement

1 REPLY 1
Read only

ldzierza
Participant
138

check MOVE-CORRESPONDING struc1 TO struc2.

Effect

Structures must be specified for struc1 and struc2. struc1 is a functional operand position. The system searches for all components with the same name in struc1 and struc2 and the content of components in struc1 is assigned to the components with the same name in struc2. Other components are not affected.

Nested structures are fully expanded. The names of the components are compared down to the lowest common level. For each component pair with the same name comp, the statement