09-04-2015 5:17 PM
Hi experts,
In ALV output, there are two columns with header names says 'Manager as on (Key date1)' and 'Manager as on (Key date2)'.
But they are not appearing full text. It displays only 'Manager as on (Key da' .
Could you please help me regarding this issue.
Best regards,
Narasimha.
09-04-2015 5:40 PM
Hi Narasimha,
Look at the SCRTEXT_x and COLTEXT fields in LVC_S_FCAT. These are the fields where column headings come from in ALV grid. ALV will choose a longer or shorter column heading, depending on how wide the column is. It looks like you're getting the 20 character SCRTEXT_M field (since the truncated heading you see is 20 long). You should fill each of these heading fields with a text that fits within its defined length to avoid getting arbitrarily truncated like this.
Jim
09-04-2015 5:40 PM
Hi Narasimha,
Look at the SCRTEXT_x and COLTEXT fields in LVC_S_FCAT. These are the fields where column headings come from in ALV grid. ALV will choose a longer or shorter column heading, depending on how wide the column is. It looks like you're getting the 20 character SCRTEXT_M field (since the truncated heading you see is 20 long). You should fill each of these heading fields with a text that fits within its defined length to avoid getting arbitrarily truncated like this.
Jim
09-04-2015 5:47 PM
Hi Jim,
Problem solved.. I m using seltext_l instead seltext_m field .
Best regards,
Narasimha.
09-04-2015 5:53 PM
Hi,
Check the length of the field, it may be the reason .
Hope it helpful,
Regards,
Venkat.
09-04-2015 5:56 PM
In that case the field names are SELTEXT_L, SELTEXT_M, and SELTEXT_S. You can try setting the DDICTXT value in the field catalog to "L", I think that may force ALV to always use the long text. Or set the OUTPUTLEN value high and avoid column width optimizing in order to for the column to be wide enough that ALV will choose the long version anywa.