‎2006 Nov 29 10:39 AM
(DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
WA_EKKO TYPE I_EKKO.):-what does it mean exactly
‎2006 Nov 29 10:41 AM
the IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
This defines an internal table of the type i_ekko which would have been defined earlier.This is without header line.
WA_EKKO TYPE I_EKKO - defines a work area of the type
‎2006 Nov 29 10:41 AM
HI,
DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
WA_EKKO TYPE I_EKKO.):-what does it mean exactly
fIRST LINE creates internal table with header line ...which u can use to populate the data from DB.
second line is a structure where u can have the latest record populated and in this u can have at the most only one record
regards
‎2006 Nov 29 10:42 AM
hi,
IT_EKKO is an internal table with same structure as i_ekko ...
wa_ekko is of work area or is d same structure as i_ekko.
Rgds,
Ajith
‎2006 Nov 29 10:42 AM
INITIAL SIZE specifies how many table lines are to be created initially. The number of table lines can then be increased as needed.
The value of INITIAL SIZE has no semantic significance except in the case of APPEND SORTED BY. If INITIAL SIZE is not declared, its value is set to 0.
‎2006 Nov 29 10:45 AM
Hi
First statement is to create an internal table of type I_EKKO, and second statement is to create work area for further processing.
In internal table u can store any number of records and in work area you can store only one record.
You can fetch data from DB and store the records in the internal table by SELECT --- INTO TABLE ---. And then you can do further process however you want by reading each record into to the work area either by READ or LOOP.
Regards
Surya.