<?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 Valuation class for material locked while COMMIT statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/valuation-class-for-material-locked-while-commit-statement/m-p/7371833#M1543085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement where we are processing Billing Output type using RSNAST00. The Output type calls our custom FM which inturn posts the Invoice(MIRO) and FI document (FB01) for the same billing docs using BAPI's. The cutom FM is using Commit statements which put locks on certain dictionary objects. So, when the next Output type having same materials is processed ( means invoice is posted for same materials), we get an error saying 'Valuation class locked for this Material group' and the Output type goes in error and no invoice is posted. we have tried using Commit and Wait, Wait statements , but nothing worked out. Please help. TIA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Oct 2010 12:49:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-20T12:49:16Z</dc:date>
    <item>
      <title>Valuation class for material locked while COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/valuation-class-for-material-locked-while-commit-statement/m-p/7371833#M1543085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement where we are processing Billing Output type using RSNAST00. The Output type calls our custom FM which inturn posts the Invoice(MIRO) and FI document (FB01) for the same billing docs using BAPI's. The cutom FM is using Commit statements which put locks on certain dictionary objects. So, when the next Output type having same materials is processed ( means invoice is posted for same materials), we get an error saying 'Valuation class locked for this Material group' and the Output type goes in error and no invoice is posted. we have tried using Commit and Wait, Wait statements , but nothing worked out. Please help. TIA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 12:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/valuation-class-for-material-locked-while-commit-statement/m-p/7371833#M1543085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-20T12:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Valuation class for material locked while COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/valuation-class-for-material-locked-while-commit-statement/m-p/7371834#M1543086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maninder,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try to execute same program in debug. That is, First execute custom FM in debug mode and wait till it returns back and then execute posting inovice and see if it is going through. I think this is issue with the wait time for one to release lock and second to accquire. if in case of debug it works then may be you can put some explicit wait using wait syntax. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 12:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/valuation-class-for-material-locked-while-commit-statement/m-p/7371834#M1543086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-20T12:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Valuation class for material locked while COMMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/valuation-class-for-material-locked-while-commit-statement/m-p/7371835#M1543087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for such a quick reply. We have use an explicit wait with different time values. But still the problem persists and we are not able to decide on what time value. Also, since we are running background jobs to process output types, its a performance issue. Please provide some more indepth solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maninder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 13:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/valuation-class-for-material-locked-while-commit-statement/m-p/7371835#M1543087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-20T13:02:33Z</dc:date>
    </item>
  </channel>
</rss>

