<?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 exit code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797635#M342683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using filed exit for unloading point in purchase requisition. &lt;/P&gt;&lt;P&gt;code is something like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-tcode = 'ME51N' or sy-tcode = 'ME52N'&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;if cond1&lt;/P&gt;&lt;P&gt;  message error.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we are changing purchase requisition using display/change in ME53n then sy-tcode = 'ME53N'. Still error message displays when saving Purchase Requisition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Dec 2006 12:48:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-11T12:48:20Z</dc:date>
    <item>
      <title>exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797635#M342683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using filed exit for unloading point in purchase requisition. &lt;/P&gt;&lt;P&gt;code is something like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-tcode = 'ME51N' or sy-tcode = 'ME52N'&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;if cond1&lt;/P&gt;&lt;P&gt;  message error.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we are changing purchase requisition using display/change in ME53n then sy-tcode = 'ME53N'. Still error message displays when saving Purchase Requisition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 12:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797635#M342683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797636#M342684</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;Change is only possible in ME52N. When You are clicking Change in ME53N, then sy-tcode will be changing to ME52N. Hence your field exit is getting triggered and error message is shown. If you are navigating to different screens in ME53N then you will not get any error message. Try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sksingh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 12:58:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797636#M342684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T12:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797637#M342685</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 don't know which exit u're using, but you should check the activity (insert/change or display) and not the trx code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trx code doesn't change if it goes to changing mode from display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 12:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797637#M342685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T12:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797638#M342686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep a breakpoint in the exit and check the tcode there... it will be ME52N only...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because ur initial using the tcode ME53N but then you are seleting the 'Change' option from menu... internally it call the tcode MD52N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 12:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797638#M342686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T12:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: exit code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797639#M342687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies,&lt;/P&gt;&lt;P&gt;Yes. The tcode still remais ME53N even in change mode but the validation is still done and displayed error message.&lt;/P&gt;&lt;P&gt;I am changing the exisitng filed exit  FIELD_EXIT_ABLAD. Unfortunately we can't debug filed exits. I have written field values to file using TRANSFER on application server. I am sure the control has not entered this part of code still displaying error message..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 13:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit-code/m-p/1797639#M342687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T13:16:25Z</dc:date>
    </item>
  </channel>
</rss>

