on 09-10-2014 7:15 AM
Hi Techies,
In Matrix column sum automatically added by below mentioned code.
eg:Matrix.Columns.Item("colName").ColumnSetting.SumType = SAPbouiCOM.BoColumnSumType.bst_Auto
On clicking the update Button the value in sum column get cleared why?.Screen shot in added here.
Is there any option to get correct value in this field.
Thanks and Regards,
YADAV
How are you binding this matrix?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to loop the each column and get SUM of the value and assign to the filed.
Regards,
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Prasad,
The cell where i want to print the total is outside the matrix-
In Form Loading function i had written below code for displaying that cell below the column :
Matrix.Columns.Item("colName").ColumnSetting.SumType = SAPbouiCOM.BoColumnSumType.bst_Auto
so we can't loop the rows and put the total in this cell.
Thanks and Regards,
YADAV
Hi,
As discussed above
As the data is not getting filed
In before action=true and Itempressed event and Pval.itemuid=1
write for Loop get each value from cell and make the sum and assign to the matrix column
objform.items.item("ITEMUID").specfic.value=total(i.e looping each value sum)
Regards,
Prasad
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.