Showing results for 
Search instead for 
Did you mean: 

Data not binding to my node

Former Member
0 Kudos

I have data in lt_aufk and binded the data to the node as below:

* Bind the data to popin
* navigate from <CONTEXT> to <AUFK> via lead selection
   lo_nd_aufk = wd_context->path_get_node( path = `VBAK.AUFK` ).
   lo_nd_aufk->bind_table( new_items = lt_aufk set_initial_elements = abap_true ).

Issue: Data is not being passed to my application. what could be the issue?



Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Check when your code is called (check the action behind).

Former Member
0 Kudos


If my understanding is correct, you use two nodes, parent node -> VBAK (0..n) and child -> AUFK(0..n).

If so, you have to get the child node AUFK reference from the parent element in your on click event.

In addition to the above reply...

use lo_node = lo_el_vbak->get_child_node( 'NAME' ).

Former Member
0 Kudos

Small correction with more information:

I am doing a table pop-in. So when user clicks on the arrow which on the left of the parent table, I have to display the item data in the table pop-in.

Issue: Data gets displayed for the first click. but data doesn't get displayed if I click on one more header record though the data exists in lt_aufk.

Any clues please?



Active Contributor
0 Kudos

Hi Learner,

as per my understanding, you need to compare the key value on which you click every time.

so, as you said, when you click on arrow the sub/popin data should be displayed.

you just check in Action which you have assigned to Arrow, wither you are getting that key comparision value or not by Debugging..

and I hope the below code will be helpful to you.

data: lo_context_element type ref to if_wd_context_element.

lo_context_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).

lo_context_element->get_static_attributes( IMPORTING static_attributes = <static_attributes> ).

******** now compare your data with this <static_attributes> and populate POPIN node values.. *************

and Bind the new values to POPIN node..

it will correct your problem.