<?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: Modify an database table with BAPI_MATERIAL_SAVEDATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624278#M1664232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mejido,&lt;/P&gt;&lt;P&gt;BAPI can be used same as you do with FM , You open the BAPI in se37 and check each and every import parameter structures in it . until you find the required field name that you need to update (in your case '&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;new material code&lt;/SPAN&gt;'&amp;nbsp; ), pass the value to that structure field of the bapi and execute it .the BAPI updates the new value . &lt;/P&gt;&lt;P&gt;For testing perpose please pass your test data into that bapi SE37 and then code accordingly ,it saves your time .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gafoor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2012 08:01:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-27T08:01:21Z</dc:date>
    <item>
      <title>Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624274#M1664228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; I am trying to modify a database table with this BAPI, but I don´t know how I could do that. &lt;/P&gt;&lt;P&gt;I need a function for change the value of a field of my database table.&amp;nbsp; &lt;/P&gt;&lt;P&gt;My database has many fields and I have two fields which are for the material code, one is the "old material code" and another one which is the "new material code".&amp;nbsp; &lt;/P&gt;&lt;P&gt;I give to the function " the center", "old material code" and "new material code". The function should find in my table the old material code and then update the value of the new material code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don´t know how I could do this with the BAPI because I don´t know how I could give to the function the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 07:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624274#M1664228</guid>
      <dc:creator>adrian_mejido</dc:creator>
      <dc:date>2012-03-27T07:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624275#M1664229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you pls share the BAPI name you are using for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 07:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624275#M1664229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-27T07:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624276#M1664230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what do you mean my material code (old/new). Is it material number you mean?&lt;/P&gt;&lt;P&gt;If so... you want to create new material number with data of exising material?&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 07:55:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624276#M1664230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-27T07:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624277#M1664231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please find the below sample code. Below code is updating delivering plant filed. Similarway you can change new material code.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;CLEAR : wa_header, wa_salesdata, wa_salesdatax, wa_return.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; wa_header-material = wa_mvke-matnr.&lt;BR /&gt;&amp;nbsp; wa_header-sales_view = c_x.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; wa_salesdata-sales_org = wa_mvke-vkorg.&lt;BR /&gt;&amp;nbsp; wa_salesdata-distr_chan = wa_mvke-vtweg.&lt;BR /&gt;&amp;nbsp; wa_salesdata-delyg_plnt = wa_plant-werks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; wa_salesdatax-sales_org = wa_mvke-vkorg.&lt;BR /&gt;&amp;nbsp; wa_salesdatax-distr_chan = wa_mvke-vtweg.&lt;BR /&gt;&amp;nbsp; wa_salesdatax-delyg_plnt = c_x.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'BAPI_MATERIAL_SAVEDATA'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; headdata&amp;nbsp;&amp;nbsp; = wa_header&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; salesdata&amp;nbsp; = wa_salesdata&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; salesdatax = wa_salesdatax&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;return&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = wa_return.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; wa_return-&lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; = c_s &lt;SPAN class="L1S52"&gt;OR&lt;/SPAN&gt; wa_return-&lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; = c_w.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'BAPI_TRANSACTION_COMMIT'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;wait&lt;/SPAN&gt; = c_x.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v_success = v_success + &lt;SPAN class="L1S32"&gt;1&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt; : wa_output.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-matnr = wa_mvke-matnr.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-vkorg = wa_mvke-vkorg.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-vtweg = wa_mvke-vtweg.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-dwerk_old = wa_mvke-dwerk.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-dwerk_new = wa_plant-werks.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-status = &lt;SPAN class="L1S52"&gt;text&lt;/SPAN&gt;-&lt;SPAN class="L1S32"&gt;019&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-msg = &lt;SPAN class="L1S52"&gt;text&lt;/SPAN&gt;-&lt;SPAN class="L1S32"&gt;020&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; wa_output &lt;SPAN class="L1S52"&gt;TO&lt;/SPAN&gt; i_output.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt; wa_output.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ELSE&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'BAPI_TRANSACTION_ROLLBACK'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v_error = v_error + &lt;SPAN class="L1S32"&gt;1&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt; : wa_output.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-matnr = wa_mvke-matnr.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-vkorg = wa_mvke-vkorg.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-vtweg = wa_mvke-vtweg.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-dwerk_old = wa_mvke-dwerk.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-dwerk_new = wa_plant-werks.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa_output-status = &lt;SPAN class="L1S52"&gt;text&lt;/SPAN&gt;-&lt;SPAN class="L1S32"&gt;021&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'FORMAT_MESSAGE'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;id&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = wa_return-&lt;SPAN class="L1S52"&gt;id&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lang&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = c_en&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;no&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = wa_return-&lt;SPAN class="L1S52"&gt;number&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = wa_return-message_v1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = wa_return-message_v2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = wa_return-message_v3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = wa_return-message_v4&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = wa_output-msg&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; not_found = &lt;SPAN class="L1S32"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;OTHERS&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L1S32"&gt;2&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; sy-subrc &lt;SPAN class="L1S52"&gt;NE&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;0&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;* Do Nothing&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; wa_output &lt;SPAN class="L1S52"&gt;TO&lt;/SPAN&gt; i_output.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CLEAR&lt;/SPAN&gt; wa_output.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 07:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624277#M1664231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-27T07:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624278#M1664232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mejido,&lt;/P&gt;&lt;P&gt;BAPI can be used same as you do with FM , You open the BAPI in se37 and check each and every import parameter structures in it . until you find the required field name that you need to update (in your case '&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;new material code&lt;/SPAN&gt;'&amp;nbsp; ), pass the value to that structure field of the bapi and execute it .the BAPI updates the new value . &lt;/P&gt;&lt;P&gt;For testing perpose please pass your test data into that bapi SE37 and then code accordingly ,it saves your time .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gafoor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 08:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624278#M1664232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-27T08:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624279#M1664233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- Could you explain more you requirement, do you want to "copy", "rename" or "update" the material master data ?&lt;BR /&gt;(e.g. : what do you call "old material code", is it a material reference (MATNR), or the field old reference (BISMT) or any field of one material master data.)&lt;BR /&gt;- Else look for the data element in the MAR* table, and look for the same data element in the BAPI parameter&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 08:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624279#M1664233</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-03-27T08:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624280#M1664234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;enough documentation is available for this BAPI in Tcode SE37-&amp;gt;ur bapi name click on documentation there...click on import/export tabs to find the parameters you need to import to or export from bapi and click on green button in front of each parameter to find its documentaiton by SAP..it would be much helpful to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 08:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624280#M1664234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-27T08:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624281#M1664235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First thanks for all your replys, but I think that this is the best for my problem. Can you tell me the name of the table where you are changing the field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 08:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624281#M1664235</guid>
      <dc:creator>adrian_mejido</dc:creator>
      <dc:date>2012-03-27T08:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Modify an database table with BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624282#M1664236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to call the Function Module with the following import &amp;amp; export parameters. It is mandatory to pass the header data. If you carefully see the parameter (clientdata: Client-specific material data), you will find it contains the field OLD_MAT_NO (old material no.), the number under which you have managed the &lt;A _jive_internal="true" href="https://answers.sap.com/message/13139076/sapevent:DOCU_LINK\GL:material"&gt;&lt;STRONG&gt;material&lt;/STRONG&gt;&lt;/A&gt; so far or still manage it, Moreover the parameter (clientdatax :information on update for CLIENTDATA)&amp;nbsp; also contains the field OLD_MAT_NO (Domain: BAPIUPDATE), which is a flag that you need to populate with 'X to indicate that is used to select fields containing modified values in the parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;CALL &lt;SPAN class="L1S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'BAPI_MATERIAL_SAVEDATA'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; headdata&amp;nbsp;&amp;nbsp; = la_headdata&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clientdata&amp;nbsp; = la_clientdata&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clientdatax = la_clientdatax&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;return&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = la_return.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;Tanmoy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Tanmoy Mondal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 08:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-an-database-table-with-bapi-material-savedata/m-p/8624282#M1664236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-27T08:06:46Z</dc:date>
    </item>
  </channel>
</rss>

