Application Development 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: 

REUSE_ALV_FIELDCATALOG_MERGE column name not displayed

Former Member
0 Kudos

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.



2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.