‎2007 Feb 08 1:49 PM
plz give me the answar of the question
what is the work area
‎2007 Feb 08 1:55 PM
Check this,
WORKAREA is a structure that can hold only one record at a time. It is a collection of fields. We use workarea as we cannot directly read from a table. In order to interact with a table we need workarea. When a Select Statement is executed on a table then the first record is read and put into the header of the table and from there put into the header or the workarea(of the same structure as that of the table)of the internal table and then transferred top the body of the internal table or directly displayed from the workarea.
Each row in a table is a record and each column is a field.
‎2007 Feb 08 1:52 PM
I think you are in serious need of training if you have to ask that question. The work area is the temporary space in SAP memory that you are working as an ABAPer and is for the duration that your program is running, you also define that area and space as you define internal tables etc....
Message was edited by:
David Lawlor
‎2007 Feb 08 1:54 PM
‎2007 Feb 08 1:55 PM
Check this,
WORKAREA is a structure that can hold only one record at a time. It is a collection of fields. We use workarea as we cannot directly read from a table. In order to interact with a table we need workarea. When a Select Statement is executed on a table then the first record is read and put into the header of the table and from there put into the header or the workarea(of the same structure as that of the table)of the internal table and then transferred top the body of the internal table or directly displayed from the workarea.
Each row in a table is a record and each column is a field.
‎2007 Feb 08 2:20 PM
Hi Vikram,
The structure of internal table is , it consists of a work area and body. If u want to add or retrieve the records from the database ,then what happens is, the first record(which u want to add/retrieve) comes to the work area then it is sent to the body area (this happens only when the next record is retrieved) .
For example if 'n' records are to be retrieved from the database,after retrieving the 'n'th record the last record in the body area will be equal to the record present in the work area(i.e.; when any record is called then it enters the workarea by overwriting any existing record and the existing record is sent to the body area).
If found useful ,reward suitable points
Regards,
Naresh