<?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: Input check+conversion without screen? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722459#M315229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the answer is: Although there is some software doing implit I/O conversion for ABAP simple types, you can not use them from ABAP dynamic or static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not just satisfying and still I believe there must be a way to call respective kernel function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Life goes on,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2006 09:48:08 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2006-11-22T09:48:08Z</dc:date>
    <item>
      <title>Input check+conversion without screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722455#M315225</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;if I want to convert text field to internal value I can use FM CONVERSION_EXIT_xyz_INPUT if there is a conversion exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple date, time and numeric fields get converted automatically. Is there a way to do this conversion without a screen field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TNX,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 15:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722455#M315225</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-11-18T15:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Input check+conversion without screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722456#M315226</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;What are you exactly meaning?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can write a code to convert the data before showing it and convert it again after showing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These code won't triggered automatically, of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 15:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722456#M315226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T15:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Input check+conversion without screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722457#M315227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to use the same routine the system uses when converting implicitly. i.e. time in fomat 16:15 will become 161500 internally or 21.03.2006 will become 20060321 or 100,123.26 in US or 100.123,26 will be 100123.260 internal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, this is down in the screen processor and can not be used by ABAP, but who knows exactly. Still have not lost my hope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 15:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722457#M315227</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-11-18T15:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Input check+conversion without screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722458#M315228</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;U should convert tha data by yourself, if know the kind of data you should know which convertion you need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERT_TIME_INPUT'
  EXPORTING
    INPUT                           = '20:30:11'
*   PLAUSIBILITY_CHECK              = 'X'
 IMPORTING
   OUTPUT                          = TIME
 EXCEPTIONS
   PLAUSIBILITY_CHECK_FAILED       = 1
   WRONG_FORMAT_IN_INPUT           = 2
   OTHERS                          = 3
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

DATA: DATE TYPE SY-DATUM.

CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
     EXPORTING
          DATE_EXTERNAL            = '19.11.2006'
     IMPORTING
          DATE_INTERNAL            = DATE
     EXCEPTIONS
          DATE_EXTERNAL_IS_INVALID = 1
          OTHERS                   = 2.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2006 16:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722458#M315228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-18T16:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Input check+conversion without screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722459#M315229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the answer is: Although there is some software doing implit I/O conversion for ABAP simple types, you can not use them from ABAP dynamic or static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not just satisfying and still I believe there must be a way to call respective kernel function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Life goes on,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 09:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-check-conversion-without-screen/m-p/1722459#M315229</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-11-22T09:48:08Z</dc:date>
    </item>
  </channel>
</rss>

