‎2009 Jan 13 8:07 AM
Hi,
In alv one of field in finaltable contanis messagetext with datatype char1024.
in fieldcatalog also i used outputlen with length '1024'.
but in alv output text is not coming completely.
Please provide me solution.
Regards,
Suresh
‎2009 Jan 13 8:47 AM
Hi Suresh,
I think it is a problem becuse of the length 1024..
There are few things you may wish to try..
1. Split the text in 4 fields and try to output..u cud try to output 1 at a time..
2. check in internal table during debugging if the text is proper or not..
revert..
‎2009 Jan 13 8:24 AM
hi
you need to set the correct text properties.just look at this documentation
http://help.sap.com/saphelp_nw04/helpdata/en/64/e7eb40c4f8712ae10000000a155106/frameset.htm
it describes the text properties that you need to set for correct text output.
hope this helps
regards
Aakash Banga
‎2009 Jan 13 8:47 AM
Hi Suresh,
I think it is a problem becuse of the length 1024..
There are few things you may wish to try..
1. Split the text in 4 fields and try to output..u cud try to output 1 at a time..
2. check in internal table during debugging if the text is proper or not..
revert..
‎2009 Jan 13 8:57 AM
Hi,
During debugging data is coming properly to internaltable.
after alv display data is turncated.
Regards,
Suresh
‎2009 Jan 13 9:02 AM
hi,
The maximum length in ALV cannot exceed 1024.you cannot declare a single
field of that length.Try to change the length and check.
‎2009 Jan 13 9:11 AM
Hi,
Now i modified datatype to char256.
still text is not coming completely.
what is the maximum length of filed in alv.
Regards,
Suresh.
‎2009 Jan 13 12:06 PM
1024 is the max length available.
How have you split the variable..
Dont put all your fields even after splitting in the display..keep them hiding and display the last one.
I suppose it should have worked.
‎2009 Jan 13 8:57 AM
Hello Suresh,
please create offset in your text variable.
OR.
DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat LIKE LINE OF it_fieldcat.
wa_fieldcat-seltext_l = 'Date of Acquisition'.
wa_fieldcat-seltext_m = 'Date of Acquisition'.
wa_fieldcat-seltext_s = 'Date of Acquisition'.
means you pass your text in seltext_l,seltext_m,seltext_l like above.
Have a Nice Day.
Regards,
Sujeet