<?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: Class assignments deleted when using message type 'CLFMAS' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-assignments-deleted-when-using-message-type-clfmas/m-p/1794471#M341511</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 use the customer exit 'EXIT_SAPLCLFM_002' for this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This customer exit is triggered before saving the Class / Char data for a material in the database during CLFMAS processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wl_allkssk LIKE LINE OF t_allkssk,&lt;/P&gt;&lt;P&gt;wl_allausp LIKE LINE OF t_allausp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF i_appl = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: t_delcl, t_delob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_allkssk INTO wl_allkssk WHERE vbkz = 'D'.&lt;/P&gt;&lt;P&gt;CLEAR wl_allkssk-vbkz.&lt;/P&gt;&lt;P&gt;MODIFY t_allkssk FROM wl_allkssk INDEX sy-tabix TRANSPORTING vbkz .&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_allausp INTO wl_allausp WHERE statu = 'L'.&lt;/P&gt;&lt;P&gt;CLEAR wl_allausp-statu.&lt;/P&gt;&lt;P&gt;MODIFY t_allausp FROM wl_allausp INDEX sy-tabix TRANSPORTING statu.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_active = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would solve your problem&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhawit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 08:53:27 GMT</pubDate>
    <dc:creator>former_member823402</dc:creator>
    <dc:date>2011-07-25T08:53:27Z</dc:date>
    <item>
      <title>Class assignments deleted when using message type 'CLFMAS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-assignments-deleted-when-using-message-type-clfmas/m-p/1794470#M341510</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 would really appreciate some help with this one (I have searched almost the whole web - and can't find any direct answers ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I have a situation where I'm using the idoc type 'CNPMAS01'. I have two systems that can update different classes (KLASSE_D) with new characteristic values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However whenever an idoc is processed the class that was already assigned to that material is removed and the new class is inserted. Further explanation below... &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Step 1:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;System A sends Idoc A to insert Class A into material Z. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look in MM03 for material Z I see class A and the associated characteristic values. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Step 2:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;System B sends Idoc B to insert Class B into material Z. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look in MM03 for material Z I see class A has been deleted, class B and it's associated characteristic values inserted. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to append and not overwrite? I've read something about local classes and a user-exit, but could not solve the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for all you advice and help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 11:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-assignments-deleted-when-using-message-type-clfmas/m-p/1794470#M341510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T11:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Class assignments deleted when using message type 'CLFMAS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-assignments-deleted-when-using-message-type-clfmas/m-p/1794471#M341511</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 use the customer exit 'EXIT_SAPLCLFM_002' for this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This customer exit is triggered before saving the Class / Char data for a material in the database during CLFMAS processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wl_allkssk LIKE LINE OF t_allkssk,&lt;/P&gt;&lt;P&gt;wl_allausp LIKE LINE OF t_allausp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF i_appl = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: t_delcl, t_delob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_allkssk INTO wl_allkssk WHERE vbkz = 'D'.&lt;/P&gt;&lt;P&gt;CLEAR wl_allkssk-vbkz.&lt;/P&gt;&lt;P&gt;MODIFY t_allkssk FROM wl_allkssk INDEX sy-tabix TRANSPORTING vbkz .&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_allausp INTO wl_allausp WHERE statu = 'L'.&lt;/P&gt;&lt;P&gt;CLEAR wl_allausp-statu.&lt;/P&gt;&lt;P&gt;MODIFY t_allausp FROM wl_allausp INDEX sy-tabix TRANSPORTING statu.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_active = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would solve your problem&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhawit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 08:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-assignments-deleted-when-using-message-type-clfmas/m-p/1794471#M341511</guid>
      <dc:creator>former_member823402</dc:creator>
      <dc:date>2011-07-25T08:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Class assignments deleted when using message type 'CLFMAS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-assignments-deleted-when-using-message-type-clfmas/m-p/1794472#M341512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard feature is that in the destination SAP server, if the class in without the flag "Local Class", will be&amp;nbsp; overwriting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the transaction CL02 to mark "Local Class" the class, and will be without change by indound CLFMAS idocs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 10:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-assignments-deleted-when-using-message-type-clfmas/m-p/1794472#M341512</guid>
      <dc:creator>antonio_dossantostorrijos</dc:creator>
      <dc:date>2015-08-10T10:51:30Z</dc:date>
    </item>
  </channel>
</rss>

