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: 

modify a report

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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