<?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: Customer classification update with BAPI_OBJCL_CHANGE problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-classification-update-with-bapi-objcl-change-problem/m-p/4448385#M1054892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the same issue. Well, mine gives varying errors, like does not exist or locked. Did you ever sort this out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kroc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2008 15:19:55 GMT</pubDate>
    <dc:creator>aidan_mulcahy</dc:creator>
    <dc:date>2008-11-28T15:19:55Z</dc:date>
    <item>
      <title>Customer classification update with BAPI_OBJCL_CHANGE problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-classification-update-with-bapi-objcl-change-problem/m-p/4448384#M1054891</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 am updating the customer classification with the function module BAPI_OBJCL_CHANGE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'BAPI_OBJCL_CHANGE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      objectkey          = w_objkey&lt;/P&gt;&lt;P&gt;      objecttable        = 'KNA1'&lt;/P&gt;&lt;P&gt;      classnum           = w_classnum&lt;/P&gt;&lt;P&gt;      classtype          = '011'&lt;/P&gt;&lt;P&gt;      keydate            = sy-datum&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      allocvaluesnumnew  = i_ze_valnum&lt;/P&gt;&lt;P&gt;      allocvaluescharnew = i_ze_valchar&lt;/P&gt;&lt;P&gt;      allocvaluescurrnew = i_ze_valcurr&lt;/P&gt;&lt;P&gt;      return             = i_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      wait = c_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, I am checking with ENQUEUE_EXKNA1/DEQUEUE_EXKNA1 whether or not the customer master is locked before executing the code above. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that it happens occasionally that the classification is not being updated even though the correct values are submitted with the function module. The return table brings back the message "Saving changes to assignments". I am not able to create the issue if I run it manually or in debugging mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody experienced the same and eventually got hold of the problem and found a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2008 12:40:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-classification-update-with-bapi-objcl-change-problem/m-p/4448384#M1054891</guid>
      <dc:creator>former_member411599</dc:creator>
      <dc:date>2008-09-03T12:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Customer classification update with BAPI_OBJCL_CHANGE problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/customer-classification-update-with-bapi-objcl-change-problem/m-p/4448385#M1054892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the same issue. Well, mine gives varying errors, like does not exist or locked. Did you ever sort this out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kroc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 15:19:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/customer-classification-update-with-bapi-objcl-change-problem/m-p/4448385#M1054892</guid>
      <dc:creator>aidan_mulcahy</dc:creator>
      <dc:date>2008-11-28T15:19:55Z</dc:date>
    </item>
  </channel>
</rss>

