on 02-17-2009 3:37 PM
Hi,
In my WD application selection screen I am using a parameter(COSP-VERSN)
When i read this using read context i am getting an error saying "Could not find attribute KOKRS"
In context I have created a node with COSP-VERSN. My Kokrs will be contstant everytime.
For getting my version I need to pass KOKRS values.How can overcome this issue?
Here is the read context for versn which I have created in context Create-> NODE Option
DATA lo_nd_pversn TYPE REF TO if_wd_context_node.
DATA lo_el_pversn TYPE REF TO if_wd_context_element.
DATA ls_pversn TYPE wd_this->element_pversn.
* navigate from <CONTEXT> to <PVERSN> via lead selection
lo_nd_pversn = wd_context->get_child_node( name = wd_this->wdctx_pversn ).
* get element via lead selection
lo_el_pversn = lo_nd_pversn->get_element( ).
* get all declared attributes
lo_el_pversn->get_static_attributes(
IMPORTING
static_attributes = ls_pversn ).
Rgds
Vara
Resolved myself by creating a custom Dropdownbykey.
Rgds
vara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.