‎2007 Apr 13 3:43 AM
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
‎2007 Apr 13 3:47 AM
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
‎2007 Apr 13 4:07 AM
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 .
‎2007 Apr 13 5:50 AM
Hi,
what type of alv u r using (OO alv or alv using FMs)
rgds,
bharat.
‎2007 Apr 13 8:42 AM
‎2007 Apr 13 4:48 AM
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
‎2007 Apr 13 5:42 AM
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