<?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: Debugging issue in ME21N in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524906#M1560830</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;As I told you, set /H in box for tcodes, run ME21N with field of vendor empty, when debugging stars, in menu path, search breakpoint / breakpoint at / sentence and write 'MESSAGE' and press return, and run it with F8 after each breakpoint, it will stop in all messages that flow of algorithm finds&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;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 14:48:42 GMT</pubDate>
    <dc:creator>eduardo_hinojosa</dc:creator>
    <dc:date>2011-01-27T14:48:42Z</dc:date>
    <item>
      <title>Debugging issue in ME21N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524902#M1560826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kept vendor field blank purposefully and hit enter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now at this stage I see an error message 'Enter a Vendor'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to verify the same message in debugging mode to basically understand how the system performs the check before throwing this error message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am looking forward to know the field name, table it checks for making validation of entered vendor, the programing condition etc...,in debug mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help with steps to follow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that /h will start debug mode. but what are the next steps to spot the exact location where the above message is triggered?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 12:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524902#M1560826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-27T12:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging issue in ME21N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524903#M1560827</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 have it in LMEPOF00 in this coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF ekko-lifnr EQ space.
  IF ekko-bsakz NE bsakz-tran.
    MESSAGE e049.
  ELSE.
    EXIT.
  ENDIF.
ENDIF.

mmpur_metafield mmmfd_vendor.

IF lfa1-lifnr EQ space.
  mmpur_metafield mmmfd_vendor.
  MESSAGE e101 WITH ekko-lifnr.
ELSEIF lfm1-lifnr EQ space.
ELSEIF lfm1-lifnr EQ space AND ekko-bsakz NE bsakz-tran.  "594704
  mmpur_metafield_add mmmfd_purch_org.
  MESSAGE e027 WITH ekko-lifnr ekko-ekorg.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find: set /H in box for tcodes, when debugging stars, in menu path, breakpoint / breakpoint at / sentence and write 'MESSAGE' and F8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&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;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 13:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524903#M1560827</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-01-27T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging issue in ME21N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524904#M1560828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. That was really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I know that  I can find this error message in program LMEPOF00 ?  Is there a way I can find out all the programs associated with ME21N?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 13:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524904#M1560828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-27T13:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging issue in ME21N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524905#M1560829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on the message , take the class and number. Go to se91, enter it,select it and click the where used list button.&lt;/P&gt;&lt;P&gt;or during debugging you can make it stop at particular statements from the menu options..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 13:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524905#M1560829</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-01-27T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging issue in ME21N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524906#M1560830</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;As I told you, set /H in box for tcodes, run ME21N with field of vendor empty, when debugging stars, in menu path, search breakpoint / breakpoint at / sentence and write 'MESSAGE' and press return, and run it with F8 after each breakpoint, it will stop in all messages that flow of algorithm finds&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;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 14:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524906#M1560830</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-01-27T14:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging issue in ME21N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524907#M1560831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear shashi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following mentioned error only u r saying know.&lt;/P&gt;&lt;P&gt;How i got this error as follows:&lt;/P&gt;&lt;P&gt;goto SE93 give your tcode and goto display then u will be getting the package.After getting the package goto SE91 in the message class give f4. you will get one popup. then click information system and there give package name.select the message class and go for display. U will get the list of error messages related to the package. Search for your error message. uwill get the error message no. Then follow the debugging steps as mentioned earlier in your thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;269	Please select at least one vendor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sankar m&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 15:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-issue-in-me21n/m-p/7524907#M1560831</guid>
      <dc:creator>p291102</dc:creator>
      <dc:date>2011-01-27T15:11:24Z</dc:date>
    </item>
  </channel>
</rss>

