<?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: Problem with units MARA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335437#M799342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Manel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this happens because there are conversion exits behind MEINS. This means, everything is stored in German in the database, but displayed in logon language (you can turn this off in SE16). In ABAP you have to handle this accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following FMs are used for the conversion:&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_CUNIT_INPUT &lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_CUNIT_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2008 11:44:10 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-01-30T11:44:10Z</dc:date>
    <item>
      <title>Problem with units MARA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335436#M799341</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 next issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT meins&lt;/P&gt;&lt;P&gt;FROM MARA&lt;/P&gt;&lt;P&gt;INTO l_meins&lt;/P&gt;&lt;P&gt;WHERE mara = i_matnr-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF l_meins EQ 'TS'......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of l_meins should be TS but select returns TH. But when you go to MARA through SE16 and insert the matnr and meins (with TS) you obtain the result but MEINS has TH value. Again, if you do a double click in the line, MEINS appears with TS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any FM to convert TH into TS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use T006 talbe because i have the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 11:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335436#M799341</guid>
      <dc:creator>former_member582701</dc:creator>
      <dc:date>2008-01-30T11:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with units MARA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335437#M799342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Manel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this happens because there are conversion exits behind MEINS. This means, everything is stored in German in the database, but displayed in logon language (you can turn this off in SE16). In ABAP you have to handle this accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following FMs are used for the conversion:&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_CUNIT_INPUT &lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_CUNIT_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 11:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335437#M799342</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-01-30T11:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with units MARA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335438#M799343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the data element MEINS, there is a domain MEINS. navigating to this domain you can see there is a conversion exit bound to that domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so these two FM´s might be quite useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_CUNIT_INPUT&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_CUNIT_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 11:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335438#M799343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T11:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with units MARA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335439#M799344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some values stored in database tables are not the same when they are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because they pass through conversion routine when they are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check the converison routine for MEINS in its domain, it is CUNIT&lt;/P&gt;&lt;P&gt;i.e FMs :CONVERSION_EXIT_CUNIT_INPUT&lt;/P&gt;&lt;P&gt;             CONVERSION_EXIT_CUNIT_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute the FM CONVERSION_EXIT_CUNIT_INPUT to find out the storage value.&lt;/P&gt;&lt;P&gt;INPUT= TS will give OUTPUT=TH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute the FM CONVERSION_EXIT_CUNIT_OUTPUT to find out the display value.&lt;/P&gt;&lt;P&gt;INPUT= TH will give OUTPUT=TS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In code you will always have to use the storage value i.e TH in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else if you want to convert it to TH use the FM CONVERSION_EXIT_CUNIT_INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 11:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-units-mara/m-p/3335439#M799344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T11:46:03Z</dc:date>
    </item>
  </channel>
</rss>

