Skip to Content
0
Former Member
Apr 30, 2009 at 12:53 PM

changes dont take effect in the view

42 Views

Hi,

I am modifying the UI-Table which is editable.

What has to be done to show the current new content of the table on the view.

There is a calculation and the result will be inserted into the cost column.

Cleary how can I see that the changes take effect

I cant see the value in the view after modify command

data wa_kt type  ZCBD_PURCHITEM.

  Data: l_node type ref to if_wd_context_node.
  l_node = wd_context->get_child_node( 'ZKAUF' ).
*l_node->get_static_attributes_table( importing table = lt_table ) .
  l_node->get_static_attributes_table( importing table = WD_COMP_CONTROLLER->GT_KAUF_TAB ) .

  LOOP AT WD_COMP_CONTROLLER->GT_KAUF_TAB INTO wa_kt.
    wa_kt-COST = wa_kt-EKPREIS  * wa_kt-MENGE.
    modify WD_COMP_CONTROLLER->GT_KAUF_TAB  from wa_kt transporting COST.
  ENDLOOP.

regards

ertas