11-16-2007 12:59 AM
hi,
if we increase the length of field using <b>outputlen</b> with fieldcatalog.
if i do it that length is applicable for data as well as for text.......
example:
balance(17).
but with this balance field i want to display amount more than 17 characters....
is it possible with ouputlen option of fieldcatalog........
11-16-2007 1:01 AM
Yes,
You can do it with the OUTPUTLEN.
FCAT-OUTPUTLEN = 25.
Regards,
Naimesh Patel
11-16-2007 1:05 AM
Hi Maahi,
OUTPUTLEN just increase the display length. You can not display amount more than 17 characters as the varibale itself can't store that.
Regards,
Atish
11-16-2007 1:08 AM
how to solve this problem........
i have to display more than 17 characters.........
is there any solution to handle this suitation...
11-16-2007 1:10 AM
Increase the length of the variable itself. It is just simple if the variable is defined to store only 17 characters how can it will store 18 character value. The only way is change the variable defination.
Regards,
Atish
11-16-2007 1:11 AM
move that field to some bigger variable. and display that bigger variable.
Say,
data: amt(32) type p decimals 2.
than
itab-amt = itab-balance.
modify Itab
Dispaly itab-AMT instead of the itab-BALANCE.
Regards,
Naimesh Patel
11-16-2007 1:15 AM
hi when i tried to display with alv grid display it is displaying.
but i need to use only alv list display...........
11-16-2007 1:17 AM
For that BALANCE you need to set the OUTPUTLEN = 25.
Regards,
Naimesh Patel