09-12-2008 9:05 AM
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
09-12-2008 9:11 AM
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...
09-12-2008 9:16 AM
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.
09-12-2008 9:17 AM
09-12-2008 10:49 AM
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