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

mismatch

Hi

I have 2 selects

select xblnr..

select belnr.. ..for all entries of i_xblnr

where belnr = i_xblnr-xblnr.

iam getting error type mismatch ,bcz iam using for all entries

How can i avoid this error?

Any conversion exit fm??

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 01:12 PM

    hi,

    It might be the type / length mismatch, when you assign / compare the data the source and target strctures should be the same. Just check the For all entries internal table and second where condition fields...so that you will come to know the exact mismatch...

    dont forget to check the internal table number of lines before you use 'For all entries.'

    regards

    • Dj

    reward for all useful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 01:09 PM

    try FM:- 'CONVERSION_EXIT_ALPHA_INPUT'

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 02, 2007 at 05:26 PM

    select xblnr into lv_xblnr.

    call function 'CONBERSION_EXIT_ALPHA_INPUT'

    input = lv_xblnr

    output = lv_belnr.

    append lv_belnr to i_belnr.

    select belnr ... for all entries in i_belnr

    where belnr = i_belnr-belnr.

    Type should be same.

    Regards,

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 02, 2007 at 05:31 PM

    If you are sure that XBLNR value will have the internal format of the BELNR (with leading zeros) and in the first 10 characters, then you can try

    WHERE belnr = i_xblnr-xblnr+0(10).

    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.