<?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: BADI BOM_UPDATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-bom-update/m-p/1990640#M404163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    DATA: l_matkl type mara-matkl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: stpob TYPE stpob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FIELD_NAME(30) VALUE '(SAPLCSBT)O1-STPOB[]'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;TABLE&amp;gt; TYPE TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN (FIELD_NAME) TO &amp;lt;TABLE&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;TABLE&amp;gt; INTO STPOB.&lt;/P&gt;&lt;P&gt;clear l_matkl&lt;/P&gt;&lt;P&gt;clear stpob-sortf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single matkl&lt;/P&gt;&lt;P&gt;from MARA&lt;/P&gt;&lt;P&gt;into l_matkl&lt;/P&gt;&lt;P&gt;where matnr = stpob-idnrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;concatenate l_matkl(3) '.' stpob-posnr(3) into sortf.&lt;/P&gt;&lt;P&gt;modify &amp;lt;table&amp;gt; from stpob.&lt;/P&gt;&lt;P&gt;*else.&lt;/P&gt;&lt;P&gt;*modify &amp;lt;table&amp;gt; from stpob.&lt;/P&gt;&lt;P&gt;endif.&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;COMMIT WORK and WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2007 07:38:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-31T07:38:44Z</dc:date>
    <item>
      <title>BADI BOM_UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-bom-update/m-p/1990638#M404161</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;where I can find samples about BADI BOM_UPDATE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;txs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 11:34:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-bom-update/m-p/1990638#M404161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T11:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: BADI BOM_UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-bom-update/m-p/1990639#M404162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to make use of the BADI definition BOM_UPDATE, you have do implement this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done by,&lt;/P&gt;&lt;P&gt;1. Go to SE18 and give the BADI BOM_UPDATE.&lt;/P&gt;&lt;P&gt;2.Go to Implementation--&amp;gt;Create then give the implementation name as ZBOM_UPDATE then give the desription for the implementation.&lt;/P&gt;&lt;P&gt;3.Then go to the interface tab there you can find the Methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here for this defintion you can find the methods are CHANGE_IN_UPDATE, CHANGE_BEFORE_UPDATE, CHANGE_AT_SAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put the break point in the relevent methods and activate the implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward the points if it is useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 07:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-bom-update/m-p/1990639#M404162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T07:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: BADI BOM_UPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-bom-update/m-p/1990640#M404163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    DATA: l_matkl type mara-matkl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: stpob TYPE stpob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FIELD_NAME(30) VALUE '(SAPLCSBT)O1-STPOB[]'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;TABLE&amp;gt; TYPE TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN (FIELD_NAME) TO &amp;lt;TABLE&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;TABLE&amp;gt; INTO STPOB.&lt;/P&gt;&lt;P&gt;clear l_matkl&lt;/P&gt;&lt;P&gt;clear stpob-sortf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single matkl&lt;/P&gt;&lt;P&gt;from MARA&lt;/P&gt;&lt;P&gt;into l_matkl&lt;/P&gt;&lt;P&gt;where matnr = stpob-idnrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;concatenate l_matkl(3) '.' stpob-posnr(3) into sortf.&lt;/P&gt;&lt;P&gt;modify &amp;lt;table&amp;gt; from stpob.&lt;/P&gt;&lt;P&gt;*else.&lt;/P&gt;&lt;P&gt;*modify &amp;lt;table&amp;gt; from stpob.&lt;/P&gt;&lt;P&gt;endif.&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;COMMIT WORK and WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 07:38:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-bom-update/m-p/1990640#M404163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T07:38:44Z</dc:date>
    </item>
  </channel>
</rss>

