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: 

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

warcsi
Participant
0 Kudos
376

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

warcsi
Participant
0 Kudos
312

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

warcsi
Participant
0 Kudos
313

Sorry I found the solution

The solution is using Field Symbols in the loop at

as they directly update the internal table.

Sandra_Rossi
Active Contributor
312

few other ways too:

  • reference
  • modify

Read the ABAP documentation for more information.