2008 May 13 12:13 PM
This is one of the performance tuning method:
Internal Table is defined with TYPE STANDARD TABLE OF & Work-Areas is used instead of header lines
please tell me the reason for this.
2008 May 13 12:16 PM
To declare a internal table you use a simple type ) Instead of table type) in declaration. So that you create a table you declare the table as the table type of the simple type.
SAP recomands to use work area instead of header line. In also increase the readability of the program and avoid confusions between header and table.
This is one of the performance tuning method:
Internal Table is defined with TYPE STANDARD TABLE OF & Work-Areas is used instead of header lines
please tell me the reason for this.
2008 May 13 12:16 PM
To declare a internal table you use a simple type ) Instead of table type) in declaration. So that you create a table you declare the table as the table type of the simple type.
SAP recomands to use work area instead of header line. In also increase the readability of the program and avoid confusions between header and table.
2008 May 13 12:21 PM
Hi,
One crucial advantage, the OCCURS is simply not allowed in the OO context, and neither are header lines. So you should always use TYPE TABLE OF and explicit work areas instead of header lines.
OCCURS 0 by default can allocate 8KB of memory but OCCURS 0 is obsolete.
reusability is more with 'TYPES' and 'TYPE STANDARD TABLE OF'
Pls go through this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm
Regards,
Raj.
2008 May 13 12:19 PM
Internal Table is defined with TYPE STANDARD TABLE OF & Work-Areas is used instead of header lines
Work-Areas this workarea defined with the required fields instead of referign to the table name.
So the selection of the fields which will be use ful for the exact requirement.
Instead of selecting all the fields from the table this is the best way and the performance wise is better by considering the memory wise and processing of the internal table records.
Regards,
madan.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |