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: 

regarding type mismatch

Former Member
0 Kudos

hey guys,

I have internal table with field as below

<b>Data..Begin of itab,

zlotmb(13) TYPE C,

END of itab.</b>

Now i want to save the records in itab addon table

<b>ZADDONTABLE,</b>where my field zlotmb is declared as <b>DEC 13_3</b> domain.

Its giving type mismatch while try to save data into table.

How to resolve this..pls guide me.

ambichan.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Move the char value to another field of dec 13_3 & save that in db

ZADDONTABLE-zlotmb = itab-zlotmb.

insert/update operation can be made here.

regds

gv

2 REPLIES 2

Former Member
0 Kudos

Move the char value to another field of dec 13_3 & save that in db

ZADDONTABLE-zlotmb = itab-zlotmb.

insert/update operation can be made here.

regds

gv

Former Member
0 Kudos

Hi,

Already replied reg this in another thread right?

K, U have declared in itab zlotmb(13) TYPE C and u r trying to save Character field to decimals field.

Can u paste the part of the code where u r facing the problem.