Application Development 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: 

Modify or field-symbol statement

Former Member
0 Kudos

Hello Everyone,

Would like to know which one is bettter performance wise -

If we use modify statement or field-symbol inside the loop-endloop to change the data.

Awaiting replies in anticipation.

Regards,

Tarun

7 REPLIES 7

gopi_narendra
Active Contributor
0 Kudos

I would defintiely suggest MODIFY, by the way which data are u changing?

0 Kudos

I am changing internal table data.

0 Kudos

Use MODIFY

Former Member
0 Kudos

how can we relate modify and field-symbol??

Modify will modify the changed fields in that internal table

Field-symbol is dynamic assignment

0 Kudos

I am asking which one is better performance wise.

Through modify and field-symbol, we can change the contents of internal table.

0 Kudos

Field-symbol has better performance. Because it modify the data by reference. Modify will modify data by value.

Former Member
0 Kudos

Hello,

Modify using FIELD SYMBOLS. But performance will not have much difference.

Regs,

Venkat Ramanan N