Skip to Content
0
Jun 09, 2009 at 12:06 PM

Set internal length for field without reference in FM REUSE_ALV_GRID_DISPLA

30 Views

Hi Abapers,

Currently I use FM REUSE_ALV_GRID_DISPLAYfor my report. The problem is, my internal table contain some field which have no reference to any data dictionary.

This part of my code when set that kind of field:

  • z_field_cat-ref_tabname = ''.

  • z_field_cat-ref_fieldname = ''.

z_field_cat-tabname = 'T_OUT_FINAL'.

z_field_cat-fieldname = 'ARKTX'.

z_field_cat-col_pos = z_colpos.

z_field_cat-hotspot = 'X'.

z_field_cat-outputlen = '200'.

z_field_cat-seltext_m = 'Comments'.

z_field_cat-ddictxt = 'M'.

*{ INSERT SRPK900238 1

z_field_cat- = 'char'.

z_field_cat-ddic_outputlen = '5'.

z_field_cat-intlen = '5'.