<?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: Conversion routine external-&amp;gt;internal for MENG13 fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132695#M448442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here lv_meng must be a character type variable&lt;/P&gt;&lt;P&gt;SElect single DCPFM from USR01 into v_DCPFM where BNAME = sy-uname.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;if v_dcpfm = space.&lt;/P&gt;&lt;P&gt;lv_meng = v_meng13.&lt;/P&gt;&lt;P&gt;Replace all occurances of  '.' with '' in lv_meng.&lt;/P&gt;&lt;P&gt;Replace all occurances of  ',' with '.' in lv_meng.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if v_dcpfm = 'X'.&lt;/P&gt;&lt;P&gt;lv_meng = v_meng13.&lt;/P&gt;&lt;P&gt;Replace all occurances of  ',' with '' in lv_meng.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if v_dcpfm = 'Y'.&lt;/P&gt;&lt;P&gt;lv_meng = v_meng13.&lt;/P&gt;&lt;P&gt;Replace all occurances of  ' ' with '' in lv_meng.&lt;/P&gt;&lt;P&gt;Replace all occurances of  ',' with '.' in lv_meng.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2007 11:55:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-13T11:55:06Z</dc:date>
    <item>
      <title>Conversion routine external-&gt;internal for MENG13 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132693#M448440</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;I'm looking for a possibility to convert a number of type MENG13 from external (text) to internal format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is important, that the decimal notation of the input differs from country to country or even from user to user, and I need to consider this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for input in english decimal notation:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
123,456,789.12 should be converted to 123456789.120
    456,789    should be converted to    456789.000
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for input in german decimal notation:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
123.456.789,12 should be converted to 123456789.120
    456.789    should be converted to    456789.000
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is exactly what happens, if you input a number into a dynpro field with reference to a dataelement with underlying domain MENG13. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I was not able to find a safe method to implement this behaviour. I could also not find a conversion_exit or some function module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jan Hempel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 11:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132693#M448440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T11:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion routine external-&gt;internal for MENG13 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132694#M448441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Search for a domain with that format and use it.&lt;/P&gt;&lt;P&gt;Other wise create a domain with that format and move the data into that field&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 11:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132694#M448441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T11:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion routine external-&gt;internal for MENG13 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132695#M448442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here lv_meng must be a character type variable&lt;/P&gt;&lt;P&gt;SElect single DCPFM from USR01 into v_DCPFM where BNAME = sy-uname.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;if v_dcpfm = space.&lt;/P&gt;&lt;P&gt;lv_meng = v_meng13.&lt;/P&gt;&lt;P&gt;Replace all occurances of  '.' with '' in lv_meng.&lt;/P&gt;&lt;P&gt;Replace all occurances of  ',' with '.' in lv_meng.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if v_dcpfm = 'X'.&lt;/P&gt;&lt;P&gt;lv_meng = v_meng13.&lt;/P&gt;&lt;P&gt;Replace all occurances of  ',' with '' in lv_meng.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if v_dcpfm = 'Y'.&lt;/P&gt;&lt;P&gt;lv_meng = v_meng13.&lt;/P&gt;&lt;P&gt;Replace all occurances of  ' ' with '' in lv_meng.&lt;/P&gt;&lt;P&gt;Replace all occurances of  ',' with '.' in lv_meng.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 11:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132695#M448442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T11:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion routine external-&gt;internal for MENG13 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132696#M448443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just moving the data into a field of the desiredt type does not work, because no conversion occurs in taht case. It will instead raise a number-conversion shortdump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrads&lt;/P&gt;&lt;P&gt;Jan Hempel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132696#M448443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion routine external-&gt;internal for MENG13 fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132697#M448444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that works great! Thanks a lot, points awarded!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jan Hempel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-external-gt-internal-for-meng13-fields/m-p/2132697#M448444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:47:06Z</dc:date>
    </item>
  </channel>
</rss>

