<?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: BAPI_OBJCL_CHANGE lose data??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510534#M1559495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look in the documentation.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to change some charracteristic value ,   you need to enter all the characteristic value  again.  With Bapi_objcl_change if there was an value assgined to a characteristic and you didn't enter it again with the bapi, value will be changed to Null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call bapi 'BAPI_OBJCL_GETCLASSES'  before you call BAPI_OBJCL_CHANGE  and  change/add  the characteristic values to  the internal tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 09:11:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-22T09:11:49Z</dc:date>
    <item>
      <title>BAPI_OBJCL_CHANGE lose data???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510532#M1559493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MSC3N:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Characteristic: &lt;/P&gt;&lt;P&gt;Z_ABC = &lt;/P&gt;&lt;P&gt;Z_XY  = 123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;when call "BAPI_OBJCL_CHANGE " to update characteristic (Z_ABC) value successfully&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Z_XY will auto change to NULL empty&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 07:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510532#M1559493</guid>
      <dc:creator>former_member1137458</dc:creator>
      <dc:date>2010-11-22T07:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CHANGE lose data???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510533#M1559494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the source code. There are comments that explains why it happened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words: works as intended...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 08:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510533#M1559494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T08:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CHANGE lose data???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510534#M1559495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look in the documentation.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to change some charracteristic value ,   you need to enter all the characteristic value  again.  With Bapi_objcl_change if there was an value assgined to a characteristic and you didn't enter it again with the bapi, value will be changed to Null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call bapi 'BAPI_OBJCL_GETCLASSES'  before you call BAPI_OBJCL_CHANGE  and  change/add  the characteristic values to  the internal tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 09:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510534#M1559495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T09:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CHANGE lose data???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510535#M1559496</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;The working behaviour of this BAPI is like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever you are changing the characterisitics it will delete the previous one and update the current one which you are giving.&lt;/P&gt;&lt;P&gt;So you need to get the previous updated characteristics and then update with the new &amp;amp; previous one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 11:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510535#M1559496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T11:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CHANGE lose data???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510536#M1559497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the same problem while updating the Material Characteristics . For this i've done the following steps&lt;/P&gt;&lt;P&gt;1.* Get the classfication description defined for the newly&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;created material from&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'CLAF_CLASSIFICATION_OF_OBJECTS'&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;2.loop at itab_obj_data.&lt;/P&gt;&lt;P&gt;    case  itab_obj_data-atnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      when k_ppi_us_price.&lt;/P&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;    clear: gs_valueschar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.call function 'BAPI_OBJCL_CHANGE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      objectkey          = g_objectkey&lt;/P&gt;&lt;P&gt;      objecttable        = k_objecttable&lt;/P&gt;&lt;P&gt;      classnum           = k_classnum&lt;/P&gt;&lt;P&gt;      classtype          = k_classtype&lt;/P&gt;&lt;P&gt;      status             = '1'&lt;/P&gt;&lt;P&gt;      keydate            = sy-datum&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      allocvaluesnumnew  = itab_valuesnum&lt;/P&gt;&lt;P&gt;      allocvaluescharnew = itab_valueschar&lt;/P&gt;&lt;P&gt;      allocvaluescurrnew = itab_valuescurr&lt;/P&gt;&lt;P&gt;      return             = itab_return.&lt;/P&gt;&lt;P&gt;Can any one   tell the alternative methods?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: beeru yadav on Feb 3, 2011 7:12 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 06:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change-lose-data/m-p/7510536#M1559497</guid>
      <dc:creator>former_member222617</dc:creator>
      <dc:date>2011-02-03T06:10:56Z</dc:date>
    </item>
  </channel>
</rss>

