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

ALV Doubt

Former Member
0 Likes
751

what d/w SLIS_FIELDCAT_ALV , SLIS_T_FIELDCAT_ALV

regards,anji

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
698

Hi,

The only difference is that one is field catalog internal table and other one is structure of the field catalog.

SLIS_T_FIELDCAT_ALV --> field catalog internal table

SLIS_FIELDCAT_ALV --> structure of field catlog

Please reward points.

what d/w SLIS_FIELDCAT_ALV , SLIS_T_FIELDCAT_ALV

regards,anji

5 REPLIES 5
Read only

Former Member
0 Likes
698

First one is a Structure

Second one is a TABLE.....

Read only

Former Member
0 Likes
698

In SLIS,

types: begin of slis_fieldcat_alv.

include type slis_fieldcat_main.

include type slis_fieldcat_alv_spec.

types: end of slis_fieldcat_alv.

<b>types: slis_t_fieldcat_alv type slis_fieldcat_alv occurs 1.</b>

Read only

Former Member
0 Likes
698

this is an internal table : <b>SLIS_T_FIELDCAT_ALV</b>

this is not an internal table : <b>SLIS_FIELDCAT_ALV</b> (with out header line)

Field catalog containing descriptions of the list output fields (usually a subset of the internal output table fields).

<b>A field catalog is required for every ALV list output.</b>

The field catalog for the output table is built-up in the caller's coding. The build-up can be completely or partially automated by calling the REUSE_ALV_FIELDCATALOG_MERGE module

and <b>slis_fieldcat_alv</b>.contains...check in ABAP program

types: begin of slis_fieldcat_alv.

include type slis_fieldcat_main.

include type slis_fieldcat_alv_spec.

types: end of slis_fieldcat_alv.

types: slis_t_fieldcat_alv type slis_fieldcat_alv occurs 1.

reward if it helps u

Vijay Pawar

Read only

Former Member
0 Likes
699

Hi,

The only difference is that one is field catalog internal table and other one is structure of the field catalog.

SLIS_T_FIELDCAT_ALV --> field catalog internal table

SLIS_FIELDCAT_ALV --> structure of field catlog

Please reward points.

Read only

Former Member
0 Likes
698

hi,

SLIS_FIELDCAT_ALV , SLIS_T_FIELDCAT_ALV..

in the first one the structure of fieldcat gets assigned to the internal table n in the second one the table is getting assigned...

if u feel u have got ur answer dont forget to reward with points. regards,

madhuri