Skip to Content
0
Former Member
Oct 28, 2010 at 12:28 PM

Error in copy of BCALV_TREE_SIMPLE_DEMO

24 Views

I copied BCALV_TREE_SIMPLE_DEMO to a z version,

changed it with own structure

DATA: gt_sflight TYPE zhpa_vakantie_struc OCCURS 0, "sflight OCCURS 0, "Output-Table

now when running an error occurs, i think this has to do with the screen collumn layout???????

When in debug mode i see somewhere that the code is looking for fields from structure sflight!

Anyone a clue??

longer exists

- You address a global function interface, although the

respective function module is not active - that is, is

not in the list of active calls. The list of active calls

can be taken from this short dump.

tartpunt van runtime error

Programma CL_GUI_ALV_TREE_SIMPLE========CP

Include CL_GUI_ALV_TREE_SIMPLE========CM01G

Regel 13

Moduletype (METHOD)

Modulenaam SET_HIERARCHY_DATA

ectie source code

egel Source

1 method SET_HIERARCHY_DATA.

2

3 data: ls_fieldcat type lvc_s_fcat,

4 ls_new_item type lvc_s_item,

5 l_data type lvc_value.

6

7 field-symbols: <f1> type any.

8 if not is_outtab_line is initial.

9 loop at mt_fieldcatalog into ls_fieldcat where

10 tech is initial.

11 assign component ls_fieldcat-fieldname

12 of structure is_outtab_line to <f1>.

>>>> if not <f1> is initial.

14 * get cell-value

15 call method cl_gui_alv_grid=>cell_display

16 exporting

17 is_data = is_outtab_line

18 i_int_value = <f1>

19 importing

Edited by: Richard van Veen on Oct 28, 2010 2:35 PM

Edited by: Richard van Veen on Oct 28, 2010 2:46 PM