<?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_MATERIAL_SAVEDATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777532#M38900</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;Yes i wrote the function module to call the bapi.&lt;/P&gt;&lt;P&gt;inside the fm, i have called the bapi_transaction_commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the same input i have chnaged the basic quantity unit and set the flags. it is updating into the material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for oldmaterial number, division are all not getting updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know what is the problem.&lt;/P&gt;&lt;P&gt;should i have input all the fields in the view selected.&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2004 11:20:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-10-22T11:20:04Z</dc:date>
    <item>
      <title>BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777530#M38898</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 am using the bapi_material_savedata to update the material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the test i created the material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For updation,&lt;/P&gt;&lt;P&gt;I gave the following details&lt;/P&gt;&lt;P&gt;material code - header&lt;/P&gt;&lt;P&gt;industrial code - header&lt;/P&gt;&lt;P&gt;material type - header&lt;/P&gt;&lt;P&gt;basicview flag - header&lt;/P&gt;&lt;P&gt;material group and its flag - clientdata&lt;/P&gt;&lt;P&gt;Division  - clientdata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i ran the bapi.&lt;/P&gt;&lt;P&gt;It does not update the division data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please anyone help me how to handle this bapi&lt;/P&gt;&lt;P&gt;What r the values has to be furnished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2004 10:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777530#M38898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-22T10:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777531#M38899</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;did you commit your work with the fm&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT? This should be done after running a bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2004 11:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777531#M38899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-22T11:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777532#M38900</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;Yes i wrote the function module to call the bapi.&lt;/P&gt;&lt;P&gt;inside the fm, i have called the bapi_transaction_commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the same input i have chnaged the basic quantity unit and set the flags. it is updating into the material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for oldmaterial number, division are all not getting updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know what is the problem.&lt;/P&gt;&lt;P&gt;should i have input all the fields in the view selected.&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2004 11:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777532#M38900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-22T11:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777533#M38901</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;isn't the division some kind of sales view data, is it? If yes you need also to check the sales_view + some additional fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2004 11:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777533#M38901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-22T11:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777534#M38902</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;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Divivsion field is in basic view.&lt;/P&gt;&lt;P&gt;But as you said i tried by checking the sales view.&lt;/P&gt;&lt;P&gt;It didnt work. &lt;/P&gt;&lt;P&gt;As far as i am testing, i can update only&lt;/P&gt;&lt;P&gt;weight unit, basic quantity unit, material group .&lt;/P&gt;&lt;P&gt;remaining fields are not updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using X for setting the view flags&lt;/P&gt;&lt;P&gt;I am using 1 for setting the field flags&lt;/P&gt;&lt;P&gt;I am leaving the delete flag as blank. Is it all right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried debugging the bapi also.&lt;/P&gt;&lt;P&gt;since i am new to sap, icould not continue.&lt;/P&gt;&lt;P&gt;the purpose is that i am going to update the material from .net. so i am testing first in abap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please continue your cooperation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2004 11:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777534#M38902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-22T11:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777535#M38903</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;unfortunately I am not very familiar with that BAPI, so I cannot help you at this point. Hope somebody else can answer your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2004 12:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777535#M38903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-22T12:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777536#M38904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried the BAPI on our system just for changing the division. I set the new value for the Division in structure CLIENTDATA and a 'X' in the corresponding field of structure CLIENTDATAX; and it works....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2004 14:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777536#M38904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-22T14:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777537#M38905</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 have found why BAPI_material_savedata didnot update the fields in my server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields are assigned hide permission in the field groups.&lt;/P&gt;&lt;P&gt;if you go to the transaction oms9 you can view the permission. if the fields is assigned hide permission for mal1 and mal2, then bapi wont consider those fields.&lt;/P&gt;&lt;P&gt;any data transfer through ale will use the mal1 and mal2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this might be useful information.&lt;/P&gt;&lt;P&gt;i have searched for 2 weeks but in vein. at last i found somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got another issue.&lt;/P&gt;&lt;P&gt;i directly ran the bapi and i selected the sales view.&lt;/P&gt;&lt;P&gt;i inpuuted the plant and profit center which are mandatory.&lt;/P&gt;&lt;P&gt;everything wnet fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i called the bapi from the report, i hardcoded the value of profit center. bapi does accept the profit center value in this case. same values in direct running and hardcoding didnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody can help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S.Shankar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Shankar selvam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2004 08:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777537#M38905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-28T08:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777538#M38906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only reason I can think of is that profit center is a field with a conversion exit (ALPHA); if you don't use the full 10 characters you should convert the value for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2004 08:32:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-material-savedata/m-p/777538#M38906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-28T08:32:06Z</dc:date>
    </item>
  </channel>
</rss>

