Skip to Content
avatar image
Former Member

type pool : slis

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Oct 15, 2008 at 04: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 05: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 05: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 05: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 -


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 05: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 05: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2008 at 07:15 AM

    Anserwed

    Add comment
    10|10000 characters needed characters exceeded