‎2007 Aug 27 7:26 PM
‎2007 Aug 27 7:29 PM
SLIS is a type group or type pool. All it is is a development object which contains a bunch of TYPES statements. IN this case, it contains all of the TYPEs that you would need to use when doing ALV programming. So for example, you want to have an internal table for your field catalog, then you want to use the TYPE slis_t_fieldcat_alv. So in order to use this type, you will need to "include" the type group.
Type-pools: SLIS.Now you can reference the type.
data: ifc type slis_t_fieldcat_alv..REgards,
RIch Heilman
‎2007 Aug 27 7:29 PM
SLIS is a type group or type pool. All it is is a development object which contains a bunch of TYPES statements. IN this case, it contains all of the TYPEs that you would need to use when doing ALV programming. So for example, you want to have an internal table for your field catalog, then you want to use the TYPE slis_t_fieldcat_alv. So in order to use this type, you will need to "include" the type group.
Type-pools: SLIS.Now you can reference the type.
data: ifc type slis_t_fieldcat_alv..REgards,
RIch Heilman
‎2007 Aug 28 5:15 AM
Slis type pool is a global defination of pooltypes of catalog structure, table and layout which we use in ALV reports
‎2007 Aug 28 5:17 AM
Hi,
Also there is a package with name "SLIS" where all sample ALV programs can be found.
Regards,
Sesh
‎2007 Aug 28 9:05 AM
"SLISis the type library for ALV grid.
If youll use the ALV you have to add TYPE-POOLS : SLIS. command at the beginning of your code.
Consider these :
slis_t_fieldcat_alv is containing _t_
It means that it is an internal table and slis_fieldcat_alv is header line of that.
Here is a practical example for alv grid :
Just think that you have an internal table named ITAB to show.
Step1 : First add these lines to your code :
TYPE-POOLS : SLIS.
reward points if it is usefull .....
Girish
‎2007 Aug 28 10:30 AM
TYPE-POOLS
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.
For ALV:
YOu need defined in types pool SLIS.
The reason is,
TYPE-POOLS SLIS.
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
The type SLIS_T_FIELDCAT_ALV is defined in type pools SLIS.
-
Type-pools are just a way of modulerizing code, The code that is held in a type pools are just a bunch of TYPES statements, Then when you say TYPE-POOLS statement in your program, you can then use any TYPE which as been defined in the type-pool.
<b>Types-pools: slis.</b>
For example, you can now use any type which is defined in SLIS. The SLIS Type Pool holds all of the types used when programming the ALV grid using the REUSE function modules.
regards,
srinivas
<b>*reward for useful answers*</b>