on 09-24-2008 4:33 PM
Hi Experts
I have a requirement where i have to pass the value from one component to another.
I tried using interface nodes but the values are not getting trasferred to the other component .I used display messages to check thn came to knw the component controller of using coponent is getting called many times thats means the component is getting instantiated evry time thats why nodes data dint get retained .Tried using interface methodasalso but the problem remains the same .
The using component is further getting used in many components .
Is there global constants concept in WD ABAP whose value dint get changed evn when the component is instantiated again.
Please suggest.
Thanks
Monika
Monika,
try to use the below code to get the used component details in other component
data lo_nd_attach type ref to if_wd_context_node.
data ls_el type wd_this->element_attach.
data lt_attach type standard table of wd_this->element_attach.
lo_nd_attach = wd_context->get_child_node( name = wd_this->wdctx_attach ).
lo_nd_attach->get_static_attributes_table( importing table = lt_attach ).
where attach is the node name and write the code in a controller method
Thanks
Bala Duvvuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.