<?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 Validation in Module Pool Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-module-pool-program/m-p/3179505#M756877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a MP prog to update table 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the fields of table 'x' r coming from other tables. say 'y' and 'z'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to validate those fields against their respective helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have provided f4 help also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i m facing problem during validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried function 'F4IF_FIELD_VALUE_REQUEST' also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2007 09:40:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-21T09:40:50Z</dc:date>
    <item>
      <title>Validation in Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-module-pool-program/m-p/3179505#M756877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a MP prog to update table 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the fields of table 'x' r coming from other tables. say 'y' and 'z'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to validate those fields against their respective helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have provided f4 help also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i m facing problem during validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried function 'F4IF_FIELD_VALUE_REQUEST' also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 09:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-module-pool-program/m-p/3179505#M756877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T09:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Validation in Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-module-pool-program/m-p/3179506#M756878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; if values of fields which are in table 'x' are coming from y and z..u get all the fields required in x into an internal table...then provide f4 help for the fields required using internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then validate the inputs using select query...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or try this sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;provide f4 help and in tables parameter give internal table name which has values which u want to be shown in f4 help ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;retfield = 'input field name'&lt;/P&gt;&lt;P&gt;dynpprog = 'progname'&lt;/P&gt;&lt;P&gt;dynpnr = 'dynnum'&lt;/P&gt;&lt;P&gt;dynprofield = 'structure-inputfield name'&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;value_tab = itab.(internal table with values u want to get while pressing f4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create the Search help on data element level for those fields in your ZTABLE, it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope these would help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 11:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-module-pool-program/m-p/3179506#M756878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T11:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Validation in Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-module-pool-program/m-p/3179507#M756879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before updating 'x' table, just find out what are the check tables of those fields which u r getting from 'y' and 'z' fields.&lt;/P&gt;&lt;P&gt;After that write select(select single) query to the check tables using those values which u want to validate or which u have entered in the screen. there u have put a condistion like. if sy-subrc &amp;lt;&amp;gt; 0. condition satisfy restric that updation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help u.&lt;/P&gt;&lt;P&gt;Or u need more information ask me with out hesitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 13:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-module-pool-program/m-p/3179507#M756879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T13:43:05Z</dc:date>
    </item>
  </channel>
</rss>

