<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How we will process error IDOC s. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297368#M789111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you know the IDoc number, you can use FM &lt;STRONG&gt;IDOC_GET_MESSAGE_ATTRIBUTE&lt;/STRONG&gt; to get the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you can go to transaction &lt;STRONG&gt;WE02/WE05&lt;/STRONG&gt; and &lt;STRONG&gt;BD87&lt;/STRONG&gt; to find the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto &lt;STRONG&gt;EDIDS&lt;/STRONG&gt; Table and u can get the idocs with errors,all the idoc with status will be stored in this table only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2008 04:43:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-22T04:43:38Z</dc:date>
    <item>
      <title>How we will process error IDOC s.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297364#M789107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body tell me how we will process the idoc when we got the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Bhaskar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 10:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297364#M789107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T10:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: How we will process error IDOC s.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297365#M789108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhaskar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can reprocess the IDoc from T Codr we19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points, if helpfull&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 12:29:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297365#M789108</guid>
      <dc:creator>piyush_mathur</dc:creator>
      <dc:date>2008-01-21T12:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: How we will process error IDOC s.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297366#M789109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GOTO--- WE19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXISTING IDOC -&amp;gt;PRESS  F8-&amp;gt; PUT YOUR POINTER ON IDOC -&amp;gt; CLICK ON -INBOUND FUNCTION MODULE -&amp;gt; THEN PRESS F4 THEN SELECT FM FROM THERE -&amp;gt; THEN U CAN SELECT -&amp;gt; IN BACKGRROUND/IN FOREGROUND OR IN FOREGROUND AFTER ERROR. &lt;/P&gt;&lt;P&gt;AFTER THESE PROCE I THING YOUR PROBLEM WILL.............&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;IF THIS THING HELP FULL TO U GIVE ME MAX REWAD POINTS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 12:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297366#M789109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T12:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: How we will process error IDOC s.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297367#M789110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body tell me how we will process the idoc when we got the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Bhaskar.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When an IDOC have some errors you need to set status for this IDOC by filling table IDOC_STATUS(           IDOC_STATUS                   STRUCTURE BDIDOCSTAT) and table RETURN_VARIABLES            (RETURN_VARIABLES              STRUCTURE BDWFRETVAR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code sample: &lt;/P&gt;&lt;P&gt; LOOP AT IDOC_CONTRL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Set IDOC status&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CLEAR IDOC_STATUS.&lt;/P&gt;&lt;P&gt;    IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.&lt;/P&gt;&lt;P&gt;    IF FLAG_ERROR_HAPPENED = C_FALSE.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-STATUS = '53'.       "OK!&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JH/02.02.98/4.0C  KPr100004993 (Anfang)&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Fill Return variables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CLEAR RETURN_VARIABLES.&lt;/P&gt;&lt;P&gt;      RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.&lt;/P&gt;&lt;P&gt;      RETURN_VARIABLES-WF_PARAM = 'Processed_IDOCs'.&lt;/P&gt;&lt;P&gt;      APPEND RETURN_VARIABLES.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Verknüpfungseintrag anlegen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      READ TABLE T_IDOC_MATNR WITH KEY DOCNUM = IDOC_CONTRL-DOCNUM&lt;/P&gt;&lt;P&gt;                              BINARY SEARCH.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        RETURN_VARIABLES-DOC_NUMBER = T_IDOC_MATNR-MATNR.&lt;/P&gt;&lt;P&gt;        RETURN_VARIABLES-WF_PARAM = 'Appl_Objects'.&lt;/P&gt;&lt;P&gt;        APPEND RETURN_VARIABLES.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JH/02.02.98/4.0C  KPr100004993 (Ende)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-MSGID = I_MERRDAT-MSGID.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-MSGTY = I_MERRDAT-MSGTY.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-MSGNO = I_MERRDAT-MSGNO.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-MSGV1 = I_MERRDAT-MSGV1.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-MSGV2 = I_MERRDAT-MSGV2.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-MSGV3 = I_MERRDAT-MSGV3.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-MSGV4 = I_MERRDAT-MSGV4.&lt;/P&gt;&lt;P&gt;      IDOC_STATUS-STATUS = '51'.       "ERROR!&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Fill Return variables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CLEAR RETURN_VARIABLES.&lt;/P&gt;&lt;P&gt;      RETURN_VARIABLES-DOC_NUMBER = IDOC_CONTRL-DOCNUM.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    return_variables-wf_param = c_wf_par_processed_idocs.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      RETURN_VARIABLES-WF_PARAM = 'Error_IDOCs'.&lt;/P&gt;&lt;P&gt;      APPEND RETURN_VARIABLES.&lt;/P&gt;&lt;P&gt;      WORKFLOW_RESULT = 99999.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND IDOC_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 02:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297367#M789110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T02:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: How we will process error IDOC s.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297368#M789111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you know the IDoc number, you can use FM &lt;STRONG&gt;IDOC_GET_MESSAGE_ATTRIBUTE&lt;/STRONG&gt; to get the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you can go to transaction &lt;STRONG&gt;WE02/WE05&lt;/STRONG&gt; and &lt;STRONG&gt;BD87&lt;/STRONG&gt; to find the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto &lt;STRONG&gt;EDIDS&lt;/STRONG&gt; Table and u can get the idocs with errors,all the idoc with status will be stored in this table only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 04:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-will-process-error-idoc-s/m-p/3297368#M789111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T04:43:38Z</dc:date>
    </item>
  </channel>
</rss>

