Defaulting checkbox checked parameter
We have an WD ABAP application in which a check box is present which when checked stored some value 'CART' in the data base when unchecked store 'SLIP' in the data base.
Now we have to default the checkbox as checked on loading the view so now no manula checking of checkbox.
I have setted the node attribute binded with of checkbox checked event as 'X', now on loading the ckeckbox shows checked but the value in database is of unchecked value that is 'SLIP'
When we are again unchecking and checking it manually it is saving correct value in database that is 'CART'
Please let me know how to default the checked parameter of checkbox so that it is equal to manual checking.