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

can we create global internal table in data dictionary

Former Member
0 Likes
2,866

help me

i want to know whether we can create global internal tables in data dictionary

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,444

Hi,

First question is why you want to create a global internal table.If you want directly a table create it nad maintian it.

Internal table means its related to a particular program.

In case of FM if we declare a table globally it can be used by all the FM's inside the same function group.

If you wantt i use the same structure in all your programs then you cna create it in SE11.

If you have more doubts reply me back with the requiremnt.

Regards,

Sasi

help me

i want to know whether we can create global internal tables in data dictionary

4 REPLIES 4
Read only

Former Member
0 Likes
1,444

Hi

try creating Structures are Table types which can be used as ITAB

Regards

Shiva

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
1,444

HI,

You can create GLOBAL INTENRAL TABLE TYPES.

But not GLOBAL INTERNAL TABLES, since to store data we already have Database tables which are globally declared in the Data Dictionary.

Procedure for Table types creation

SE11->Data Type->Table Type

In the program you can use

DATA: itab type DDIC_TAB.

Regards,

Sesh

.

Read only

Former Member
0 Likes
1,444

Hi Swathi,

The whole concept of internal table is to manipulate the data at runtime.

This replaces the concept of two dimentional array in other languages.

The power of internal tables is it gets lakhs of records at runtime. I mean it can accomodate lots of records at runtime.

So you can create a table type in DDIC and use it to declare your internal table.

Yes, You can create global internal tables for function modules.

By declaring the internal table in top include you can use this internal table all the function modules of that function group. So if one function module is filling the data another can use it as it is stored globally.

Hope this answers your curiosity.

Award points if useful else getback.

Aleem.

Read only

Former Member
0 Likes
1,445

Hi,

First question is why you want to create a global internal table.If you want directly a table create it nad maintian it.

Internal table means its related to a particular program.

In case of FM if we declare a table globally it can be used by all the FM's inside the same function group.

If you wantt i use the same structure in all your programs then you cna create it in SE11.

If you have more doubts reply me back with the requiremnt.

Regards,

Sasi