07-19-2007 5:33 AM
hi all i have a requirement where i need to modify a report,
where i have to use gui_upload instead of ws_upload,
here in the internal table i have a feild naming anz_erl(2) .
which after uploading is moved like ths--> MOVE inttab-anz_erl TO anz_erl.
the feild where it is moved is declared as integer ie anz_erl type i.
and my flat file contains the value of anz_erl as character and so the program is
throwing a dump , convt_no_number
can you please tell me a remedy of thhs? i cnt change the global declaration
high points will be given
thnkx
bhanu
07-19-2007 5:40 AM
HI,
first pass it to a numerical type of variable and then pass it to integer type.
see this sample code.
data:str(10) value '1sd2sds23',num(10) type n,int type i.
write:/ str.
num = str.
write:/ num.
int = num.
write:/ int.
rgds,
bharat.
07-19-2007 5:40 AM
HI,
first pass it to a numerical type of variable and then pass it to integer type.
see this sample code.
data:str(10) value '1sd2sds23',num(10) type n,int type i.
write:/ str.
num = str.
write:/ num.
int = num.
write:/ int.
rgds,
bharat.
07-19-2007 5:47 AM
hi bhanu,
try like this,
first pass it to a numerical type of variable and then pass it to integer type.
data:str(10) value '1sd2sd',num(10) type n,int type i.
write:/12 str.
num = str.
write:/20 num.
int = num.
write:/40 int.
rgds,
Suresh.A