‎2007 May 25 8:45 AM
HI Frnds,
When I am calling the function module and displaying the output the column name is displayed as field name but my requirement is to diplay the field description of that field how to do it tell me
Thanks in advance
Y.Ravikumar
‎2007 May 25 9:06 AM
Use REUSE_ALV_LIST_DISPLAY to display your output. You can use the function module output as input to this (T_outtab) and in the I_STRUCTURE_NAME provide the structure name of function module output.
Hope this helps.
Reward if it helps
Krishna
‎2007 May 25 9:06 AM
Use REUSE_ALV_LIST_DISPLAY to display your output. You can use the function module output as input to this (T_outtab) and in the I_STRUCTURE_NAME provide the structure name of function module output.
Hope this helps.
Reward if it helps
Krishna
‎2007 May 25 9:09 AM
hi,
if you are displaying using ALV.
then in fieldcatalog you can use .
d_fieldcat_wa-fieldname = 'MATNR'.
d_fieldcat_wa-seltext_l = 'material number'. * user defined fieldname.
d_fieldcat_wa-edit = 'X'.
d_fieldcat_wa-col_pos = 1.
append d_fieldcat_wa to d_fieldcat.
clear d_fieldcat_wa.
data : gd_repid like sy-repid.
gd_repid = sy-repid.
call function module reuse_alv_grid_display.
exporting.
program name = gd_repid.
t_fieldcatalog = d_fieldcat.
importing.
t_outtab = itab.
exceptions.
Reward with points if helpful.
‎2007 May 25 9:14 AM
Frnds ,
Thanks for ur replies but the task is not easy because , the function module is RFC enabled it is ZXXXX fun module the user is calling this function module from non-SAP system there he wants the output column name as field description not as field name
Thanks