<?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 regarding LSMW error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824379#M1128951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;            i am doing an lsmw for a custom transaction. Problem is the when we press back its calling &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; WHEN 'BACK' OR 'EXIT' OR 'CANC'.&lt;/P&gt;&lt;P&gt;   CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;   LEAVE TO TRANSACTION 'ZP241'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            so when i m running the LSMW and pressing back button, i am getting error as a pop up&lt;/P&gt;&lt;P&gt;              'LEAVE TO TRANSACTION' IS NOT ALLOWED IN BATCH I/P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And eventually my session is getting failed.&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>Tue, 02 Dec 2008 12:01:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-02T12:01:33Z</dc:date>
    <item>
      <title>regarding LSMW error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824379#M1128951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;            i am doing an lsmw for a custom transaction. Problem is the when we press back its calling &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; WHEN 'BACK' OR 'EXIT' OR 'CANC'.&lt;/P&gt;&lt;P&gt;   CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;   LEAVE TO TRANSACTION 'ZP241'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            so when i m running the LSMW and pressing back button, i am getting error as a pop up&lt;/P&gt;&lt;P&gt;              'LEAVE TO TRANSACTION' IS NOT ALLOWED IN BATCH I/P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And eventually my session is getting failed.&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>Tue, 02 Dec 2008 12:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824379#M1128951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: regarding LSMW error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824380#M1128952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are dealing with custom code, I highly recommend you change it to better support your LSMW.&lt;/P&gt;&lt;P&gt;Batch input process transactions, so, once the first one is done, LEAVE TO TRANSACTION will be another transaction and therefore not supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rearrange your ok_code case statement and run multiple LSMW sessions for the different transactions (or replace leave to transaction to LEAVE to screen (of the other transaction) , thus keeping it all in the same "transaction".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo De Araujo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824380#M1128952</guid>
      <dc:creator>LeonardoAraujo</dc:creator>
      <dc:date>2008-12-02T12:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: regarding LSMW error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824381#M1128953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leonardo,&lt;/P&gt;&lt;P&gt;                       We cant change the code. Is there any other option.&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>Tue, 02 Dec 2008 12:23:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824381#M1128953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: regarding LSMW error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824382#M1128954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I don't see another way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is custom code, you should be able to change it (and correct it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824382#M1128954</guid>
      <dc:creator>LeonardoAraujo</dc:creator>
      <dc:date>2008-12-02T12:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: regarding LSMW error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824383#M1128955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 09:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lsmw-error/m-p/4824383#M1128955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T09:43:47Z</dc:date>
    </item>
  </channel>
</rss>

