Application Development 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: 

ALV

Former Member
0 Kudos

Hi,

What is the use of Type-pools in ALV report?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Type pools is a predefined layout format. By using the specified type pools are variables and layout format will be used in your report.

Regards,

Nandha

5 REPLIES 5

Former Member
0 Kudos

Hi,

Type pools is a predefined layout format. By using the specified type pools are variables and layout format will be used in your report.

Regards,

Nandha

h_senden2
Active Contributor
0 Kudos

Within a type pool you can define types. This type pool (part of data dictionary - SE11) can be included in every code you want to.

regards

Hans

Former Member
0 Kudos

Hi Udava,

Good!

Syntax

TYPE-POOLS tpool.

Effect

In order to use the definitions of a type group, you have to integrate the type group into the program.

The TYPE-POOLS statement integrates the type group tpool into the current context. You can specify it in the global data declarations of an ABAP program or in the declaration section of a class or interface. The data types and constants of the type group are visible as of this statement in the current context.

Note

If the integrated type group tpool integrates a further type group with the TYPE-POOLS statement, this new type group is also integrated into the program.

Example

Integrating the predefined type group abap. By referring to the table type abap_func_parmbind_tab from the type group abap, the system declares an internal table parameter_tab for the dynamic parameter transfer to function modules.

TYPE-POOLS abap.

DATA parameter_tab TYPE abap_func_parmbind_tab.

rainer_hbenthal
Active Contributor
0 Kudos

type pools do not have anything to do with alv. They are type and constant declarationsand are very similar to includes, but as i said they can aonly hld type and constantdeclarations. goto SE11 and have alook at type group ABAP or ICON. The special type poos SLIS makes life much more easier in ALV cause it helds alle the types you need handling the ALV layout.

Former Member
0 Kudos

Hi

Type pools contains the predefined structures for ALV display

In ur own program you just need to declare the variable using these structure from the type pool that you need.

check out the SLIS type pool. this is always useed and is necessary for ALV display.

There you can find all the structures.

Regards

Vijai

*reward points if useful