Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Performance issue

Former Member
0 Likes
578

whether the TABLE statement in REPORT consumes any memory space or slows down the performance.

1 ACCEPTED SOLUTION
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
559

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

4 REPLIES 4
Read only

varma_narayana
Active Contributor
0 Likes
559

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>

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
560

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

Read only

Former Member
0 Likes
559

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

Read only

Former Member
0 Likes
559

thanks all i got the answer