<?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: Function trouble with field domain that has conversion routine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-trouble-with-field-domain-that-has-conversion-routine/m-p/998295#M75757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I had was right there but just had a coding error when I implemented the CUNIT input function. I guess I just needed the confirmation that I was on the right track.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2005 03:55:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-06T03:55:40Z</dc:date>
    <item>
      <title>Function trouble with field domain that has conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-trouble-with-field-domain-that-has-conversion-routine/m-p/998293#M75755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a function that works when tested from the workbench but not when a value is passed to it. It contains the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;  REFERENCE(I_PACK) TYPE  LRMEI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE&lt;/P&gt;&lt;P&gt;    umrez&lt;/P&gt;&lt;P&gt;  INTO&lt;/P&gt;&lt;P&gt;    w_packunit&lt;/P&gt;&lt;P&gt;  FROM&lt;/P&gt;&lt;P&gt;    marm&lt;/P&gt;&lt;P&gt;  WHERE&lt;/P&gt;&lt;P&gt;    matnr EQ w_cpos1-matnr AND&lt;/P&gt;&lt;P&gt;    meinh EQ i_pack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the workbench 'CT' is converted to 'KAR' and the value is returned but when 'CT' is passed to the function from an outside routine the 'CT' is not converted and no value is returned. I have tried inserting CONVERSION_EXIT_CUNIT_INPUT function into my code but it did not work either. I am sure there must be a fundamental resolution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2005 19:57:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-trouble-with-field-domain-that-has-conversion-routine/m-p/998293#M75755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-05T19:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function trouble with field domain that has conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-trouble-with-field-domain-that-has-conversion-routine/m-p/998294#M75756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The conversion exit CUNIT is the right answer. I don't know, if you're system is different maintained, but I have to fill in CAR and language EN to get KAR as result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An other option is to use ISO-code units. These are defined in T006 and should/can be used in interfaces with external systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of human interface, a CUNIT conversion exit is still the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 00:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-trouble-with-field-domain-that-has-conversion-routine/m-p/998294#M75756</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-10-06T00:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function trouble with field domain that has conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-trouble-with-field-domain-that-has-conversion-routine/m-p/998295#M75757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I had was right there but just had a coding error when I implemented the CUNIT input function. I guess I just needed the confirmation that I was on the right track.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 03:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-trouble-with-field-domain-that-has-conversion-routine/m-p/998295#M75757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T03:55:40Z</dc:date>
    </item>
  </channel>
</rss>

