<?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: Problem with the variable in FM not cleared. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-variable-in-fm-not-cleared/m-p/5451153#M1249507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can clear the variable dynamically from the call stack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: l_f_stack(72) type c value '(SAPLMBWL)XCOMMIT'.&lt;/P&gt;&lt;P&gt;Field-symbols: &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;Assign (l_f_stack) to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If &amp;lt;fs&amp;gt; is assigned.&lt;/P&gt;&lt;P&gt; clear &amp;lt;fs&amp;gt;.&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;Hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishnakumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krishnakumar on Apr 1, 2009 11:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2009 21:26:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-01T21:26:38Z</dc:date>
    <item>
      <title>Problem with the variable in FM not cleared.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-variable-in-fm-not-cleared/m-p/5451152#M1249506</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;&lt;/P&gt;&lt;P&gt;I'm using RM_BACKFLUSH_GO function module for BackFlushing a serial number. Inside this FM other function module MB_CREATE_GOODS_MOVEMENT is called inside this function module there is variable called XCOMMIT and this is not getting cleared when i called RM_BACKFLUSH_GO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that, this variable is set in another function call BAPI_HU_UNPACK in the same program.&lt;/P&gt;&lt;P&gt;Inside BAPI_HU_UNPACK, the MB_POST_GOODS_MOVEMENT is called where the variable is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not able to clear this variable XCOMMIT. I have tried calling the perform clear_xcommit in program LMBWLFE0 from my program, but it didnt worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me how to clear this variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks n Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 21:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-variable-in-fm-not-cleared/m-p/5451152#M1249506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T21:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the variable in FM not cleared.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-variable-in-fm-not-cleared/m-p/5451153#M1249507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can clear the variable dynamically from the call stack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: l_f_stack(72) type c value '(SAPLMBWL)XCOMMIT'.&lt;/P&gt;&lt;P&gt;Field-symbols: &amp;lt;fs&amp;gt; type any.&lt;/P&gt;&lt;P&gt;Assign (l_f_stack) to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If &amp;lt;fs&amp;gt; is assigned.&lt;/P&gt;&lt;P&gt; clear &amp;lt;fs&amp;gt;.&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;Hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishnakumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krishnakumar on Apr 1, 2009 11:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 21:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-variable-in-fm-not-cleared/m-p/5451153#M1249507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T21:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the variable in FM not cleared.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-variable-in-fm-not-cleared/m-p/5451154#M1249508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved the problem on my own, by using bapi_transaction_commit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 13:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-variable-in-fm-not-cleared/m-p/5451154#M1249508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T13:46:13Z</dc:date>
    </item>
  </channel>
</rss>

