09-18-2007 8:51 AM
Hi,
I have got a runtime error CONVT_NO_NUMBER with short dump analysis as
" <u><i>unable to interpret * as number</i></u>" .The code snipplet is as follows:
CONCATENATE 'LIPSD-G_LFIMG(' c ')' INTO wc_item5.
l3 = i_tab2_zsd_autoconsflow-lfimg.
WRITE l3 TO l4.
PERFORM dynfield USING wc_item5 l4.
<u>The form part is :</u>
FORM dynfield USING value(fnam)
value(fval).
CHECK NOT fval IS INITIAL.
wt_bdcdata-fnam = fnam.
wt_bdcdata-fval = fval.
APPEND wt_bdcdata.
CLEAR wt_bdcdata.
ENDFORM.
pls mention how to resolve the same.
09-18-2007 8:53 AM
Hi,
check your definition for
l3 , I4
and i_tab2_zsd_autoconsflow-lfimg.
All must be from a number-type.
Regards
Nicole
09-18-2007 8:55 AM
HI,
While concatenating all the fields should be of charachter type. So change this.
For the below I3 and I4 should be charachter type.
WRITE l3 TO l4.
This error is mainly due to wrong declaration of fields and wrong usage.
<b>Reward if helpful.</b>
09-18-2007 8:58 AM
Hi,
It seems that some numeric field is holding a value greater than it's length specified,hence it's holding a '*' for the truncated digits.This could be the reason for the error.
To find out the exact line where the issue is, goto transaction ST22(dump analysis), choose the session for your dump and check for the program lines where ' ->' this arrow mark appears.
The line where the -> mark appears should be the reason for the dump.By looking at the corresponding line, we can get the name of the field.
Hope this helps....
In case of any clarifications,please get back.
Regards,
Dilli
09-18-2007 9:05 AM
Hi Debarshi,
CONVT_NO_NUMBER:you will get this error when the variable is used to hold floating values and the value assigned will be of character type.
This is mainly due to wrong value being assigned .
i think you will be getting this error at wt_bdcdata-fval = fval.
while assigning the values catch the exception.
<b>CATCH SYSTEM-EXCEPTIONS CONVT_NO_NUMBER = 5.</b>
Required coding.
<b>ENDCATCH.</b>
Revert bakc if u need further help.