04-08-2009 3:19 AM
Hi,
Is there any parameter that can be set so that the columns of a custom table control be optimized? Like in standard ALV there is CWIDTH_OPT which can be set.
04-08-2009 3:21 AM
Hi,
You set the desired length (Visible or Defined Length) for any column of a custom table control by going to layout of the screen
Thanks
Venki
04-08-2009 3:21 AM
Hi,
You set the desired length (Visible or Defined Length) for any column of a custom table control by going to layout of the screen
Thanks
Venki
04-08-2009 3:35 AM
Hi,
Set the column width in the properties of that particular column of the table control.
and also in the declaration.
Invoice amount
LT_FIELDCAT-COL_POS = 7.
LT_FIELDCAT-FIELDNAME = 'DMBTR'.
LT_FIELDCAT-TABNAME = 'lt_update'.
LT_FIELDCAT-REF_FIELDNAME = ' '.
LT_FIELDCAT-REF_TABNAME = ' '.
LT_FIELDCAT-DATATYPE = 'CURR'.
LT_FIELDCAT-OUTPUTLEN = 22.
LT_FIELDCAT-SELTEXT_M = 'Invoice Amount'.
APPEND LT_FIELDCAT.
Regards,
Alex