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

type-pools:slis

Former Member
0 Likes
1,354

Hi,

I have some doubts

1. what is pool table?

2. what is slis table & what is the advantage?

3. Why have to use the slis in ALV?

Regards,

Satish.

Hi,

I have some doubts

1. what is pool table?

2. what is slis table & what is the advantage?

3. Why have to use the slis in ALV?

Regards,

Satish.

4 REPLIES 4
Read only

Former Member
0 Likes
940

Hi satish,

1. Type-Pool.

Its nothing but abap code,

where some bunch of

TYPES (data types) and some data declaration,

is already done.

(which we can use in other programs)

(as the name suggests,

it is a pool (bunch)

of TYPES.

2. what is slis table & what is the advantage?

It is type-pool (bunch of types)

required for ALV purpose.

(eg. variable for field catalogue, alv layout etc)

Advantage is that we have to use such types,

just by referring, them, (bcos they are already defined)

3.

Why have to use the slis in ALV?

BCOS we have to use Field catalogue, alv layout variable etc, for showing alv,

and such types are defined in SLIS already.

regards,

amit m.

Read only

Former Member
0 Likes
940

1.pooled table is combination of fields from different tables.that data base table dafination level is different. 1-many relation ship.

(1)tablepool - (many)pooled tables.

u can check by opening pooled table and see tablepool under which it is assigned.

(ex:like function group - function modules under that group)

2.

If u see ALV function modlules tables, structures .all r declared in SLIS .

if u r using those function modules in program. we need to declare the data to send and get data from ALV function module..there also we need to daclare data as like in alv function modules,,so type-pools : slis we daclare.

now we can use types as <declared in slis>.

3.

we generally display normoal out puts.

before o/p we have sort,filter,etc,. like that

but ALV s user friendy, after o/p we can sort filter,sum,etc. somany.

a.list alv

b.grid alv

c.hierachical alv

r 3 types of alvs.

regards,

ramesh

Read only

Former Member
0 Likes
940

HI Satish,

Here is the answer for your first question.....

1. <b>POOL TABLE</b>

Suppose we have 15 different

tables in ABAP Dictionary

and only 1 table in physcial table.

So, the data of all these 15 tables

will be stored in the 1 physical table.

(it will be stored in a raw data format,

but it will be provided to the programs

in a structured way)

This concept is called POOL.

If all these 15 tables have 10 records each,

Then,

In the poooled table there will be

15 x 10 = 150 records.

Each record of the physical table

contains,

name of the table

Primary key value of the table

so that to identify the record.

Table pools (pools) and table clusters (clusters) are special table types in the ABAP Dictionary. The data from several different tables can be stored together in a table pool or table cluster. Tables assigned to a table pool or table cluster are referred to as pooled tables or cluster tables.

A table pool or table cluster should be used exclusively for storing internal control information (screen sequences, program parameters, temporary data, continuous texts such as documentation). Data of commercial relevance is usually stored in transparent tables.

Table Pool

A table in the database in which all records from the pooled tables assigned to the table pool are stored corresponds to a table pool.

The definition of a pool consists essentially of two key fields (Tabname and Varkey) and a long argument field (Vardata).

Read only

Former Member
0 Likes
940

Hi,

1. what is pool table?

Types-Pool contains the TYPE declaration which is global and can be used across any program.Once we write

TYPE-POOL : <pool name>

It will include all declariuon in the program and we can refer those.

There are many standard types pool provided by SAP

like SLIS,ICON,ABAP etc.

However also,we can create our own Type-Pool using

SE11->Type Group

2. what is slis table & what is the advantage?

SLIS is nothing but declartaions which we use in our program tata what and how to diplay list.

To use SLIS we wite it in the program as

TYPE-POOL :SLIS.

3. Why have to use the slis in ALV?

SLIS is used to to build the structure of list that how tand what fields we have to display.

We can dipaly the layout as per requirement using SLIS.

There are lot of oter advandages while diplaying the list in ALV which you can undrstand as you slowly start exploring all the properties of SLIS.

Thanks,

Pramod