‎2007 May 14 8:02 AM
Hi guru,
1. I understood Internal table is used to take the copy of the existing table and
Structure is the skeliten of the internal table and it won't have the memory space.
2. I am not able to get where to use structure and where to use internal table.
will any of u plz clarify my doubts.
Thanks & Regards,
Kalyani..
‎2007 May 14 8:06 AM
Hi Kalyani,
Structures are created in Data dictionary and are persistent. whereas internal table are confined to a program and exist till the execution of the program.
Regards,
Younus
Reward Helpful Answers!!!
‎2007 May 14 8:06 AM
Hi Kalyani,
Structures are created in Data dictionary and are persistent. whereas internal table are confined to a program and exist till the execution of the program.
Regards,
Younus
Reward Helpful Answers!!!
‎2007 May 14 8:07 AM
HI,
You will use structure if you have to hold data of only one row. if data is more than one row than you have to use internal table.
Structure can also be used to hold the data of internal table header data. as object oriented does not support internal tables with header line.
LIke
*this is internal table.
DATA: itab like standard table of tab.
*this we can say structure or work area.
data: itab_wa like line of itab.
Regards,
‎2007 May 14 11:27 AM
Structure can also containmemory space.
Structure is used to have a single record, internal table is for no. of records.
Structure is also used to define an internal table using 'DATA' statement.
<u><b>Award if useful</b></u>
Sudheer
‎2007 May 14 12:54 PM
hii
whenever you want to store the data then you have to use internal table
when you want to define the internal table with any particular fields then use structures and use table type structure
vikaas
‎2007 May 18 10:34 AM
U need to <b><u>award points for all the useful replies</u></b>, and also u nees to <b><u>mark it as Answered if ur problem is solved</u></b>.
Regards
Sudheer