<?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: Table maintenance Field Validations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948152#M1488259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rekha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can achieve what ever your requirements are, but you have to do your own custom coding for the same. You need to create you own PAI module in the screen where you need to pre-populate the values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, one thing you should keep in mind is that ABAP Dynpro is not based on user events like HTML or JavaScript    where you can validate or load values dynamically. You have to wait for the user to press or trigger an event which you can only process in the PAI Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can scan the Forum for multiple code and examples on the above mentioned requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jun 2010 15:41:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-21T15:41:40Z</dc:date>
    <item>
      <title>Table maintenance Field Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948149#M1488256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created Ztable with 3 fields MATNR,MCH,Site.I have created table maintenance for this.My requirement is when user make new entries or change existing entries MATNR and Site should be for input and MCH is output field only and value in MCH&lt;/P&gt;&lt;P&gt;will get populated as soon as user enter MATNR(based on Matnr value MCH will be determined.I am able to make MCH field as&lt;/P&gt;&lt;P&gt;output only but when I tried to code validations using Event I am unable to access MCH field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Code I need to write in Event Forms to achieve this .My table name is ZMMDIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rekha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 17:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948149#M1488256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-16T17:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance Field Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948150#M1488257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rekha,&lt;/P&gt;&lt;P&gt; If you are using E program type, then try to program your need in AT SELECTION SCREEN event. If the program is of type M, then use FIELD statement and check_module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide more information to understand it accurately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dinesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 08:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948150#M1488257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-21T08:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance Field Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948151#M1488258</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;You can do the below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Make the column for MCH field as output only by: Double click on the screen in table maintenance and go the the screen painter., In that select the column and click : Output only option; This will make the whole column output only and user cannot enter the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Now in the table maintenance generator events: Table maintenance -&amp;gt; Modifications-&amp;gt;Events ; Add logic to automatically populate the MCH values based on your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you need to do so in create and change, it is suggested to use Event: 01-Before save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRACT internal table will contain the data in the table maintenance screen so that you can use it for processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 11:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948151#M1488258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-21T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance Field Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948152#M1488259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rekha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can achieve what ever your requirements are, but you have to do your own custom coding for the same. You need to create you own PAI module in the screen where you need to pre-populate the values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, one thing you should keep in mind is that ABAP Dynpro is not based on user events like HTML or JavaScript    where you can validate or load values dynamically. You have to wait for the user to press or trigger an event which you can only process in the PAI Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can scan the Forum for multiple code and examples on the above mentioned requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 15:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948152#M1488259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-21T15:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance Field Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948153#M1488260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For first part : Make the column for MCH field as output only by: Double click on the screen in table maintenance and go the the screen painter., In that select the column and click : Output only option; This will make the whole column output only and user cannot enter the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Now in the table maintenance generator events: Table maintenance -&amp;gt; Modifications-&amp;gt;Events ; Choose event 05-create a new entry. From here you can populate other field value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mrinmoy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 16:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948153#M1488260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-23T16:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance Field Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948154#M1488261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 16:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-field-validations/m-p/6948154#M1488261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-24T16:52:38Z</dc:date>
    </item>
  </channel>
</rss>

