<?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 How do you debug an iDoc? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323709#M796171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an OUTBOUND idoc created via WE19 and wish to debug it as it is created.  I have put soft break points in all of the code but it never hits one of these points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also - how do you run WE19 in the foreground?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 21, 2008 5:54 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Scott Strong on Jan 22, 2008 9:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2008 22:01:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-21T22:01:11Z</dc:date>
    <item>
      <title>How do you debug an iDoc?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323709#M796171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an OUTBOUND idoc created via WE19 and wish to debug it as it is created.  I have put soft break points in all of the code but it never hits one of these points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also - how do you run WE19 in the foreground?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 21, 2008 5:54 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Scott Strong on Jan 22, 2008 9:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 22:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323709#M796171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T22:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you debug an iDoc?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323710#M796172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is inbound Idoc then go to WE19 and after entering the data click on inbound function module button and give the function module name and then select the check box Call in debugging mode and click on continue button. It will stop at the related function module in the debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And select the radio button In foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Srinivas R on Jan 21, 2008 11:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 22:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323710#M796172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T22:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do you debug an iDoc?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323711#M796173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In we19, once you click 'Inbound Function Module', you will get an check box for 'Call in Debugging Mode'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enable the check box, it will let you debug the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For collecting IDOCs in WE20,&lt;/P&gt;&lt;P&gt;you have to enable the radio button 'Trigger by background program'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be viewed in this path,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we20-&amp;gt; create inbound parameter ...  In this screen, you can find the above option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shylesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 22:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323711#M796173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T22:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you debug an iDoc?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323712#M796174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WE19 tcode is the Test tool for IDOC. You can put a break-point in the correspond &lt;STRONG&gt;inboound or outbound function module&lt;/STRONG&gt; for that IDOC and debug it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this thread.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="413217"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 22:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323712#M796174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T22:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do you debug an iDoc?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323713#M796175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   You can debug IDOC processing in the following way in WE19:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (1) Find the Inbound/Outbound Processing function (WE41/WE42)&lt;/P&gt;&lt;P&gt;  (2) Apply break-point at the debugging location inside the function&lt;/P&gt;&lt;P&gt;  (3) In WE19, click Inbound Function or Outbound processing button and execute in 'foreground' mode. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  You will find that the program flow stops at break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks,&lt;/P&gt;&lt;P&gt;  Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 22:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323713#M796175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T22:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do you debug an iDoc?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323714#M796176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can debug the IDoc processing like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Find the Inbound/Outbound Processing function (using t-code WE41/WE42 respectively)&lt;/P&gt;&lt;P&gt;2. put a break-point at the 1st executable staement in the the function module&lt;/P&gt;&lt;P&gt;3. In WE19, click Inbound Function or Outbound processing button and execute in 'foreground' mode and also dont forget to select check box 'call in debuggin mode'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execution will stop at the break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 14:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323714#M796176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T14:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do you debug an iDoc?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323715#M796177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use WE19 to debug the outbound IDoc being created. It is already created. What you need to do is to repeat the output of the sap document in question and set it to 1 ( output via batch job ) or what ever the option is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then run program RSNAST00. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to put a break point in the function module that creates the IDoc though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Martin Shinks on Jan 22, 2008 4:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 15:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-you-debug-an-idoc/m-p/3323715#M796177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-22T15:02:43Z</dc:date>
    </item>
  </channel>
</rss>

