<?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 Update price in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-price/m-p/2499009#M564542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Iam using FM BAPI_M_REVAL_CREATEPRICECHANGE to update standard price in MR21.&lt;/P&gt;&lt;P&gt;when iam testing,its not returning error,but in table MBEW its not updating.&lt;/P&gt;&lt;P&gt;iam using commit also....&lt;/P&gt;&lt;P&gt;where iam missing&lt;/P&gt;&lt;P&gt;Inputs appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2007 12:16:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-06T12:16:33Z</dc:date>
    <item>
      <title>Update price</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-price/m-p/2499009#M564542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Iam using FM BAPI_M_REVAL_CREATEPRICECHANGE to update standard price in MR21.&lt;/P&gt;&lt;P&gt;when iam testing,its not returning error,but in table MBEW its not updating.&lt;/P&gt;&lt;P&gt;iam using commit also....&lt;/P&gt;&lt;P&gt;where iam missing&lt;/P&gt;&lt;P&gt;Inputs appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 12:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-price/m-p/2499009#M564542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T12:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Update price</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-price/m-p/2499010#M564543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    ( just assign valuses to bapi structure and call BAPI function Miodule ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just fill the values and call the BAPI. You can use the function module GUI_UPLOAD to upload your file to internal table, then loop at the internal table and call the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 12:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-price/m-p/2499010#M564543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T12:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update price</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-price/m-p/2499011#M564544</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;In the SAP version 4.6C I have at hands the BAPI contains the next lines:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Im Standard deaktiviert
  error_flag = 'X'.
  IF ( NOT error_flag IS INITIAL ).
    EXIT.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is put there as the first executable statements. So it will not perform its taks.&lt;/P&gt;&lt;P&gt;I don't know the reason behind the deactivation! The bapi is also not formaly released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you fill the next fields in the table call the bapi with this and by-pass the error_flag using the debugger, it should post.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  data:
    lt_mat_price type standard table of BAPI2027_PC_LIST,
    ls_mat_price type BAPI2027_PC_LIST.

  ls_mat_price-plant       = your_bwkey.   " Assumption!
  ls_mat_price-material   = your_matnr.
  ls_mat_price-CURR_TYPE  = '10'.
  ls_mat_price-CHANGE_STD_PRICE  = 'X'.

  ls_mat_price-STD_PRICE  = your_new_price.
  ls_mat_price-CURRENCY =   ls_mat_price-ISO_CODE = your_currency.

  ls_mat_price-PRICE_UNIT = your_price_unit.
  ls_mat_price-QUANTITY_UNIT = your_unit.
  ls_mat_price-ISOCODE_UNIT  = your_unit_in_iso.
  append ls_mat_price to lt_mat_price.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy debugging,&lt;/P&gt;&lt;P&gt;Frans.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 07:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-price/m-p/2499011#M564544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T07:17:11Z</dc:date>
    </item>
  </channel>
</rss>

