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 or field-symbol statement

Former Member
0 Likes
981

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

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
Read only

gopi_narendra
Active Contributor
0 Likes
945

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

Read only

0 Likes
945

I am changing internal table data.

Read only

0 Likes
945

Use MODIFY

Read only

Former Member
0 Likes
945

how can we relate modify and field-symbol??

Modify will modify the changed fields in that internal table

Field-symbol is dynamic assignment

Read only

0 Likes
945

I am asking which one is better performance wise.

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

Read only

0 Likes
945

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

Read only

Former Member
0 Likes
945

Hello,

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

Regs,

Venkat Ramanan N