<?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: Debug IDOC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228893#M1718351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Put a endless loop in the code as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data: w_Var type i value 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;&amp;nbsp; if w_var &amp;lt; 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;&amp;nbsp; endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_var = w_var + 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;enddo.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Goto SM50 and select the processid in your SAP user id and from the menu option select&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; program-&amp;gt;debugging &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neslin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2013 12:46:50 GMT</pubDate>
    <dc:creator>Neslinn</dc:creator>
    <dc:date>2013-01-16T12:46:50Z</dc:date>
    <item>
      <title>Debug IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228889#M1718347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Good Day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By reading the topic, I know that this has been such a easy one for some but i need a help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im done on creating enhancement for payment outbound idoc, so I need to test it via technical prospective (DEBUG).&lt;/P&gt;&lt;P&gt;* I put breakpoint in FM&lt;/P&gt;&lt;P&gt;* I also activate the update debugging&lt;/P&gt;&lt;P&gt;* I also use the SRDEBUG fucntionality &lt;/P&gt;&lt;P&gt;* EVEN external breakpoint.&lt;/P&gt;&lt;P&gt;* i also took advice from some forum related on this topic and properly do the step,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT none of these work, please tell me how to get out with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Help will be much more appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 10:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228889#M1718347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-16T10:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debug IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228890#M1718348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use tcode we19 , enter your idoc no and click on the inbound function module push button then check call in debugging mode to debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to BD87&lt;/P&gt;&lt;P&gt;2. make a right click at the IDoc and choose restrict and process.&lt;/P&gt;&lt;P&gt;3. delete the check at the bottom(Background Processing)&lt;/P&gt;&lt;P&gt;4. Go ahead&lt;/P&gt;&lt;P&gt;5. edit -&amp;gt; process -&amp;gt; Foreground at Error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDocs are processed by a function module, which are mapped&lt;/P&gt;&lt;P&gt;against in table EDIFCT. When you process an IDoc with BD87&lt;/P&gt;&lt;P&gt;you can have a breakpoint in the function and it will stop.&lt;/P&gt;&lt;P&gt;For outbound processing it depends on which program is&lt;/P&gt;&lt;P&gt;sending the IDoc. For transactional data like purchase&lt;/P&gt;&lt;P&gt;orders, the IDoc is created via RSNAST00 which in turn calls&lt;/P&gt;&lt;P&gt;a function module assigned to the processing code (BD41).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 11:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228890#M1718348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-16T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debug IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228891#M1718349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may use WE19 test IDOC transaction. Here you can request debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually IDocs are processed in parallel background tasks to gain perfomance. That's why you can not debug them easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility to test in the process desired is to put a 'brake' loop into the code:&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; lv_continue type flag.&lt;/P&gt;&lt;P&gt;while flag is initial.&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start the process, see your process in SM50 process overview, debug from here. Set lv_continue to 'X' in debugger, step forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 11:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228891#M1718349</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2013-01-16T11:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Debug IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228892#M1718350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all tnx for that very useful suggestion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im doing an outbound IDOC for payment method in finance..&lt;/P&gt;&lt;P&gt;Actually a correction, im on the estimation process of creating my enhanecment and using debug i just want to check how the values for segment was being created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do believe that when i used the BD87 the process of call stack will be different now? is it correct.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 11:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228892#M1718350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-16T11:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Debug IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228893#M1718351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Put a endless loop in the code as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data: w_Var type i value 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;&amp;nbsp; if w_var &amp;lt; 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;&amp;nbsp; endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w_var = w_var + 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;enddo.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Goto SM50 and select the processid in your SAP user id and from the menu option select&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; program-&amp;gt;debugging &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neslin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 12:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228893#M1718351</guid>
      <dc:creator>Neslinn</dc:creator>
      <dc:date>2013-01-16T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Debug IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228894#M1718352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which message type you are using. U can use user exit for that message type and can put break point in that exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 14:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228894#M1718352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-16T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Debug IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228895#M1718353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By reading your request I could understand that, you want to check the enhancement which you have done in one system though other system. Thats the reason external debugging is active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the breakpoints are not working because the idoc processing user is not you but the RFC user might be. When you are trying this, you need to change the RFC user to dialogus user. Please try the same and check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 18:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-idoc/m-p/9228895#M1718353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-30T18:06:21Z</dc:date>
    </item>
  </channel>
</rss>

