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

internal tables

Former Member
0 Likes
428

Hi,

I wanna know the difference between Static and Dynamic Internal Table?

How and when are they used.

thanks in advance

pv

3 REPLIES 3
Read only

Former Member
0 Likes
411

Hi Vijay,

If we declare the internal table in the program then it is a Static Internal table, and if we create an Internal table at runtime then we call it as Dynamic Internal table.

To know how to create a Dynamic Internal table...

http://www.sap-img.com/ab030.htm

Regards

Sudheer

Read only

Laxmana_Appana_
Active Contributor
0 Likes
411

Hi,

in case of dynamic internal table : the fields structure will be created at runtime.

we will define dynamic internal tables , if there is no clear details about number of fields.

ex:if we are going to upload an excel data to internal table , but we don't have any idea about no.of excel columns.

in case of static , the fields structure , we will define at design time.

if no. of fields are known at design time

Regards

L Appana

Read only

Former Member
0 Likes
411

Check this weblog...

<a href="/people/alvaro.tejadagalindo/blog/2006/11/27/dynamic-alv-list-display ALV List Display</a>

It uses Dynamic Internal tables to build an ALV -;)

Greetings,

Blag.