<?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: issue with conversion factor while changing the unit of issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202874#M470842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you tell me the bapi struture that i need to use and how should i need to pass to the bapi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2007 00:02:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-01T00:02:09Z</dc:date>
    <item>
      <title>issue with conversion factor while changing the unit of issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202872#M470840</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;iam trying to change the basic unit of issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam getting an error saying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAINTAIN THE CONVERSION FACTOR FOR THE ALTERNATIVE UNIT EA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orginally i have a basic unit of meassure as BX (BOX) AND UNIT OF ISSUE AS BLANK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOW I WANT TO KEEP THE basic unit of meassure as BX (BOX) AND CHANGE THE UNIT OF ISSUE FROM BLANK TO EA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAN ANYONE TELL ME HOW TO PASS THE CONVERSION FACTOR TO BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I KNOW THE CONVERSION FACTOR   AS  1 BOX TO 100 EA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET ME KNOW HOW TO PASS THIS TO BAPIBAPI_MATERIAL_SAVEDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 23:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202872#M470840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T23:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: issue with conversion factor while changing the unit of issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202873#M470841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to pass all the units in the UNITSOFMEASURE tables parameter along with the conversion factors. Even if you specify the base unit of measurement in CLIENTDATA, you still have to maintain all others in this tables parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 23:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202873#M470841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T23:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: issue with conversion factor while changing the unit of issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202874#M470842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you tell me the bapi struture that i need to use and how should i need to pass to the bapi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 00:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202874#M470842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T00:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: issue with conversion factor while changing the unit of issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202875#M470843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look at the BAPI in SE37, under the tables parameter tab, you will see that it is referring to BAPI_MARM structure. That is the type for your internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 00:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202875#M470843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T00:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: issue with conversion factor while changing the unit of issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202876#M470844</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;can you check this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute it iam getting an &lt;/P&gt;&lt;P&gt;MAINTAIN THE CONVERSION FACTOR FOR THE ALTERNATIVE UNIT EA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: headdata TYPE bapimathead.&lt;/P&gt;&lt;P&gt;DATA: bapi_marc1  LIKE bapi_marc,&lt;/P&gt;&lt;P&gt;      bapi_marcx  LIKE bapi_marcx.&lt;/P&gt;&lt;P&gt;DATA: return TYPE  bapiret2 .&lt;/P&gt;&lt;P&gt;DATA: returnm TYPE TABLE OF bapi_matreturn2 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_unitsofmeasure TYPE STANDARD TABLE OF bapi_marm.&lt;/P&gt;&lt;P&gt;DATA: it_unitsofmeasurex TYPE STANDARD TABLE OF bapi_marmx.&lt;/P&gt;&lt;P&gt;DATA: wa_unitsofmeasure TYPE bapi_marm.&lt;/P&gt;&lt;P&gt;DATA: wa_unitsofmeasurex TYPE bapi_marmx.&lt;/P&gt;&lt;P&gt;headdata-material  = '00123'.&lt;/P&gt;&lt;P&gt;    headdata-storage_view = 'X'.&lt;/P&gt;&lt;P&gt;    headdata-basic_view = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    bapi_marc1-plant  = 'ABC'.&lt;/P&gt;&lt;P&gt;    bapi_marcx-plant  = 'ABC'.&lt;/P&gt;&lt;P&gt;    bapi_marcx-issue_unit = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT SINGLE meins  FROM mara INTO bASIC&lt;/P&gt;&lt;P&gt;                             WHERE matnr = i_zoritem-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF bASIC NE 'EA'.&lt;/P&gt;&lt;P&gt;      bapi_marc1-issue_unit = 'EA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_unitsofmeasure-alt_unit = bASIC.&lt;/P&gt;&lt;P&gt;wa_unitsofmeasure-denominatr = '1'.&lt;/P&gt;&lt;P&gt;wa_unitsofmeasure-numerator = '6'.&lt;/P&gt;&lt;P&gt;APPEND wa_unitsofmeasure TO it_unitsofmeasure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;wa_unitsofmeasure-alt_unit = buom&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*wa_unitsofmeasure-denominatr = wa_datatab-umren.&lt;/P&gt;&lt;P&gt;*wa_unitsofmeasure-numerator = wa_datatab-umrez.&lt;/P&gt;&lt;P&gt;*APPEND wa_unitsofmeasure TO it_unitsofmeasure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_unitsofmeasurex-alt_unit = bASIC.&lt;/P&gt;&lt;P&gt;wa_unitsofmeasurex-denominatr = 'X'.&lt;/P&gt;&lt;P&gt;wa_unitsofmeasurex-numerator = 'X'.&lt;/P&gt;&lt;P&gt;APPEND wa_unitsofmeasurex TO it_unitsofmeasurex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*bapi_marc1-ISSUE_UNIT_ISO = 'BX'.&lt;/P&gt;&lt;P&gt;*bapi_marcx-ISSUE_UNIT_ISO = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        headdata                   = headdata&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CLIENTDATA                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CLIENTDATAX                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        plantdata                  = bapi_marc1&lt;/P&gt;&lt;P&gt;        plantdatax                 = bapi_marcx&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FORECASTPARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FORECASTPARAMETERSX        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PLANNINGDATA               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PLANNINGDATAX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STORAGELOCATIONDATA        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STORAGELOCATIONDATAX       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VALUATIONDATA              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VALUATIONDATAX             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WAREHOUSENUMBERDATA        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WAREHOUSENUMBERDATAX       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SALESDATA                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SALESDATAX                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STORAGETYPEDATA            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STORAGETYPEDATAX           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        return                     = return&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MATERIALDESCRIPTION        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNITSOFMEASURE             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNITSOFMEASUREX            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                unitsofmeasure = it_unitsofmeasure&lt;/P&gt;&lt;P&gt;               unitsofmeasurex = it_unitsofmeasurex&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INTERNATIONALARTNOS        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MATERIALLONGTEXT           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TAXCLASSIFICATIONS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        returnmessages             = returnm&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRTDATA                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRTDATAX                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONIN                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONINX               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF return-type = 'E'.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;      WRITE : return-message.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&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, 01 May 2007 00:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202876#M470844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T00:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: issue with conversion factor while changing the unit of issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202877#M470845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks ok but why are you selecting from MARA? Is this material already created? Also, what value do you have in "i_zoritem-matnr"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 03:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-conversion-factor-while-changing-the-unit-of-issue/m-p/2202877#M470845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T03:11:19Z</dc:date>
    </item>
  </channel>
</rss>

