Application Development 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: 

Using of table control without declaring TABLES statement for data transfer

former_member198357
Participant
0 Kudos

Hello All,

I am using table control for my requirment and I don't want to use TABLES statement in my program for data transfer as TABLES statement is obsolete.

Can anybody suggest something for the same? Can we use internal table for the same?

Regards,

Bhavin

4 REPLIES 4

Former Member
0 Kudos

define a new type in your program..

ex types: begin of ty_wa,

include structure tabl. (Enter the table name that you were declaring with TABLES statement here)

types : end of ty_wa.

data gs_wa type ty_wa.

data gt_itab type table of ty_wa.

You can then use these in your table control...If you are using wizard to create, you need to specify these there...

Former Member
0 Kudos

Hi,

Use table type defintions for table declarations.

TYPES : ty_t_vbap type standard table of vbap.

DATA: it_vbap TYPE ty_t_vbap.

Regards,

Raju.

Former Member
0 Kudos

Create your own Internal table and assign that to table control

0 Kudos

Hello All,

I have created the same but data is not getting transfered.

I have tried out the same but still data is not getting transfered.

Can you have sample code for the same?

regards,

Bhavin