<?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 Infotype Entry Validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-entry-validation/m-p/4759028#M1115989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i create an entry for an infotype via Pa30, The data i givein for a particular field if invalid should immediately prompt me for an error message when i start moving to the next field. I dont want my error message to come when i give "SAVE" rather i want it instantly when i move on to the nest field. How can i go about this i.e. where should i place my validation code? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 13:15:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-14T13:15:26Z</dc:date>
    <item>
      <title>Infotype Entry Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-entry-validation/m-p/4759028#M1115989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i create an entry for an infotype via Pa30, The data i givein for a particular field if invalid should immediately prompt me for an error message when i start moving to the next field. I dont want my error message to come when i give "SAVE" rather i want it instantly when i move on to the nest field. How can i go about this i.e. where should i place my validation code? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 13:15:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-entry-validation/m-p/4759028#M1115989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T13:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Infotype Entry Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-entry-validation/m-p/4759029#M1115990</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;There is no such event like lost focus or something.&lt;/P&gt;&lt;P&gt;You can do one thing, place your validation in 'WHEN OTHERS' condition of case endcase along with 'WHEN SAVE' inside PAI module.&lt;/P&gt;&lt;P&gt;This called when u press enter or any event is occured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2008 03:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-entry-validation/m-p/4759029#M1115990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-15T03:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Infotype Entry Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-entry-validation/m-p/4759030#M1115991</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;Thier must be some exit for this under which you can write your code for validation checking.&lt;/P&gt;&lt;P&gt;You can try this exit PBAS0001 in SMOD.Under it you will get 2 component write the code under 2nd component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sample code for error message display for an infotype&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
  i0000         LIKE p0000,
  w_persk4(25)  TYPE c VALUE '(SAPFP50M)PSPAR-plans'.

ASSIGN (w_persk4) TO &amp;lt;fs&amp;gt;.

CASE:innnn-infty.

  WHEN:'0000'.

    CALL METHOD cl_hr_pnnnn_type_cast=&amp;gt;prelp_to_pnnnn
      EXPORTING
        prelp = innnn
      IMPORTING
        pnnnn = i0000.

    IF i0000-massn = '01' OR i0000-massn = '12'.
      IF &amp;lt;fs&amp;gt; = '99999999'.

        MESSAGE text-000 TYPE 'E'.

        CALL METHOD cl_hr_pnnnn_type_cast=&amp;gt;pnnnn_to_prelp
          EXPORTING
            pnnnn = i0000
          IMPORTING
            prelp = innnn.

      ENDIF.
    ENDIF.

ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Anomitro Guha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2008 03:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-entry-validation/m-p/4759030#M1115991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-15T03:49:15Z</dc:date>
    </item>
  </channel>
</rss>

