<?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 Validating infotype 0185 screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-infotype-0185-screen/m-p/9751943#M1774259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am a junior ABAP developer and would like help from more experienced abapers in one of my tasks, i am supposed to enhance infotype 0185 by checking the ID number screen field entered by the user to make sure its exactly 14 characters long i have tried enhancement PBAS0001 - EXIT_SAPFP50M_002&amp;nbsp; which runs after input correctly but i am at a loss as to how to get the values from the screen fields to validate them, i appreciate any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Sep 2013 15:33:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-21T15:33:04Z</dc:date>
    <item>
      <title>Validating infotype 0185 screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-infotype-0185-screen/m-p/9751943#M1774259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am a junior ABAP developer and would like help from more experienced abapers in one of my tasks, i am supposed to enhance infotype 0185 by checking the ID number screen field entered by the user to make sure its exactly 14 characters long i have tried enhancement PBAS0001 - EXIT_SAPFP50M_002&amp;nbsp; which runs after input correctly but i am at a loss as to how to get the values from the screen fields to validate them, i appreciate any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Sep 2013 15:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-infotype-0185-screen/m-p/9751943#M1774259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-21T15:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Validating infotype 0185 screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-infotype-0185-screen/m-p/9751944#M1774260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the way to go about it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the exit you had talked about, (ZXPADU02),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data&amp;nbsp; ls_0185&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;type p0185.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;data: id_len TYPE I,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;when '0185'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* To read values from the screen for validation. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;call &lt;SPAN class="L1S52"&gt;method&lt;/SPAN&gt; cl_hr_pnnnn_type_cast=&amp;gt;prelp_to_pnnnn&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;exporting&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prelp = innnn&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;importing&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pnnnn = ls_0185.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;* Now perform your validation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&amp;nbsp;&amp;nbsp; id_len = strlen ( ls_0185-icnum )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&amp;nbsp;&amp;nbsp; if id_len ne 14. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; message 'Enter ID number in the correct format' type 'E'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&amp;nbsp; endif. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Sep 2013 05:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-infotype-0185-screen/m-p/9751944#M1774260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-22T05:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Validating infotype 0185 screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-infotype-0185-screen/m-p/9751945#M1774261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Sep 2013 09:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-infotype-0185-screen/m-p/9751945#M1774261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-22T09:12:49Z</dc:date>
    </item>
  </channel>
</rss>

