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

Data change method in ALV grid

Former Member
0 Likes
698

Hello Team,

I am just struck up with a tricky issue, please help me out on this.

In my ALV grid there are editable fields:

sum, jan, feb, mar, apr, may, jun, .......dec, Changed_date, changed_time.

jan, feb, mar, apr, may, jun, .......dec, fields are editable.

sum, Changed_date, changed_time. fields are non editable, (but Changed_date, changed_time. fields gets data automatically).

Now the 12 months user entered values are totalled and displayed in the field Sum to know how much values he has entered.

Issue: After entering values from Jan to nov, the total is correctly shown in Sum filed, but when coming to Dec filed, enter any value, press tab and then press enter, the value entered in Dec is not captured and totalled in sum filed, then after also checked giving values in other months, which is not totalling the newly entered values.

I hope someone can point me in the right direction.

If you have heard of any issue like this , please help me in this regard.

Thanks and Regards,

Jagan.

Edited by: jagan.sdn on Apr 7, 2010 6:54 PM

Hello Team,

I am just struck up with a tricky issue, please help me out on this.

In my ALV grid there are editable fields:

sum, jan, feb, mar, apr, may, jun, .......dec, Changed_date, changed_time.

jan, feb, mar, apr, may, jun, .......dec, fields are editable.

sum, Changed_date, changed_time. fields are non editable, (but Changed_date, changed_time. fields gets data automatically).

Now the 12 months user entered values are totalled and displayed in the field Sum to know how much values he has entered.

Issue: After entering values from Jan to nov, the total is correctly shown in Sum filed, but when coming to Dec filed, enter any value, press tab and then press enter, the value entered in Dec is not captured and totalled in sum filed, then after also checked giving values in other months, which is not totalling the newly entered values.

I hope someone can point me in the right direction.

If you have heard of any issue like this , please help me in this regard.

Thanks and Regards,

Jagan.

Edited by: jagan.sdn on Apr 7, 2010 6:54 PM

4 REPLIES 4
Read only

Former Member
0 Likes
661

How is the sum derived? Do you add up in PAI or ?? Are all settings or code correct, in the sum is for January - December?

I don't really understand all your question, but I'd guess you're calculating a sum for each row, then recalculating after values are changed? If so, check the code carefully....

Read only

0 Likes
661

in debugging, its updating the sum value to my Final internal table.

But then its just not displaying the updated sum value in the ALV display.

I am not able to understand, may be its egarding the refresh table display. But unable to find where its going wrong.

Calculations are also fine, its just not displaying the updated values in grid display.

Read only

0 Likes
661

I've searched SDN and found out this somewhat related thread topic, even gave it a try but no joy.

Read only

0 Likes
661

Hi Team,

If anyone had faced any issue similar to this please let me know.

Many Thanks,

Jagan.