‎2007 Aug 13 5:49 AM
whether the TABLE statement in REPORT consumes any memory space or slows down the performance.
‎2007 Aug 13 5:57 AM
Hi,
TABLES: statement is used for creating a Workarea with the SAME NAME as that of the STRCUTRE, this is useful when you create the SCREEN FIELDS also using the SAME STRUCTURE by getting the fields from DDIC option.
This will occupy the memory space that is required for ONE ROW of this STRUCTURE TYPE.
This should not be a Memory problem or Performance problem.
Its helpful for transferring data between Screen and Program.
Regards,
Sesh
‎2007 Aug 13 5:54 AM
Hi..
TABLES statement is used to Create a work area with the Same strcture based on DB Table, Structure.
Eg:
TABLES: MARA. "Based on a Table
TABLES : BDCDATA. "Based on a Structure
It will consume a memory for a single row only. like any other work area.
So it will not have any much affect on performance.
<b>Reward if Helpful</b>
‎2007 Aug 13 5:57 AM
Hi,
TABLES: statement is used for creating a Workarea with the SAME NAME as that of the STRCUTRE, this is useful when you create the SCREEN FIELDS also using the SAME STRUCTURE by getting the fields from DDIC option.
This will occupy the memory space that is required for ONE ROW of this STRUCTURE TYPE.
This should not be a Memory problem or Performance problem.
Its helpful for transferring data between Screen and Program.
Regards,
Sesh
‎2007 Aug 13 5:58 AM
technicaly speaking it might be yes. becuase first it allocates the work area for your table and then gives the access to your program. The tables keyword will allocate the memory at roll area in the application server with the available work processes. eventhough your program contains the attributes to work with the retrived data.
In the real time, avoid to access to declare the TABLES key word in the program level, at most time.
Note: but It allocates memory area at run time and even it doesnt come under the performance issue.
I sure that you can use this tables key word, if required. becuase it is not such a issue with performance.
reward points.
sekhar
‎2007 Aug 13 5:59 AM