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

How to clear Mapping Error Bdocs

Hi,

We are getting Mapping error bdcos in SMW01 if there is an error while data is downloading from ECC to CRM. We are fixing the issue by looking at the BDOC error description. We are unable to re-process these error bdocs after fixing the issue as it is not allowing. To fix the issue we are re-processing the corresponding queue in SMQ2 and queues are processing successfully. the problem is these error bdocs are sitting in data base and we want to clear them.

Can any one please let me know how we can re-process these kind of mapping error bdocs?

Thanks,

Rajinikanth

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 13, 2009 at 04:15 AM

    Mapping Error BDOCs have the status E08. The BDOC is incomplete state, so the BDOC cannot be processed. In this case what you have done(reprocessing the queue ) is right. Once the queue is processed, a new BDOC is formed, so you can delete the bdoc in smw01, so the bdoc gets F03(Set to Processed).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 03, 2009 at 02:48 AM

    Hello Rajinikanth,

    What data you are trying to download from ECC to CRM?

    If you can tell me the mapping error which you can see in txn:SMW01 , then I can check further.

    Best Regards,

    Shanthala Kudva.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2009 at 07:22 PM

    Hi ,

    Below logic may be useful.

    SELECT bdoc_id

    bdoc_type

    bdoc_state

    snd_date

    snd_time

    qname

    INTO TABLE lt_inque

    FROM smw3_bdoc

    WHERE bdoc_type IN s_bdoc

    AND qname IN s_qname

    AND bdoc_state IN r_err.(r_err = E01,E02.....E09)

    LOOP AT lt_inque INTO ls_inque.

    DATA:lv_bdoc_id TYPE smog_tid.

    CLEAR lv_bdoc_id.

    lv_bdoc_id = ls_inque-bdoc_id.

    CALL METHOD cl_smw_flow=>restart_processing

    EXPORTING

    bdoc_id = lv_bdoc_id

    EXCEPTIONS

    bdoc_not_found = 1

    bdoc_locked = 2

    bdoc_was_processed = 3

    internal_error = 4

    OTHERS = 5.

    ENDLOOP.

    Thank you,

    Gangadhar.S

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 13, 2009 at 09:58 AM

    The batch job MW_REORG_300 will delete the error bdocs. Scheduled this batch job and all mapping error bdocs got deleted.

    Thanks,

    Rajinikanth G

    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.