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

The right way of changing and updating data in a LOOP at itab scenario?

warcsi
Participant
0 Kudos
491

Hello

I have a table I have created in the earlier parts of my Report.

A selection is made and the data is filtered trough and filled into relevan fields.

I am now wanting to use a loop at *table name* into data(wa)
To manually change the data in a certain field based on the data in the current itteration of the loop.

Once I have filled in my data how can I make sure the table gets updated with the right data?

1 ACCEPTED SOLUTION
Read only

warcsi
Participant
0 Kudos
427

Sorry I found the solution

The solution is using Field Symbols in the loop at

as they directly update the internal table.

2 REPLIES 2
Read only

warcsi
Participant
0 Kudos
428

Sorry I found the solution

The solution is using Field Symbols in the loop at

as they directly update the internal table.

Read only

Sandra_Rossi
Active Contributor
427

few other ways too:

  • reference
  • modify

Read the ABAP documentation for more information.