<?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: Can't change PO unit to basic unit by BAPI:BAPI_MATERIAL_MAINTAINDATA_RT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330981#M1538204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the message indicates, you trying to create an alternate uom which is same as Base UoM.  If Basic UoM and Order UoM are same, then anyway you can use it in Purchase order. Why you want to change the Article Master ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Oct 2010 07:09:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-12T07:09:48Z</dc:date>
    <item>
      <title>Can't change PO unit to basic unit by BAPI:BAPI_MATERIAL_MAINTAINDATA_RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330980#M1538203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I am trying to change PO unit to basic by BAPI: BAPI_MATERIAL_MAINTAINDATA_RT, but it didn't work well.&lt;/P&gt;&lt;P&gt;the following is the error messages. but it is ok to change PO unit to any other unit as long as the PO unit is difference from basic unit. how to fix it? thanks in advance.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;The alternative unit of measure is the same as the base unit of measure&lt;/P&gt;&lt;P&gt;Message no. M3332&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;You have entered an alternative unit of measure that is the same as the base unit of measure. These units must be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;Only enter an alternative unit of measure if it differs from the base unit of measure. Otherwise, leave this field blank.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 07:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330980#M1538203</guid>
      <dc:creator>jack_wang4</dc:creator>
      <dc:date>2010-10-12T07:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change PO unit to basic unit by BAPI:BAPI_MATERIAL_MAINTAINDATA_RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330981#M1538204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the message indicates, you trying to create an alternate uom which is same as Base UoM.  If Basic UoM and Order UoM are same, then anyway you can use it in Purchase order. Why you want to change the Article Master ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 07:09:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330981#M1538204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-12T07:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change PO unit to basic unit by BAPI:BAPI_MATERIAL_MAINTAINDATA_RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330982#M1538205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, the user can use any maintained unit in purchase order creation, I just want to change the default PO unit  since the PO items will be thousands of lines and user will take more time to change unit. that is not acceptable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change it by tcode:mm42 and it worked very well. &lt;/P&gt;&lt;P&gt;Why can't BAPI:BAPI_MATERIAL_MAINTAINDATA_RT change it to basic unit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 09:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330982#M1538205</guid>
      <dc:creator>jack_wang4</dc:creator>
      <dc:date>2010-10-12T09:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change PO unit to basic unit by BAPI:BAPI_MATERIAL_MAINTAINDATA_RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330983#M1538206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In MM42, are you changing the PO UoM in Purchasing View - column Order Unit ?  Can you paste the relevant code used in BAPI to update the PO Unit ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 09:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330983#M1538206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-12T09:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change PO unit to basic unit by BAPI:BAPI_MATERIAL_MAINTAINDATA_RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330984#M1538207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the code looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear: wa_bapi_header.&lt;/P&gt;&lt;P&gt;    wa_bapi_header-MATERIAL = lwa_matnr-matnr.&lt;/P&gt;&lt;P&gt;    wa_bapi_header-BASIC_VIEW = c_true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    refresh:&lt;/P&gt;&lt;P&gt;      lit_clientdata, lit_clientdatax,&lt;/P&gt;&lt;P&gt;      lit_clientdataext, lit_clientdataextx.&lt;/P&gt;&lt;P&gt;    clear:&lt;/P&gt;&lt;P&gt;      lwa_clientdata, lwa_clientdatax,&lt;/P&gt;&lt;P&gt;      lwa_clientdataext, lwa_clientdataextx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    lwa_clientdata-function = c_change.&lt;/P&gt;&lt;P&gt;    lwa_clientdata-material = lwa_matnr-matnr.&lt;/P&gt;&lt;P&gt;    lwa_clientdata-po_unit  = lwa_matnr-pomeins.&lt;/P&gt;&lt;P&gt;    append lwa_clientdata to lit_clientdata.&lt;/P&gt;&lt;P&gt;    lwa_clientdatax-function = c_change.&lt;/P&gt;&lt;P&gt;    lwa_clientdatax-material = lwa_matnr-matnr.&lt;/P&gt;&lt;P&gt;    lwa_clientdatax-po_unit  = c_true.&lt;/P&gt;&lt;P&gt;    append lwa_clientdatax to lit_clientdatax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear: lwa_return.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_MATERIAL_MAINTAINDATA_RT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        HEADDATA                   = wa_bapi_header&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        RETURN                     = lwa_return&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        CLIENTDATA                 = lit_clientdata&lt;/P&gt;&lt;P&gt;        CLIENTDATAX                = lit_clientdatax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 10:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330984#M1538207</guid>
      <dc:creator>jack_wang4</dc:creator>
      <dc:date>2010-10-12T10:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change PO unit to basic unit by BAPI:BAPI_MATERIAL_MAINTAINDATA_RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330985#M1538208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to pass the UoM in PO_UNIT field if its same as of Base UoM.  See the Function module documentation for structure CLIENTDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;You need specify a unit of measure in field PO_UNIT (or PO_UNIT_ISO)
only if the order unit is not the same as the base unit of measure
(field BASE_UOM or BASE_UOM_ISO).

If units of measure that do not yet exist in the system are transferred
in the following fields, an entry in the structure UNITSOFMEASURE must
also be transferred for these new units of measure:

o   BASE_UOM (or BASE_UOM_ISO)

o   PO_UNIT (or PO_UNIT_ISO)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In transaction code MM42, See the Basic Data View of the Material.  Check whether Order Unit Radio Button is selected for the Base UoM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 10:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330985#M1538208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-12T10:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't change PO unit to basic unit by BAPI:BAPI_MATERIAL_MAINTAINDATA_RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330986#M1538209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;The BAPI is different from tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By tcode:mm42&lt;/P&gt;&lt;P&gt;step1: change po unit from basic unit to other  -&amp;gt; save    OK&lt;/P&gt;&lt;P&gt;step2: change po unit from other to basic unit  -&amp;gt; save    OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By BAPI:BAPI_MATERIAL_MAINTAINDATA_RT&lt;/P&gt;&lt;P&gt;step1: change po unit from basic unit to other  OK&lt;/P&gt;&lt;P&gt;step2: change po unit from other to basic unit  ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the difference.&lt;/P&gt;&lt;P&gt;You let me know what can do and what can not do of this BAPI Although the problem is not solved.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 02:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-t-change-po-unit-to-basic-unit-by-bapi-bapi-material-maintaindata-rt/m-p/7330986#M1538209</guid>
      <dc:creator>jack_wang4</dc:creator>
      <dc:date>2010-10-13T02:42:53Z</dc:date>
    </item>
  </channel>
</rss>

