09-06-2010 1:29 PM
Hello Experts,
I have one query regarding OOP's ALV Tree.
In output screen I have one field as checkbox. Based on certain conditions the value of checkbox becomes X.
But If I execute the report then in output screen that checkbox is not getting ticked. Instead of ticking checkbox in beside checkbox one value 'X' is coming.
Can anybody suggest me how to resolve it as in output structure values are properly going?
Regards,
Neha
09-06-2010 7:36 PM
Hello neha gupta,
you have to use method ITEM_SET_CHOSEN to tick/untick a checkbox in an ALV tree. If you search on SDN and/or Google you can find various examples for this.
Regards,
Alej
09-07-2010 6:31 AM
Hi,
I seen this answer from forum,
Just try following code.If its useful..
data: v_tree type ref to CL_GUI_COLUMN_TREE .
v_tree->ITEM_SET_CHOSEN
Exporting
NODE_KEY = node_key
ITEM_NAME = Item_name
CHOSEN = 'X'
regards
chandhru