‎2007 Apr 18 7:33 PM
Hi,
I wanna know the difference between Static and Dynamic Internal Table?
How and when are they used.
thanks in advance
pv
‎2007 Apr 18 7:37 PM
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
‎2007 Apr 18 8:53 PM
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
‎2007 Apr 18 8:53 PM
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.