<?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: What Function Module Writes IDOC status messages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059092#M1175791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I found how you did it. Tell me if I'm correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "Logging" tab of the message, program LEDI7F10 (the include file of the EDI7 function group) is mentioned. You then went into that include and located the string "299"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd never observed this before. It's terrific to know it now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Jan 2009 07:00:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-10T07:00:02Z</dc:date>
    <item>
      <title>What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059087#M1175786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting an intermittent Status value of '02' on outbound DESADV Idocs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's no problem creating the IDOC segments. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The details on the status message are:&lt;/P&gt;&lt;P&gt;MsgID: EA&lt;/P&gt;&lt;P&gt;Msgno: 299&lt;/P&gt;&lt;P&gt;The system could not convert data from the data record 000010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to locate the exact function module that composes the message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried setting a watchpoint for SY-MSGID = EA&lt;/P&gt;&lt;P&gt;and SY-MSGNO = 299&lt;/P&gt;&lt;P&gt;But, they aren't hit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also used transaction SE91 and the "where used" on the message number. That comes up blank. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know which function module or class method is used to write this message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ed Baker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 14:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059087#M1175786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T14:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059088#M1175787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe IDOC_STATUS_WRITE_TO_DATABASE, can't verify that though. Set a breakpoint there and see if this FM is being executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 14:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059088#M1175787</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-01-09T14:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059089#M1175788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;It may be because the message might be getting populated dynamically hence it does not show in Where-used list.&lt;/P&gt;&lt;P&gt;If you are in the mood to debug a little then you could set up a Watchpoint for 'sy-subrc NE 0'...&lt;/P&gt;&lt;P&gt;For an error message for sure 'sy-subrc goes NE 0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankesh on Jan 9, 2009 9:03 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankesh on Jan 9, 2009 9:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 15:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059089#M1175788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T15:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059090#M1175789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the longtext of the message there is a problem with the port definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A possible soure for the message generation might be include LEDI7F11, e.g. lines 717ff (on ERP 6.0):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...
      if conv_return ge 6.
* das aktuelle IDoc muß aus I_EDIDC genommen werden
        save_msgid = 'EA'.
        save_msgty = 'E'.
        save_msgno = '299'.
        save_msgv1 = conv_edidd-segnum.
        APPEND EDIDC TO ERR_SEND.
        DELETE I_EDIDC.          " Löschen aus der internen Tabelle der
                                 " zu versendenden Kontrollsätze
* loop über Kontrollsätze muß verlassen werden
* Datei muß gelöscht werden-kann außerhalb des loops über i_edidc sein
        exit. "verlasse loop
      endif.
    ENDIF.
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 02:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059090#M1175789</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-01-10T02:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059091#M1175790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is brilliant Uwe. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It points to the exact code that set the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried looking for the long text you referred to. But, I couldn't replicate what you found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 06:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059091#M1175790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T06:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059092#M1175791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I found how you did it. Tell me if I'm correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "Logging" tab of the message, program LEDI7F10 (the include file of the EDI7 function group) is mentioned. You then went into that include and located the string "299"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd never observed this before. It's terrific to know it now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 07:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059092#M1175791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T07:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059093#M1175792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the &lt;EM&gt;Where-Used-List&lt;/EM&gt; for message class EA in SE80 (displayed its assigned package SED) because in SE91 you do not find any cross-reference. My expection was that at least the message class is somewhere referenced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LEDI1Uxx function modules appealed my attraction but I did not find the message there. The third try with the FORM include was successful. Within the include I simply did a text search for '299' in the main program (not really sophisticated but it works...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, if you need to send messages like they did in the include but want to be able to trace it I use the following trick that I have learnt from RE-FX:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...
      if conv_return ge 6.
* das aktuelle IDoc muß aus I_EDIDC genommen werden

  " Ensure traceability of the message:
  IF 1 = 2. MESSAGE E299(EA).  ENDIF.

        save_msgid = 'EA'.
        save_msgty = 'E'.
        save_msgno = '299'.
        save_msgv1 = conv_edidd-segnum.
        APPEND EDIDC TO ERR_SEND.
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 08:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059093#M1175792</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-01-10T08:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059094#M1175793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very nice, Uwe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did something similar to you. I frequently use this technique when dealing with function module groups. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as I saw the LEDI7F10 in the logging tab of the IDOC error message, I just opened SAPLEDI7 with se38 and did a global search for "299"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help. It was terrific.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 20:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059094#M1175793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T20:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059095#M1175794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed,&lt;/P&gt;&lt;P&gt;Wonder if you manage to find out what is the root cause of the intermittent issue. If yes, kindly share your finding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Philip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 10:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059095#M1175794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T10:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059096#M1175795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did find out how to do this after discussing it with Uwe in previous messages in this thread. &lt;/P&gt;&lt;P&gt;I actually wrote a small application note on it for other members of my team. &lt;/P&gt;&lt;P&gt;I'd be glad to email it to you if you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 14:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059096#M1175795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059097#M1175796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed,&lt;/P&gt;&lt;P&gt;Thanks for sharing your finding. Wonder if it is alright to share it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Philip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2009 01:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059097#M1175796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-21T01:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: What Function Module Writes IDOC status messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059098#M1175797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd be glad to send it to you. But, I don't know how to attach a document to a forum message. &lt;/P&gt;&lt;P&gt;Is there a way to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2009 03:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-function-module-writes-idoc-status-messages/m-p/5059098#M1175797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-21T03:08:36Z</dc:date>
    </item>
  </channel>
</rss>

