Skip to Content
avatar image
Former Member

Editable hierarchy ALV Report

Hi Experts,

I have created Editable hierarchy ALV Report,

I'm getting changed records for header table while saving the data,

but Item table data are not reflecting.

I have also tried with :

CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'

IMPORTING

E_GRID = REF_GRID.

But ref_grid is always returning initial.

kindly help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • May 15, 2017 at 02:57 PM

    Hi,

    If you use "cl_gui_custom_container", you can use "get_selected_nodes" :

    CALL METHOD gd_tree->get_selected_nodes

    CHANGING ct_selected_nodes = lt_selected_nodes.

    Add comment
    10|10000 characters needed characters exceeded

  • May 15, 2017 at 03:36 PM

    If I understand you well, you are talking about hierarchical-sequential list. There's no ALV Grid flavor for it. It's only supplied with the old ABAP list technology.

    About your first question that you don't get the values for fields of the item table, it's impossible to tell which part of your code is wrong from what you posted.

    Add comment
    10|10000 characters needed characters exceeded

  • May 16, 2017 at 07:14 AM

    From your call of GET_GLOBALS_FROM_SLVC_FULLSCR, I suppose you called the old REUSE_ALV_HIERSEQ_LIST_DISPLAY, I would suggest you convert at least to CL_SALV_HIERSEQ_TABLE or some more recent class depending on your version.

    Add comment
    10|10000 characters needed characters exceeded