11-16-2007 12:30 AM
hi experts,
i have a small doubt in alv.
In fieldcat i have one field called amount and am defining its length 19.
but actual its length in database is 14.when i tried to display the this amount field using reuse_alv_list_display the data in amount field is showing only 14 digits,but i need to display its total length(even if it is greater than database length).........
correct answers rewarded with maximum points????????????
11-16-2007 12:34 AM
11-16-2007 12:35 AM
Hi
Check while preparing Fieldcatalog you are giving length 19 to this amount fields .
For this u have a option of output length in fieldcatalog .
Try this .
Hope this helps .
Praveen
Message was edited by:
praveen parasiya
11-16-2007 12:38 AM
in filedcatalog
wa_filedfat-outputlen = 19.
if i increase the length in fieldcatalog level whether this length applicable for data and as well as for text of that field.......... or its is applicable to text of field???????
11-16-2007 12:40 AM
field length is not in database.......
it is from some user defined structure...
using this structure am try to display the amount.........
11-16-2007 1:07 AM
Hi maahi,
It is just the display length. It will not be applicable to data.
Regards,
Atish
11-16-2007 12:36 AM
But if the database doesn't contains the values more than 14 digits how will you get the values like that?
Are you doing some calucalation which can lead to more than 14 digits ?
Regards,
Naimesh Patel
11-16-2007 12:41 AM
I guess that in 19 spaces you have chance to:
3 thousands separators
1 comma for decimals
1 sign
14 digits
Ex: 123.456.789.012,34-
could be...