09-11-2008 8:08 AM
Can you tell me the difference between type lvc_t_fcat and slis_t_fieldcat_alv?
Both are used for field catalogue so which one is better to use?
09-11-2008 8:12 AM
Hi,
the field catalog using lvc_t_fcat has some better and enhanced features over the old slis_t_fieldcat_alv.
Ideally when displayed a normal ALV using these fieldcatalogs does not have any difference...
You can more enhanced features of ALV using lvc_t_fcat but these cannot be done using slis_t_fieldcat_alv
For using lvc_t_fcat, you require a screen and a container area...
Based on the requirement, use the fieldcatalogs.
Also slis_t_fieldcat_alv does not have any classes or methods but the other has so..(objecct oriented)
Regards
Sk
09-11-2008 8:10 AM
This is discussed . Just check here...
https://forums.sdn.sap.com/click.jspa?searchID=16158932&messageID=6028482
09-11-2008 8:12 AM
Hi,
the field catalog using lvc_t_fcat has some better and enhanced features over the old slis_t_fieldcat_alv.
Ideally when displayed a normal ALV using these fieldcatalogs does not have any difference...
You can more enhanced features of ALV using lvc_t_fcat but these cannot be done using slis_t_fieldcat_alv
For using lvc_t_fcat, you require a screen and a container area...
Based on the requirement, use the fieldcatalogs.
Also slis_t_fieldcat_alv does not have any classes or methods but the other has so..(objecct oriented)
Regards
Sk
09-11-2008 8:17 AM
hi,
SLIS_T_FIELDCAT_ALV is used with alv function module.
LVC_T_FCAT is used with OO ALV .
They are Different in structures, but they both have same Functionalities in most of the cases.
regards,
preet
09-11-2008 9:31 AM
you all so can use LVC_T_FCAT and call function 'REUSE_ALV_GRID_DISPLAY_LVC'