Skip to Content
author's profile photo Former Member
Former Member

regarding type mismatch

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2005 at 12:53 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 26, 2005 at 03:31 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.