2009 Aug 21 5:47 AM
Dear Experts,
in alv report for column texts,
PERFORM fcat using '1' 'KUNNR' 'customer number for the company XXXXXXXXX'.
in ouput it's displaying up to some characters like 'customer number'.
i need full text in ouput.
any inputs....
Thanks and Regards,
Thirukumaran. R
2009 Aug 21 7:03 AM
Hi Rajendran,
Chk this.. it works according to the requirement..
DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: line_fieldcat TYPE slis_fieldcat_alv.
clear line_fieldcat.
line_fieldcat-fieldname = 'WS_CHAR'.
line_fieldcat-reptext_ddic
= 'Test Field 1234567890123456789012345678901234567890'. " tkes max 55 characters
line_fieldcat-outputlen = '50'. " You can specify the width of a column
APPEND line_fieldcat TO i_fieldcat. " column.
Regards.
Dear Experts,
in alv report for column texts,
PERFORM fcat using '1' 'KUNNR' 'customer number for the company XXXXXXXXX'.
in ouput it's displaying up to some characters like 'customer number'.
i need full text in ouput.
any inputs....
Thanks and Regards,
Thirukumaran. R
2009 Aug 21 5:52 AM
Hi
You need to check the variable lenght in FORM using.......var1 var2 var3
see if the value is coming in the form or not in debugging... if not then change the variable length.
Thanks
Viquar Iqbal
2009 Aug 21 5:55 AM
hi i have checked in debugging mode, there also it's coming up to some characters only, i need full text to be displayed in ouputt.
Thanks and Regards,
Thirukumaran. R
2009 Aug 21 5:58 AM
hi i have changed to seltext_l there up to 30 characters are displaying..... i need more characters in ouput.
Thanks and Regards,
Thirukumaran. R
2009 Aug 21 6:17 AM
2009 Aug 21 5:59 AM
Hi,
Use in you field cat 'SELTEXT_L'
WA_FCAT-SELTEXT_L = 'Vendor Name for an example'.
Thanks,
Krishna
2009 Aug 21 6:12 AM
Hi,
use this field catalog seltext_l (long field label)
for example:
X_FIELDCAT-SELTEXT_M = 'the name u want'.
with regards,
Mamta Kumari
2009 Aug 21 6:19 AM
HI,
Try with the following options..
data: i_fieldcat type slis_t_fieldcat_alv.
data: line_fieldcat type slis_fieldcat_alv.
line_fieldcat-fieldname = ' '.
line_fieldname-ddictxt = 'L'.
line_fieldname-reptext_ddic-FIELDNAME = ' '.
line_fieldname-reptext_ddic-REPTEXT = 'customer number for the company XXXXXXXXX'.
append line_fieldcat to i_fieldcat.
hope it helps.....
Regards.
2009 Aug 21 7:03 AM
Hi Rajendran,
Chk this.. it works according to the requirement..
DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: line_fieldcat TYPE slis_fieldcat_alv.
clear line_fieldcat.
line_fieldcat-fieldname = 'WS_CHAR'.
line_fieldcat-reptext_ddic
= 'Test Field 1234567890123456789012345678901234567890'. " tkes max 55 characters
line_fieldcat-outputlen = '50'. " You can specify the width of a column
APPEND line_fieldcat TO i_fieldcat. " column.
Regards.
2009 Aug 21 7:36 AM
Hi,
Move space to fieldcat-optimize_width parameter.
Regards,
Raghavendra
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |