cancel
Showing results for 
Search instead for 
Did you mean: 

Add Empty Row not working

0 Kudos

Hi,

We have an "Add Empty Row" Button.

When that is clicked a new row seems to be added but we cannot view it.

It is visible when a seperate action is carried out. Like a checkbox being checked.

It seems that there is no refresh after the row has been added.

This was working previously.

What change could have been done that has caused this.

Regards,

Girishkumar Hegde

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
data lo_nd_nd_pernr type ref to if_wd_context_node.

    data lt_nd_pernr type wd_this->elements_nd_pernr.
    data ls_nd_pernr type wd_this->element_nd_pernr.

    lo_nd_nd_pernr = wd_context->get_child_node( name = wd_this->wdctx_nd_pernr ).
    lo_nd_nd_pernr->get_static_attributes_table( importing table = lt_nd_pernr ).

  if lt_nd_pernr is initial.
      append ls_nd_pernr to lt_nd_pernr.
    elseif lt_nd_pernr is not initial.

  clear ls_nd_pernr.
  append ls_nd_pernr to lt_nd_pernr.
    endif.

  lo_nd_nd_pernr->bind_table( lt_nd_pernr ).

This is the sample code for adding rows. Compare with this.

Former Member
0 Kudos

Hi,

This seems very strange. Check in debugging mode, the action of the button.