Skip to Content
0

Editable hierarchy ALV Report

May 15, 2017 at 10:51 AM

106

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

omer sakar May 15, 2017 at 02:57 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi May 15, 2017 at 03:36 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
May 16, 2017 at 07:14 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded