<?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 function module for item category update in so in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-item-category-update-in-so/m-p/6647453#M1444380</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;i have written a report to update the item category thru bapi_salesorder_change, but bapi giving error 'cannot change the field PSTYV'.&lt;/P&gt;&lt;P&gt;I want to update the item category in existing sales order, so is there any function module to update the item category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aditya rayalu on Feb 22, 2010 1:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2010 12:33:22 GMT</pubDate>
    <dc:creator>aditya_rayalu</dc:creator>
    <dc:date>2010-02-22T12:33:22Z</dc:date>
    <item>
      <title>function module for item category update in so</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-item-category-update-in-so/m-p/6647453#M1444380</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;i have written a report to update the item category thru bapi_salesorder_change, but bapi giving error 'cannot change the field PSTYV'.&lt;/P&gt;&lt;P&gt;I want to update the item category in existing sales order, so is there any function module to update the item category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aditya rayalu on Feb 22, 2010 1:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 12:33:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-item-category-update-in-so/m-p/6647453#M1444380</guid>
      <dc:creator>aditya_rayalu</dc:creator>
      <dc:date>2010-02-22T12:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: function module for item category update in so</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-item-category-update-in-so/m-p/6647454#M1444381</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;&lt;/P&gt;&lt;P&gt;I think if you use FM BAPI_SALESORDER_CHANGE, you have to explicitly specify the field and its value you want to change. So put the value you want in the field ORDER_ITEM_IN-ITEM_CATEG and also "X" to ORDER_ITEM_INX-ITEM_CATEG and see what happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also use BAPI_TRANSACTION_COMMIT  after BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hiren k.Chitalia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 05:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-item-category-update-in-so/m-p/6647454#M1444381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T05:34:48Z</dc:date>
    </item>
  </channel>
</rss>

