<?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: A question about debugging in VA01 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329312#M1638004</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;Is your custom FM called from an enhancement in VA01 ? If there is an implicit enhancement, can you activate the enhancement again ? After the server refresh, you need to activate again all the enhancements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, can you try another tip: after inputing data in VA01, you can put a '/h' in the command field to debug, then press F9, enter your funtion module in the tab Function, and hope it will go there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;&lt;P&gt;paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2011 04:40:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-23T04:40:37Z</dc:date>
    <item>
      <title>A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329309#M1638001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our SAP system, when one sales order is created by VA01, a customing function module Z_SENDIDOC will be called to send out IDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic and the FM were implemented by another colleague, who already left the company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, I take over his job. I want to know how the FM Z_SENDIDOC is triggered. I set breakpoints(both internal and external breakpoints) in the FM. Then I run VA01 to create the sales order. But the program will not stop at these breakpoints. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already switch on system debugging and update debugging. I'm sure the FM will be called when the sales order is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any expert help me on what I should do to stop the program in the FM?&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;Best Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Johnny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 03:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329309#M1638001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T03:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329310#M1638002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not triggering like you directly type break-point and see.Where is the fm calling in any include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 03:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329310#M1638002</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-11-23T03:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329311#M1638003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this function, Z_SENDIDOC, triggered through message control (or output determination) through a output type? If it is triggered through output type, then follow the instructions below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Break points won't get triggered when output type is set to trigger immediately (dispatch time 4) during Sales order save, because the IDoc will be triggered asynchronously in this mode by the system and not in your session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you need to do is go into the output page (Extras -&amp;gt; Output -&amp;gt; Header -&amp;gt; Edit, select the condition type in yellow color (not yet processed), click on "Further data"and set "Dispatch time" to 1 (Send with periodically schedule job);. After doing this save the sales order. This will mean that the output idoc is not triggered immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now put the break point in your function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Come to SE38 and execute RSNAST00 program, give "Output application" as "V1", object key as your sales order number (format it with leading zeros for full 10 digits) and enter your output type. Run it and then you will see that your break point is hit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not using output type, you can also do a where used list on Z_SENDIDOC to see where exactly it is being called and put your break point higher in the call hierarchy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 04:05:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329311#M1638003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T04:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329312#M1638004</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;Is your custom FM called from an enhancement in VA01 ? If there is an implicit enhancement, can you activate the enhancement again ? After the server refresh, you need to activate again all the enhancements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, can you try another tip: after inputing data in VA01, you can put a '/h' in the command field to debug, then press F9, enter your funtion module in the tab Function, and hope it will go there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;&lt;P&gt;paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 04:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329312#M1638004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T04:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329313#M1638005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies.  There is not output type for the sales order, and I still can't catch the breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM is called in the method "SalesOrderCO.Z_UPDATE_STATUS" of Object Type YBUS2032. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any expert tell me how the Object Type YBUS2032 is created and how it is used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is clear, maybe I can find some clue on how to catch the breakpoint.&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;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Johnny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 06:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329313#M1638005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T06:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329314#M1638006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yongbo &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check &lt;STRONG&gt;YBUS2032&lt;/STRONG&gt; in T-Code &lt;STRONG&gt;swo1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 06:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329314#M1638006</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2011-11-23T06:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329315#M1638007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an rfc fm .please check in swo1.Keep break point in that method and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 06:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329315#M1638007</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-11-23T06:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329316#M1638008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the FM is called in the method "SalesOrderCO.Z_UPDATE_STATUS" of Object Type YBUS2032, I want to know how can find where the system call the Object Type YBUS2032 when I save the  sales order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help on this?&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;Best Regards, Johnny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 08:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329316#M1638008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T08:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329317#M1638009</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;Check where used list in swo1 and find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 08:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329317#M1638009</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-11-23T08:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: A question about debugging in VA01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329318#M1638010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find solution from technical specification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 01:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-debugging-in-va01/m-p/8329318#M1638010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-05T01:37:13Z</dc:date>
    </item>
  </channel>
</rss>

