03-09-2013 8:55 AM
Hi i am using REUSE_ALV_FIELDCATALOG_MERGE for generating field catalog for the internal table output is basically a structure. so for the input values
i have provided both table and structure as below.
I_INTERNAL_TABNAME = 'FKKBIXBIT0_IT_DISP_TAB'
I_STRUCTURE_NAME = 'FKKBIXBIT0_IT_DISP' "
to use the field catalog for the OOPS i have moved the field catalog to variable type SLIS_FIELDCAT_ALV. When SET_TABLE_FOR_FIRST_DISPLAY is used the internal table data appears in output but column names were not displayed. Please guide me.
Thanks,
Ganesh.
03-09-2013 7:03 PM
You are mixing structures of old SLIS and new structures of OO/LVC ALV, that will not always match, just check structure definitions. Either use only one family of tools, or use LVC_TRANSFER* FM to convert between two families.
Regards,
Raymond
03-10-2013 8:26 AM
Hello Ganesh,
As column name is not coming, the name is missing in field catalog. So first check in debugging whether it is coming in field catalog or not. If not then check type of your ''i_internal_tabname' which you are passing to REUSE_ALV_FIELDCATALOG_MERGE and using it further for SET_TABLE_FOR_FIRST_DISPLAY.
see this,
for REUSE_ALV_FIELDCATALOG_MERGE
i_internal_tabname = " slis_tabname Output table name
* i_structure_name = " dd02l-tabname Structure name (structure, table, view)
for SET_TABLE_FOR_FIRST_DISPLAY
I_STRUCTURE_NAME = < string of type DD02L-TABNAME>
IT_OUTTAB = < internal table>
IT_FIELDCATALOG = < internal table of type LVC_T_FCAT>
Regards,
Sudhir Kothavale.