2009 May 06 9:06 PM
Hi ,.
I have a field which is referenced to the data element VGWRT( Datat type QUAN , length 9 , decimla places 3 ) . In run time this field is getting a very huge value and giving the abap dump saying the filed overflow .
How can i avoid this problem?
Thanks in adavnce ,
dharma .
Hi ,.
I have a field which is referenced to the data element VGWRT( Datat type QUAN , length 9 , decimla places 3 ) . In run time this field is getting a very huge value and giving the abap dump saying the filed overflow .
How can i avoid this problem?
Thanks in adavnce ,
dharma .
2009 May 06 9:09 PM
Total Posts: 79
Total Questions: 52 (43 unresolved)
How about cleaning up your old posts?
Rob
2009 May 06 9:44 PM
Dharma,
You will have to first decide what you want your program to do and then ask how that can be accomplished.
You have a case where the field is 000000.000 and a value 1234567890.12345. How can we tell you what you should do?
Can you change the field to accommodate the value? If not, your only option is to ask your user or functional support person to tell what to do in that situation.
2009 May 07 4:25 AM
Hi,
Refer to another dataelement whose length is greater than VGWRT.
2009 May 07 6:26 AM
there is a possibility that, it is overflowing the length only temperorily. i.e. only while u r doing some calculations, but final value is going to be within limit. If this is the case then u can use some temp variable of domain similar to ABI_QTTY & move final value to existing field.
second possibility is you are using smaller Unit of measure. In that case you conver to larger UOM & bring value within limit of length 9.