Skip to Content
0
Former Member
Sep 16, 2005 at 07:16 AM

Table control problem ...

36 Views

Hi all,

I did that a lot of times before, but it's the first time I can't get it to work and can't find why ... ๐Ÿ˜Š

I've a Dynpro (8000) with 2 tables controls in it (nothing else yet).

The dynpro flowlogic looks like this ;

PROCESS BEFORE OUTPUT.

  MODULE status_8000.

  LOOP AT t_kpi_servi WITH CONTROL tc_kpi_servi.
  ENDLOOP.

  LOOP AT t_kpi_dia WITH CONTROL tc_kpi_dia.
  ENDLOOP.

PROCESS AFTER INPUT.

  LOOP AT t_kpi_servi.
  ENDLOOP.

  LOOP AT t_kpi_dia.
  ENDLOOP.

The controls are defined like this ;

CONTROLS: tc_kpi_dia TYPE TABLEVIEW USING SCREEN 8000,
          tc_kpi_servi TYPE TABLEVIEW USING SCREEN 8000.

But when I syntax check I keep getting this error:

The first field (key word) in LOOP must have a field name; a "LOOP... ENDLOOP" may   
be missing in PBO or PAI.                                                     

Would be nice if someone got an idea .... thanks in advance ๐Ÿ˜Š