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

Problem in referring internal table to table control

Former Member
0 Likes
303

Hi all,

I am trying to create a table control by referring to a internal table in my program...But while clicking the get from program button in the screen painter i am getting the below error

" The field GT_EKKO doesnot exist in (the generated version of) program saplztest_new"  ...

I am calling the screen from function module and have declared the internal table in the TOP include..I have activated the program and also generated it..

And also tested it with out the table control in the screen,but internal table has been declared in the program...

Can anyone please help me out in this...<< Urgency Removed >>

Thanks & Regards,

Dheepak.S

1 REPLY 1
Read only

Former Member
0 Likes
248

Hi Dheepak,

May be it will help you.

In table Control for each Field Maintain like this Way.

If GT_EKKO  is declared with HEADER LINE.

if table contains Field EBELN and LIFNR....

Than for table Control Fields Maintain - GT_EKKO-EBELN,     GT_EKKO-LIFNR.

If GT_EKKO is declared without HEADER LINE.

if table contains Field EBELN and LIFNR....

Than for table Control Fields Maintain - WA_EKKO-EBELN,     WA_EKKO-LIFNR.

WA_EKKO is Work Area of GT_EKKO.

Thaks

Tarak