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 Manual Table Control

Former Member
0 Likes
948

Hi all,

While Trying to make manual Table control,

I wrote code in PBO Like.

LOOP AT IT_ITM.

WITH TABLE CONTROL TC_9002

CURSOR TC_9002-CURRENT_LINE.

ENDLOOP.

But Error is generated with msg IT_ITM is not database table.

Kindly Provide Solution.

Thx in advance.

7 REPLIES 7
Read only

Former Member
0 Likes
913

Hello,

Example

loop at g_tb_geral_itab

into g_tb_geral_wa

with control tb_geral

cursor tb_geral-current_line.

endloop.

Read only

Former Member
0 Likes
913

Hi Amit,

The Proper syntax for that command is :

LOOP AT t_data INTO wa_company_code

WITH CONTROL tab_control.

MODULE populate_tabcontrol.

ENDLOOP.

no fullstop.

Regards,

Amit.

Read only

Former Member
0 Likes
913

Hi,

Please check the following code

CONTROLS IT_ITM TYPE TABLEVIEW USING SCREEN 100.

LOOP AT IT_ITM.

WITH TABLE CONTROL TC_9002

CURSOR TC_9002-CURRENT_LINE.

ENDLOOP.

Read only

Former Member
0 Likes
913

hi,

try this..




PROCESS BEFORE OUTPUT.
 MODULE STATUS_8001.

  LOOP WITH CONTROL MOVIE." MOVIE is table control name
    MODULE PASS_DATA.
  ENDLOOP.

"****************************************************************************************
MODULE PASS_DATA OUTPUT.

  READ TABLE MOVIE_TAB INDEX MOVIE-CURRENT_LINE.


ENDMODULE. 

hope this helps

Regards

Ritesh J

Read only

Former Member
0 Likes
913

Dear All,

Thanks For co-operation.

Now its working fine.

Read only

0 Likes
913

HI,

>

> Dear All,

> Thanks For co-operation.

> Now its working fine.

Plz close this thread if ur problem is solved.

Regards

Ritesh J

Read only

Former Member
0 Likes
913

Thanks