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

reg oo alvs

Former Member
0 Likes
809

Hi FRIENDS,

I have a scenario where i need to sum the values checked through checkbox and display in the same screen under the heading total.

thank u

urmila.T

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
788

If i understand you correctly then the ALV is first displayed without the sum.Once the rows are checked (checkbox) and some user action needs to be recorded for the refreshing the ALV with the sum.

In PAI event, during processing the user action put you logic of fetching the records which has a checkbox and then calculate the sum and refresh the ALV and show the sum.

Cheers,

KD

Hi FRIENDS,

I have a scenario where i need to sum the values checked through checkbox and display in the same screen under the heading total.

thank u

urmila.T

5 REPLIES 5
Read only

Former Member
0 Likes
788

use the events available , there is one event DATA_CHANGED , DATA_CHANGED_FINISHED you can use these events

use the refresh_table_display method to display the recalculated values

Read only

0 Likes
788

hi,

can u give the clear idea

urmila.T

Read only

Former Member
0 Likes
789

If i understand you correctly then the ALV is first displayed without the sum.Once the rows are checked (checkbox) and some user action needs to be recorded for the refreshing the ALV with the sum.

In PAI event, during processing the user action put you logic of fetching the records which has a checkbox and then calculate the sum and refresh the ALV and show the sum.

Cheers,

KD

Read only

0 Likes
788

hi ,

thanks for reply....

but there is user action here as soon the check box is checked the values should b summed and it should b shown under the grid with a heading 'required total:'

Read only

matt
Active Contributor
0 Likes
788

In future, please use a meaningful subject for your posts.

Thank-you

matt