on 04-29-2011 10:29 AM
Hi All,
I used the below code for generating the value for checkbox by group. I want a add a description to my check box so that while display on run time , the key value(L1) along the description(level management) should be displayed. Can any one help me resolving this issue please.
method FILL_SCOPE .
DATA lt_scope TYPE wd_this->Elements_scope.
DATA ls_scope LIKE LINE OF lt_scope.
ls_scope-text = 'L1'.
append ls_scope to lt_scope.
ls_scope-text = 'L2'.
append ls_scope to lt_scope.
ls_scope-text = 'L3'.
append ls_scope to lt_scope.
ls_scope-text = 'CR'.
append ls_scope to lt_scope.
ls_scope-text = 'SR'.
append ls_scope to lt_scope.
node->bind_table(
new_items = lt_scope
set_initial_elements = abap_true ).
endmethod.
Hi All,
What i did was, added an another attribute to the context node. Placed the key values in one attribute and read that attribute in the code for further manipulations and the description in the another attribute and binded that attribute to the checkbox property value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
MY PROBLEM GOT RESOLVED.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.