<?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 in LSMW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-in-lsmw/m-p/3239039#M772946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; i am doing LSMW using IDOC. but i got an error in second last stage like &lt;/P&gt;&lt;P&gt;create IDOC overview.&lt;/P&gt;&lt;P&gt;when i clicked on this button ,it displayed status record......... in that status record it displayed an error msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i debugg it............ how would i know from where this msg is coming.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used breakpoint at statement also...but didnt get right msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 06:58:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T06:58:24Z</dc:date>
    <item>
      <title>debugging in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-in-lsmw/m-p/3239039#M772946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; i am doing LSMW using IDOC. but i got an error in second last stage like &lt;/P&gt;&lt;P&gt;create IDOC overview.&lt;/P&gt;&lt;P&gt;when i clicked on this button ,it displayed status record......... in that status record it displayed an error msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i debugg it............ how would i know from where this msg is coming.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used breakpoint at statement also...but didnt get right msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 06:58:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-in-lsmw/m-p/3239039#M772946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T06:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: debugging in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-in-lsmw/m-p/3239040#M772947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are in LSMW in the project where the radiobuttons show up, in the menu, choose 'Extras--&amp;gt;User Menu'. Select the checkboxes for 'Display Read Program' and 'Display Conversion Program'. Once you select them, you will now see two additional radiobuttons. If you select any one of them, you will go to the program, you can set a breakpoint in there and when you do the 'Read data' you can debug the read program (if you put breakpoint in that program) or when you 'Convert Data' you can debug the conversion program (if you put breakpoint in that program).&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;Go To the 5th Step that is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"5 Maintain Field Mapping and Conversion Rules"&lt;/P&gt;&lt;P&gt;select this radio Button and execute then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will maping your defining fields to source structure fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then where ever you want to write validations &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you just select that field and click on RULES tab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then select radio-button User defined routine&lt;/P&gt;&lt;P&gt;then you will get a window &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you just click on continue button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you will get a PERFORM opposite to your selected field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save and come back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then select the 6th radio button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is " 6 Maintain Fixed Values, Translations, User-Defined Routines"&lt;/P&gt;&lt;P&gt;and execute &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there you will find your user defind routine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you just double click on the routine &lt;/P&gt;&lt;P&gt;then you will get a editor for writing your code for validations&lt;/P&gt;&lt;P&gt;you just pass p_in as input and you will get the result in p_out parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you will put a Break point or put command like "BREAK-POINT" &lt;/P&gt;&lt;P&gt;then it will automatically triggered while running this project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you give me brief i can help you out more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful REWARD points&lt;/P&gt;&lt;P&gt;Thank you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 07:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-in-lsmw/m-p/3239040#M772947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T07:02:31Z</dc:date>
    </item>
  </channel>
</rss>

