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
9,357

WHAT IS THE USE OF TYPE-POOLS : SLIS

WHAT IS THE USE OF TYPE-POOLS : SLIS

7 REPLIES 7
Read only

Former Member
0 Likes
3,387

Hi,

TYPE-POOLS: SLIS..Contains all the type declarations required for the ALV..

Example - SLIS_T_FIELDCAT_ALV is the table type for field catalog..

Thanks,

Naren

Read only

Former Member
0 Likes
3,387

Hi,

It has definitions of some structures that ar eused in ALV listing.

You can set the appropriate property based upon your requirement.

Regards

Subramanian

Read only

Former Member
0 Likes
3,387

Hi,

Type Pool SLIS contains the data types used for ALV programming.

for example check the data type for Field Catalog in SLIS.

TYPES: BEGIN OF SLIS_FIELDCAT_MAIN0,

ROW_POS LIKE SY-CUROW, " output in row

COL_POS LIKE SY-CUCOL, " position of the column

FIELDNAME TYPE SLIS_FIELDNAME,

TABNAME TYPE SLIS_TABNAME,

CURRENCY(5) TYPE C,

CFIELDNAME TYPE SLIS_FIELDNAME, " field with currency unit

CTABNAME TYPE SLIS_TABNAME, " and table

IFIELDNAME TYPE SLIS_FIELDNAME, " initial column

QUANTITY(3) TYPE C,

QFIELDNAME TYPE SLIS_FIELDNAME, " field with quantity unit

QTABNAME TYPE SLIS_TABNAME, " and table

ROUND TYPE I, " round in write statement

EXPONENT(3) TYPE C, " exponent for floats

KEY(1) TYPE C, " column with key-color

ICON(1) TYPE C, " as icon

SYMBOL(1) TYPE C, " as symbol

CHECKBOX(1) TYPE C, " as checkbox

JUST(1) TYPE C, " (R)ight (L)eft (C)ent.

LZERO(1) TYPE C, " leading zero

NO_SIGN(1) TYPE C, " write no-sign

NO_ZERO(1) TYPE C, " write no-zero

NO_CONVEXT(1) TYPE C,

EDIT_MASK TYPE SLIS_EDIT_MASK, "

EMPHASIZE(4) TYPE C, " emphasize

FIX_COLUMN(1) TYPE C, " Spalte fixieren

DO_SUM(1) TYPE C, " sum up

NO_OUT(1) TYPE C, " (O)blig.(X)no out

TECH(1) TYPE C, " technical field

OUTPUTLEN LIKE DD03P-OUTPUTLEN,

OFFSET TYPE DD03P-OUTPUTLEN, " offset

SELTEXT_L LIKE DD03P-SCRTEXT_L, " long key word

SELTEXT_M LIKE DD03P-SCRTEXT_M, " middle key word

SELTEXT_S LIKE DD03P-SCRTEXT_S, " short key word

DDICTXT(1) TYPE C, " (S)hort (M)iddle (L)ong

ROLLNAME LIKE DD03P-ROLLNAME,

DATATYPE LIKE DD03P-DATATYPE,

INTTYPE LIKE DD03P-INTTYPE,

INTLEN LIKE DD03P-INTLEN,

LOWERCASE LIKE DD03P-LOWERCASE,

END OF SLIS_FIELDCAT_MAIN0.

TYPES: BEGIN OF SLIS_FIELDCAT_MAIN1,

REF_FIELDNAME LIKE DD03P-FIELDNAME,

REF_TABNAME LIKE DD03P-TABNAME,

ROUNDFIELDNAME TYPE SLIS_FIELDNAME,

ROUNDTABNAME TYPE SLIS_TABNAME,

DECIMALSFIELDNAME TYPE SLIS_FIELDNAME,

DECIMALSTABNAME TYPE SLIS_TABNAME,

DECIMALS_OUT(6) TYPE C, " decimals in write statement

TEXT_FIELDNAME TYPE SLIS_FIELDNAME,

REPTEXT_DDIC LIKE DD03P-REPTEXT, " heading (ddic)

DDIC_OUTPUTLEN LIKE DD03P-OUTPUTLEN,

END OF SLIS_FIELDCAT_MAIN1.

TYPES: BEGIN OF SLIS_FIELDCAT_MAIN.

INCLUDE TYPE SLIS_FIELDCAT_MAIN0.

INCLUDE TYPE SLIS_FIELDCAT_MAIN1.

TYPES: END OF SLIS_FIELDCAT_MAIN.

Regards,

Vara

Read only

SantoshKallem
Active Contributor
0 Likes
3,387

search with 'SLIS' in this forum. u will get a lot of information

Message was edited by:

santhosh reddy

Read only

Former Member
0 Likes
3,387

The data types and constants of the type group are visible as of this statement in the current context.

So, after the declarations of TYPE-POOLS : SLIS you will be able to use ALV in your program.

Read only

0 Likes
3,387

Hi Thiago,

Please have a look on to the date on which this question is posted. (way back in 2007) When you try to answer old threads, the thread pops up as new in the ABAP discussion forum.

Regards,

Philip.

Read only

Former Member
0 Likes
3,387

You can use SLIS for building Field Catalog. Thereby you have 2 lines for build not all catalog inserted with "hands".