02-27-2007 11:51 AM
Hi All,
itab- amt(18)
upload the amount data from Excel file into itab-amt
while process the internal table remove the one dcimal point
then we wrote the code like this
data : V_amt1(9) type P Decimals 5
loop at itab.
v_amt1 = itab-amt.
endloop.
while execution program goes to dump
i think problem in type conflict
how to correct it, plz send the suggetion or sample code
Thanks
SEK
02-27-2007 11:54 AM
Hi,
What is the type of the field itab-amt. Do let us know its type.
Regards,
Sesh
02-27-2007 12:17 PM
02-27-2007 11:54 AM
See the length, u r passing a 18 length variable into a 14 lenght var.
dont specify lenght for P
<b>DATA: v_amt TYPE P decimals 5.</b>
Reward if tjis helsp.
02-27-2007 12:20 PM
iam upload data from excel into itab-amt(18) type c
oncel upload the data into itab
loop at itab.
data : v_amt(9) type p decimals 5.
move itab-amt to v_amt.
endloop.
i look forward to your reply
Thanks
SEK
02-27-2007 11:58 AM
check decimal notation of user master record and that in the uploading file