<?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 Debugging a User Exit or Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331318#M798183</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;I would like to debug a program, and locate and fix an error in one of the user exits. How can I go about doing this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shah.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Jan 2008 13:39:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-26T13:39:35Z</dc:date>
    <item>
      <title>Debugging a User Exit or Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331318#M798183</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;I would like to debug a program, and locate and fix an error in one of the user exits. How can I go about doing this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shah.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jan 2008 13:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331318#M798183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-26T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a User Exit or Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331319#M798184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a Thread with details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abap-gallery.blogspot.com/2007/07/debugging-abap-program.html" target="test_blank"&gt;http://abap-gallery.blogspot.com/2007/07/debugging-abap-program.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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="395465"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jan 2008 16:32:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331319#M798184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-26T16:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a User Exit or Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331320#M798185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shah&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           If you know the user exit name type it in SMOD/CMOD and put a break point at the Zinlclude, and execute the T code... as soon as it hits this Zinclude(user-exit) the debugger will execute and there you can check the code in the user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jan 2008 17:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331320#M798185</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-01-26T17:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a User Exit or Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331321#M798186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   1) Use /h and execute the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    2)search for CALL FUNCTION -EXIT......in the standard program of the transaction and u can go into it and find the user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its helpful to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jan 2008 18:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331321#M798186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-26T18:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a User Exit or Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331322#M798187</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;Enhancement/Modifications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Execute tcode SMOD to find available enhancement/modifications.&lt;/P&gt;&lt;P&gt;2) Create a project for the enhancement in tcode CMOD.&lt;/P&gt;&lt;P&gt;3) You must activate your project first in order to hit a break-point or get into debug mode for your existing enhancements/modifications, if you do not, the best you will be able to do is step through the main program until you hit the call for that particular customer enhancement.&lt;/P&gt;&lt;P&gt;4) To get into debug, you can enter a hard break-point in the enhancement itself, set a soft break-point with the stop sign, or the long way, before you execute your transaction or while you are in your transaction, you can place a /h in the ok code area (this is the area of your gui where you can type in a tcode). Once you have the /h, hit enter and that will take you into debug, from there, you can do many different things to find exactly what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Identify the main program you want to locate a user exit/debug.&lt;/P&gt;&lt;P&gt;2) For example, go to SE80 and do a search by program or dev class (SAPMV45A sales order or Dev Class VMOD, most SD user exits are in this dev class). In SE80 if you go by program, most user exit programs end in a 'Z' on a rare occasion 'X' or 'Y'.&lt;/P&gt;&lt;P&gt;3) If you are looking at including MV45AFZZ, you can see where there are different forms. These forms will get called at times within the program. If you are looking to fill the storage location on the sales order, you will probably want to take a look at the perform that fills in a field in vbap.&lt;/P&gt;&lt;P&gt;4) If this is what you are trying to accomplish, you will need to do the select against the config Table TVKOL based on the shipping point/plant and possibly storage condition based on your picking strategies.&lt;/P&gt;&lt;P&gt;5) For the debug part, you can do the same as in the enhancements/modifications but you will not need to activate any projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if found helpfull..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chandra Sekhar.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2008 08:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-user-exit-or-program/m-p/3331322#M798187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-27T08:36:48Z</dc:date>
    </item>
  </channel>
</rss>

