<?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 UoM convertion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uom-convertion/m-p/5137985#M1190863</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 one scenario,Where the UoM changes to one to other with the following code takes place in BW cube start routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  /BIC/UPRODCODE /BIC/UCONFREG&lt;/P&gt;&lt;P&gt;                      from /BIC/PUPRODCODE&lt;/P&gt;&lt;P&gt;                      into corresponding fields of table it_prodmaster&lt;/P&gt;&lt;P&gt;                     where /BIC/UPRODCODE like 'JP%'.&lt;/P&gt;&lt;P&gt;    sort it_prodmaster by /bic/uprodcode.&lt;/P&gt;&lt;P&gt;    delete adjacent duplicates from it_prodmaster.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT DATA_PACKAGE.&lt;/P&gt;&lt;P&gt;    DATA_PACKAGE-fiscyear = DATA_PACKAGE-calweek+0(4).&lt;/P&gt;&lt;P&gt;    clear it_prodmaster.&lt;/P&gt;&lt;P&gt;    read table it_prodmaster&lt;/P&gt;&lt;P&gt;               with key /bic/uprodcode = DATA_PACKAGE-/BIC/UPRODCODE&lt;/P&gt;&lt;P&gt;               binary search.&lt;/P&gt;&lt;P&gt;    if sy-subrc ne 0 or it_prodmaster-/BIC/UCONFREG = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA_PACKAGE-/BIC/UIOFFCSLQ  = DATA_PACKAGE-/BIC/UIOFFCSLQ * 1000 /&lt;/P&gt;&lt;P&gt;                                   it_prodmaster-/BIC/UCONFREG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, UIOFFCSLQ value is converting but the UoM is not changeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do we change UoM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2009 06:25:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-04T06:25:34Z</dc:date>
    <item>
      <title>UoM convertion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uom-convertion/m-p/5137985#M1190863</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 one scenario,Where the UoM changes to one to other with the following code takes place in BW cube start routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  /BIC/UPRODCODE /BIC/UCONFREG&lt;/P&gt;&lt;P&gt;                      from /BIC/PUPRODCODE&lt;/P&gt;&lt;P&gt;                      into corresponding fields of table it_prodmaster&lt;/P&gt;&lt;P&gt;                     where /BIC/UPRODCODE like 'JP%'.&lt;/P&gt;&lt;P&gt;    sort it_prodmaster by /bic/uprodcode.&lt;/P&gt;&lt;P&gt;    delete adjacent duplicates from it_prodmaster.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT DATA_PACKAGE.&lt;/P&gt;&lt;P&gt;    DATA_PACKAGE-fiscyear = DATA_PACKAGE-calweek+0(4).&lt;/P&gt;&lt;P&gt;    clear it_prodmaster.&lt;/P&gt;&lt;P&gt;    read table it_prodmaster&lt;/P&gt;&lt;P&gt;               with key /bic/uprodcode = DATA_PACKAGE-/BIC/UPRODCODE&lt;/P&gt;&lt;P&gt;               binary search.&lt;/P&gt;&lt;P&gt;    if sy-subrc ne 0 or it_prodmaster-/BIC/UCONFREG = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA_PACKAGE-/BIC/UIOFFCSLQ  = DATA_PACKAGE-/BIC/UIOFFCSLQ * 1000 /&lt;/P&gt;&lt;P&gt;                                   it_prodmaster-/BIC/UCONFREG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, UIOFFCSLQ value is converting but the UoM is not changeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do we change UoM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 06:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uom-convertion/m-p/5137985#M1190863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T06:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: UoM convertion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uom-convertion/m-p/5137986#M1190864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be u require a CONVERSION EXIT for it.&lt;/P&gt;&lt;P&gt;To find the conversion exit for that particular data element, do as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on data element -&amp;gt; it will display its domain, again double click on domain -&amp;gt;&lt;/P&gt;&lt;P&gt;domain screen open, under 'DEFINITION' tab, on 'Convers. Routine' field, it will display its routine. ust double click in that routine. It will take you to possible Conversion routines for that data element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find any problem, revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Padma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Padmashree RamMaghenthar on Feb 4, 2009 12:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 06:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uom-convertion/m-p/5137986#M1190864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T06:36:53Z</dc:date>
    </item>
  </channel>
</rss>

