‎2006 Jul 24 6:14 AM
hello sir,
slis_fieldcat_alv
slis_T_fieldcat_alv
what it means, what is the difference between those two
i am expecting tour replay
‎2006 Jul 24 6:32 AM
slis_fieldcat_alv is a structure
slis_t_fieldcat_alv is internal table which has structure of slis_fieldcat_alv
goto se11 -> type group : SLIS
find : slis_fieldcat_alv then slis_T_fieldcat_alv.
<b>Addition</b> :
<u>slis_T_fieldcat_alv</u>
1. encapsulate slis_fieldcat_alv structure.
2. this is the one that you should pass when you call REUSE_ALV_LIST_DISPLAY (one of function to build alv report)
slis_fieldcat_alv = it's a structure for internal use to build <b>slis_T_fieldcat_alv</b>.
regards,
sandi
Message was edited by: Sandi Wijaya
‎2006 Jul 24 7:11 AM
Hi,
Type-pools: Type groups or type pools are created using the ABAP Dictionary tool and are introduced with the TYPE-POOL statement. They may not contain any screens of their own or any processing blocks. Type groups are exclusively used as containers for global data types which can be made visible in any ABAP program using the TYPE-POOLS statement.
Type-pools SLIS is used with the creation of ALV grid using function modules.
REUSE_ALV*
slis_fieldcat_alv is a structure
and slis_t_fieldcat_alv is an internal table of type slis_fieldcat_alv
Hope the above explanation helps.
Regards,
Kinshuk
‎2006 Jul 24 7:15 AM
Hi selva,
1. slis_fieldcat_alv
slis_T_fieldcat_alv
ALV type pools,
uses
INTERNAL TABLES <b>WITHOUT</b> HEADER LINES.
Hence, slis_T_fieldcat_alv
is a internal table type.
2. For working on this internal tables (without header line),
we need a CORRESPONDING - WORK AREA
which is slis_fieldcat_alv
regards,
amit m.
‎2006 Jul 24 7:53 AM
slis_fieldcat_alv
---structure
slis_T_fieldcat_alv
---table
u have to do the changes using structure and have to append this to table.
In the ALV_Display u have to use the fieldcat table..