Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table controle not defined --> dump

Former Member
0 Likes
1,654

Hi,

I got a problem.

I get a Syntaxerror, when trrying to activate a screen.

The Syntax error says: Table Control TABLE_CTR is not defined in the screen.

But there is an Include where this Table Control is defined.

Here are the important part:

Include:

CONTROLS: table_ctr TYPE TABLEVIEW USING SCREEN 0010.

  LOOP AT   XVBAP
         WITH CONTROL TABLE_CTR
       CURSOR TABLE_CTR-CURRENT_LINE.
    MODULE TABLE_CTR_GET_LINES.
*   MODULE TABLE_CTR_CHANGE_FIELD_ATTR
  ENDLOOP.

And yes the screen is called 0010

THX Chris

Hi,

I got a problem.

I get a Syntaxerror, when trrying to activate a screen.

The Syntax error says: Table Control TABLE_CTR is not defined in the screen.

But there is an Include where this Table Control is defined.

Here are the important part:

Include:

CONTROLS: table_ctr TYPE TABLEVIEW USING SCREEN 0010.

  LOOP AT   XVBAP
         WITH CONTROL TABLE_CTR
       CURSOR TABLE_CTR-CURRENT_LINE.
    MODULE TABLE_CTR_GET_LINES.
*   MODULE TABLE_CTR_CHANGE_FIELD_ATTR
  ENDLOOP.

And yes the screen is called 0010

THX Chris

3 REPLIES 3
Read only

Former Member
0 Likes
1,054

CONTROLS: table_ctr TYPE TABLEVIEW USING SCREEN '0010'.

try using this....

Regards

Vasu

Read only

0 Likes
1,054

Hi THX,

I tried this, but I still can' activate the screen w/o a syntax error.

chris

Read only

Former Member
0 Likes
1,054

Make sure the TC in the screen element list has the same name.