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: 

type pool : slis

former_member676613
Participant
0 Kudos

Hi All,

Please help, i need to know the difference between slis_t_fieldcat_alv and slis_fieldcat_alv. What exactly the function of both.

Thanks,

Chandresh

8 REPLIES 8

Former Member
0 Kudos

Hi Chandresh,

Check out this link it contains the information you need.

[http://www.sap-img.com/abap/what-is-slis-in-alv.htm]

Regards,

Amit.

Former Member
0 Kudos

Hi,

slis_t_fieldcat_alv is a Table type.

and slis_fieldcat_alv is a Structure....

If you dec a var in your prog wrt slis_t_fieldcat_alv ...you will get a Internal Table......whereas with other one you will get a structure

Former Member
0 Kudos

Hi..

difference between slis_t_fieldcat_alv and slis_fieldcat_alv.

first will create a internal table which can have various entries while second will create a structure or work area,it can have only one entry.

Former Member
0 Kudos

Hi Chandresh Bajpai,

SLIS_FIELDCAT_ALV is a LINE TYPE.

SLIS_T_FIELDCAT_ALV is a TABLE TYPE. Because it has

OCCURS addition.

Regards,

R.Nagarajan.

-


We can -


0 Kudos

Thanks,

Chandresh

Former Member
0 Kudos

Hi,

When you are using REUSE_ALV Functions except RESUE_ALV_GRID_DSPLAY_LVC function module all needs

SLIS_T_FIELDCAT_ALV.

if you are using OO ALV and LVC function then you have to use LVC_T_FCAT.

There is a case where you can use both check this

https://wiki.sdn.sap.com/wiki/display/Snippets/CreatingLVCfieldcatalogUsingInternaltablethroughSLISfieldcatalog

Former Member
0 Kudos

slis_t_fieldcat_alv is a table type and slis_fieldcat_alv is a structure.

when u declare a data variable using slis_t_fieldcat_alv, it will create an internal table whereas slis_fieldcat_alv will create a work area.

DATA: gt_fcat TYPE SLIS_T_FIELDCAT_ALV, "Internal Table
          gs_fcat TYPE SLIS_FIELDCAT_ALV. "Work Area

Regards

Sathar

former_member676613
Participant
0 Kudos

Anserwed