10-15-2008 5:54 AM
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
10-15-2008 5:59 AM
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.
10-15-2008 6:00 AM
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
10-15-2008 6:01 AM
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.
10-15-2008 6:01 AM
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 -
10-15-2008 6:11 AM
10-15-2008 6:03 AM
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
10-15-2008 6:04 AM
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
10-21-2008 8:15 AM