Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how can i change field width in ALV report

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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.

0 Kudos

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.

Former Member
0 Kudos

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