04-11-2009 8:59 AM
hello,
i have to modify vendor payment list. it is a ALv report
proble is that when i gave vendor acc range for any month (range of posting date) it shows list,
but for february it show run time error
error description- the resulting values are too large for the designated field.
for posting dates 1.02.2009 to 25.02.09 it shows list. but when i gave posting date after 25 it doesnt show list.
just i cant understand how to solve it.
thanks in advance,
Anuradha.
04-11-2009 9:14 AM
HI,
If you are showing any amount fields in the alv..check those amount fields and increase the length of the amount fields...you can over come the short dump.
Amount value in these fields exceeding the defined length.
04-11-2009 10:31 AM
hi,
there is one it table gt_data
and it is of type fagl_s_rfkepl00_list1( i.e. Output Structure for RDFEPL00)
and from that table WRSHB and DMSHB field are taken
and their length r 13 and 2 decimal places.
i gave ref_fieldname = mbew and ref_tabname = verpr but it doesnt works
what can i do?
anuradha.
04-11-2009 9:48 AM
Hi...
Best option is first deside which format you want to put in that date field...
then before filling internal table do one thing format that date field and then add into ur internal table which u later will use to show in ALV Grid Report...
Example...Suppose you want DD.MM.YYYY
then use
concatenate Fieldname0(2) Fieldname2(2) Fieldname+4(4) into Fieldname...
This way you can format the date in any format with proper logic. and ur problem getting solved
Regards,
Chintan