‎2008 Jan 06 9:32 PM
hi,
i have to take care in program that have dump(not mine), what happen is that the program doing sum to field type char10 but it sum fields (10 fields) of curr 15.2 and when i check in the debuger (the fields of doing sum into)i see number
like *052364588 (num with asterisk ) i dont now way the program is working like that but what can be the problem?
‎2008 Jan 07 4:25 PM
Hi,
Please try to use data type F (Floating point number) or I (Integer) for your sum calculation.
Regards,
Ferry Lianto
‎2008 Jan 06 9:43 PM
It shows the value has exceeded the sum field length of 10.
Thats the reason why you are seeing *052364588.
You have to increase the field length, such that it holds the summation value.
Hope this helps.
Vinodh Balakrishnan
‎2008 Jan 06 10:39 PM
hi,
you havev to increase the dimension of the field. from char10 to char17 or more.
bye
Marco
‎2008 Jan 07 7:25 AM
hi ,
in st22 i get this erorr what it is?
Error analysis
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
The program attempted to interpret the value "*005926427" as a number, but
since the value contravenes the rules for correct number formats,
this was not possible.
Integers are represented in ABAP using a sequence of digits and, in some
cases, a preceding sign.
The system offers the following options for displaying floating point
numbers:
[sign][mantissa]E[sign][exponent]
[sign][whole number part].[fractional part]
e.g. -12E+34, +12E-34, 12E34, 12.34
If the error occurred in one of your own programs or in an SAP program
that you modified, try to correct it yourself.
‎2008 Jan 07 7:44 AM
‎2008 Jan 07 7:49 AM
Try this.
Split <char variable> at * into <val1> ..
Now the * is removed from ur value.
Now u can use that Val1 in ur calculations.
awrd points if useful
Bhupal
‎2008 Jan 07 7:54 AM
‎2008 Jan 07 4:25 PM
Hi,
Please try to use data type F (Floating point number) or I (Integer) for your sum calculation.
Regards,
Ferry Lianto