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: 

Updating Data from a alv grid display into a table

Former Member
0 Kudos
78

Hi Gurus,

I have on requirement. I have developed a report which displays a set of data similar to when we execute transaction ob52, and when we use NEW ENTRIES tab we get a refreshed screen and when the user enters its data in the fields , i need to capture that data into an internal table so that i can use them into bdc. the output is an alv oops display.

So basically i need to capture the information of the added rows into a table.

is there any method for doing this or any event?

4 REPLIES 4

uwe_schieferstein
Active Contributor
0 Kudos
58

Hello Abishek

If I understand you correctly you have an editable ALV grid.

In this case you just need to call method go_grid->check_changed_data( ) at PAI.

There is no need to define an event handler method for DATA_CHANGED if you do not need to validate the edited data.

Regards

Uwe

0 Kudos
58

what are the parameters for this method.How can i capture into an internal table .Will it capture new entries i.e if i put new datas in a new row.

Thanks in advance

0 Kudos
58

Hi,

no need of passing any parameters for this method. Also the new entries will be captured in to you internal table that you pass to the Set_first display method.

Reward points if useful

Raj

For Reference you can go through BCALV_EDIT_04 program.

Edited by: Raj D on Jun 12, 2008 12:14 PM

Former Member
0 Kudos
58

Solved