cancel
Showing results for 
Search instead for 
Did you mean: 

TableView update

Former Member
0 Kudos

Hello -

I have a tableview in lineedit mode. User can click a record (row) and change the cell content. They can then obviously click on another row and change the related cell content. When they are done they will have the option to save the data they have entered.

At this time - would you typically pass all the rows in table view (internal table) to a bapi call for update (and let the bapi decide which rows to update ) or would you scan thru your table view to figure out which records were changed and then call your bapi/function-module accordingly. What will be the best option?

If you have displayed 100 records in your tableview and user has changed only 2 rows then how logical is that to update all 100 records?

What should be our approcach?

Thanks,

Partho

Accepted Solutions (0)

Answers (2)

Answers (2)

athavanraja
Active Contributor
0 Kudos

as the user selects a record and updates the values , just store those changed rows alone in a itab and use that table for modifying the database.

Regards

Raja

Former Member
0 Kudos

Hi,

try out iterator in your application that could work fine.

Regards,

Azaz Ali.