08-20-2007 5:42 AM
08-20-2007 5:44 AM
Hi,
structure is central object we can use that from any program.and it will hold only one record(row) of data.
internal table is only useful with in the program in which u have defined.and it will hold number of records(rows).
<b>reward if helpful</b>
rgds,
bharat.
08-20-2007 5:44 AM
Hi,
structure is central object we can use that from any program.and it will hold only one record(row) of data.
internal table is only useful with in the program in which u have defined.and it will hold number of records(rows).
<b>reward if helpful</b>
rgds,
bharat.
08-20-2007 5:46 AM
Structure holds only one record at runtime.
Internal table can hold multiple records at runtime. Workarea of internal table holds only a single record, same as structure.
08-20-2007 5:47 AM
Hi ,
An internal table can contain many record where as a structure can contain only one record .
Internal table declaration:
Data : begin of itab occurs 3 ,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp ,
end of itab .
work area declaration
Data : begin of itab ,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp ,
end of itab .
Regards
08-20-2007 5:48 AM
HI,
structure will be a reference .
but internal table will be having the records in the run time
if an internal table format is being used in several programs
we wil declare it globally in the se11 transaction so that every one can use it
but an internal table can use the format of a structure and can store the data
in the run time
structure will not store data but they too can store data only in the runtime
they can store one record at a time
but the internal table can store more than one record and max depends onthe
how we declare the internal table
like
begin of itba occurs 0 ( dynamic memory)
like this ...
structure will be created in se11 transaction
internal tables wil be creatd in the programms
and strurctures can be used as work areas also in the run time
thanks & regards,
Venkatesh
08-20-2007 5:53 AM
hi,
structure can't store any data
structure can be useful for creating a type of it.
it doesn't occupy any memory.
it doesn't have diff types as with internal tables.
internal tables are used for storing data temporarily.
internal tables are created from existing sap objects , structures, or user defined.
it occupies memory [ using occurs keyword].
internal tables are of two types
1. internal table with out header line.
2. internal table with header line.
if helpful reward some points.
with regards,
Suresh Aluri.