cancel
Showing results for 
Search instead for 
Did you mean: 

Reg ALV Data refreshing in WDA

former_member186491
Contributor
0 Kudos

Hi,

I am using ALV in my Webdynpro ABAP application. It is running fine.

But, my problem is previous data does not get refreshed.

When I call the ALV respective Data comes up but, when I re-call ALV, New Data comes as appended with previous data. Here, previous data is not reqd. Those should get refreshed.

I am writing the code in WDDOMODIFYVIEW .

What else is needed?

Please suggest me.

Thanks.

Kumar Saurav.

Accepted Solutions (0)

Answers (2)

Answers (2)

prasanth_kasturi
Active Contributor
0 Kudos

Hi Saurav,

try Changing the data in the context node which is bound to the ALV the view automatically gets refreshed

Regards

Prasanth

Former Member
0 Kudos

hi

1for ur view change the Lifetime property from when visible to framework controlled under views property.

2 invalidate ur node in the WD DOINIT of ur view

3 thn poulate it with the new records in the OnLeadSelect event of ur table UI and bind it to the context node

regards,

amit

former_member186491
Contributor
0 Kudos

Hi Amit,

Thanks for giving suggestion.

But, where is that Lifetime property ? In the Property Window, it is not there.

Kumar Saurav.

former_member186491
Contributor
0 Kudos

Hi Amit,

Okay, It is already FrameworkControlled . Still, desired effect is missing.

Please suggest.

Thanks.

Kumar Saurav.

Former Member
0 Kudos

Hi

If you have bound the data properly and you are invalidating the node before binding new data to ALV then this could be a ALV problem as well.

Check the following link -

former_member186491
Contributor
0 Kudos

Hi All,

Thanking you for sharing valuable information.

It has been resolved.

Thanks.

Kumar Saurav.

Former Member
0 Kudos

Hi,

How did you resolved this. Can you please put some light on that.

Rgds

Sudhanshu