‎2007 Jul 02 12:17 PM
Hi friends,
I ahve one syntax... like this...
TYPES : BEGIN OF ITAB,
MATNR LIKE MARA-MATNR,
AEDAT LIKE MARA-AEDAT,
END OF ITAB.
DATA : JTAB TYPE ITAB..
I know that JATB is work as WORKAREA.. but .my doubt is Now JTAB is a structure.. or it's a table... because.. i use type statement in the second declaration..
thanks
Babu
‎2007 Jul 02 12:18 PM
Hi,
Its a strucutre.
COZ in your TYPES statement you are using BEGIN OF to start declaring a STRUCTURE TYPE not a TABLE TYPE
Regards,
Sesh
‎2007 Jul 02 12:18 PM
Hi,
Its a strucutre.
COZ in your TYPES statement you are using BEGIN OF to start declaring a STRUCTURE TYPE not a TABLE TYPE
Regards,
Sesh
‎2007 Jul 02 12:19 PM
‎2007 Jul 02 12:19 PM
‎2007 Jul 02 12:20 PM
‎2007 Jul 02 12:36 PM
Thanks
but can we write a select statement on structure... .. i mean can we get data directly from JTAB..
ex: select matnr aedat from mara into table JTAB.
can i write like this..
thanks
babu
‎2007 Jul 02 12:55 PM
hi,
no u cannot write into table jtab.
u can perform operation into jtab
it is a structure it can hold only one record.
regards,
Navneeth K.
‎2007 Jul 02 12:56 PM
‎2007 Jul 02 1:07 PM
Hi,
Its a structure.
No u can not get data from structure but it can not hold data.
regards,
sudha