Skip to Content
0
Former Member
Jul 17, 2008 at 11:30 AM

refresh an alv_tree

38 Views

Hi experts,

How can refresh an alv_tree?

i modify a value in the table such as:

  DATA: yplm00_tree LIKE gt_output.

  call method g_alv_tree_1001_a->get_outtab_line
  exporting
    i_node_key    = p_node_key
  importing
    e_outtab_line = yplm00_tree.

  CASE yplm00_tree-tipol.
    WHEN 'PY'.
      UPDATE YPLM01 CLIENT SPECIFIED SET STATS = p_fcode
      WHERE PSPNR = yplm00_tree-pspnr
        AND mandt = sy-mandt.
    WHEN 'PR'.
    WHEN 'RV'.
    WHEN 'EN'.
    WHEN 'RS'.
  ENDCASE.

CALL METHOD g_alv_tree_1001_a->update_calculations.

CALL METHOD g_alv_tree_1001_a->frontend_update.

And after modified, i want refresh the alv_tree, i intent with

CALL METHOD g_alv_tree_1001_a->update_calculations.

CALL METHOD g_alv_tree_1001_a->frontend_update.

But don´t work... other ways?

Thanks in advance,

Regards,