<?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 LSMW - debug in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-debug/m-p/2593270#M593848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  How to debug in LSMW.&lt;/P&gt;&lt;P&gt;  I know the process of writing break-point in the code.&lt;/P&gt;&lt;P&gt;  Is there any other procedure to debug LSMW code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2007 03:51:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-08T03:51:03Z</dc:date>
    <item>
      <title>LSMW - debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-debug/m-p/2593270#M593848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  How to debug in LSMW.&lt;/P&gt;&lt;P&gt;  I know the process of writing break-point in the code.&lt;/P&gt;&lt;P&gt;  Is there any other procedure to debug LSMW code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2007 03:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-debug/m-p/2593270#M593848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-08T03:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW - debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-debug/m-p/2593271#M593849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prasanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 3 ways to debug in LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) set /h in the transaction code before you execute the read/convert steps (very ugly)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) go into the Extras -&amp;gt; User Menu and ensure that the 'Display Read Program' and 'Display Conversion Program' checkboxes are ticked.  They should then appear in the Process Step list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the process step you wish (Display read program or Display Conversion program', execute this action, and set a soft break-point by double clicking on the line item you wish or using the stop button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program will stop at your break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Get the Read Program or conversion program name, copy and paste this into SE38, and set a hard 'Break-point' or 'Break &amp;lt;your username&amp;gt; (i.e Break Steve).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points for helpful solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2007 04:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-debug/m-p/2593271#M593849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-08T04:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW - debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-debug/m-p/2593272#M593850</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;You can debug any LSMW object program in the usual way by putting a hard or soft breakpoint. &lt;/P&gt;&lt;P&gt;In your Field Mapping/conversion, you can code BREAK-POINT at the very first field. Then the program execution will break when it reaches there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also put soft breakpoints in the generated code. To view your generated code, you need to bring it up in the initial screen of your object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do so, click on the User Menu button &amp;amp; check the Display Read Program &amp;amp; Display Conversion Program checkboxes. Hit ENTER. Now you will see 2 additional options on the initial screen of your Object. Double-clicking on the Display Read Program or Display Conversion Program will take you into the generated code. Place your soft breakpoint as you normally do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option: go to the step DISPLAY READ PROGRAM or DISPLAY CONVERTION PROGRAM.&lt;/P&gt;&lt;P&gt;Now you will see the ABAP editor with the code. Place the breakpoint (soft break point using STOP button on application tool bar) whereever you desire. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if useful&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;ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2007 04:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-debug/m-p/2593272#M593850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-08T04:38:12Z</dc:date>
    </item>
  </channel>
</rss>

