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

ALV

Former Member
0 Likes
680

Hi,

After selecting the check boxes ,the qty of those selected rows should be sum and display the summed qty in the top of page at run time.

regards,Hakeem

6 REPLIES 6
Read only

Former Member
0 Likes
661

check the data type you had defined for the quantity field again...it might not be correct one or there must be problem with the data like it might be decimal or comma saperator...just check these issues...your problem will be solved.

regards

anjali

Read only

0 Likes
661

Hi Anjali,

i used the dataelement of qty only.

But my problem is :i have put summed qty variable in top of page.

when i select the check boxes from the out put list ,th sum of those checked qty should be display onthat variable.

how can i do that.

please help .

Read only

0 Likes
661

Hi,

what type of alv u r using (OO alv or alv using FMs)

rgds,

bharat.

Read only

0 Likes
661

Hi ,

Using FMs.

Read only

Former Member
0 Likes
661

hi! ...

debug the code you had written for summing up in top of page..error shuld be there only..means check in debug mode the fields you you check marked are getting picked up or not...and is the condition for addition is correct.

regards

anjali

Read only

Former Member
0 Likes
661

Hi ,

You need to code for events in the ALV gird and assign a fucntion code to the check box.

For every data change event in ALV grid, the method which you define for summing the values should be triggered.Check out porgrams BCALV_EDIT_03 and other related programs in package SLIS for SAP stad examples.

Cheer

Kareem