<?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: save extra data with material master in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316245#M1536282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it was helpful, thank a lot. i have one more question related to this code. do you know or maybe anyone else knows what are possible values of wstat-aktyp ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;pawel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Sep 2010 06:28:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-08T06:28:25Z</dc:date>
    <item>
      <title>save extra data with material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316242#M1536279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to save material master data in additional Z tables when material is created or modified. I am trying to find proper BADI or Userexit but I cannot find any. Iu2019ve tried with BADI_MATERIAL_REF and BADI_MATERIAL_CHECK and BADI_MATERIAL_OD and EXIT_SAPLMGMU_001 but they all seem to be designed for other purposes. Do you know if there is any reasonable solution that could be used ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pawel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 07:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316242#M1536279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T07:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: save extra data with material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316243#M1536280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPLMGMU_001 I hope this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the same to update the values in the Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find my sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

    IF wstat-aktyp = lc_h.

      SELECT COUNT(*)
             FROM zmarc_entry
             WHERE werks = wmarc-werks AND
                   matnr = wmara-matnr.

* If entry already exists, don't add it to the table

      CHECK sy-dbcnt LE 0.

      MOVE : wmarc-werks TO lwa_marc_entry-werks,
             wmara-matnr TO lwa_marc_entry-matnr,
             sy-datum TO lwa_marc_entry-erdat.

* Store data in Table 

      INSERT zmarc_entry FROM lwa_marc_entry.


    ENDIF.
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this may helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AMS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 14:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316243#M1536280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T14:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: save extra data with material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316244#M1536281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I expect the problem is solved.If solved please make this post as closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got any other solution please post it before closing it may helpfull to others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AMS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 06:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316244#M1536281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-08T06:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: save extra data with material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316245#M1536282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it was helpful, thank a lot. i have one more question related to this code. do you know or maybe anyone else knows what are possible values of wstat-aktyp ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;pawel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 06:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316245#M1536282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-08T06:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: save extra data with material master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316246#M1536283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AKTYP = 'V'. " Only Change &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AKTYP = 'H'. " Only Creation mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01	Create&lt;/P&gt;&lt;P&gt;02	Change&lt;/P&gt;&lt;P&gt;03	Display&lt;/P&gt;&lt;P&gt;04	Modify (Direct Input: Create/Change)&lt;/P&gt;&lt;P&gt;06	Delete&lt;/P&gt;&lt;P&gt;11	Create defaults&lt;/P&gt;&lt;P&gt;12	Change defaults&lt;/P&gt;&lt;P&gt;13	Display defaults&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the table AKTYP changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this may helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AMS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 11:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-extra-data-with-material-master/m-p/7316246#M1536283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-08T11:29:08Z</dc:date>
    </item>
  </channel>
</rss>

