<?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: Restricting blank entry in table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297701#M157393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry, I was wrong here. SAP dosn't do the validation for the blank fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to explicitly do that by providing validation for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase, the table is Z* table you can write the code for doing this in TABLE MAINTENANCE GENERATOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto Utilities --&amp;gt; Table Maintenance Generator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Mishra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 May 2006 14:03:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-08T14:03:43Z</dc:date>
    <item>
      <title>Restricting blank entry in table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297697#M157389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt; how to resctrict the blank entries in key field of the table? i.e if user leaves one of the key fields blank while creating the entry it should not allloe so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 13:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297697#M157389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T13:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting blank entry in table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297698#M157390</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;While inserting records in the table, SAP by default checks that you supply all the key fields with a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can not keep the key fields blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Mishra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Amit Mishra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 13:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297698#M157390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T13:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting blank entry in table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297699#M157391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is not a true statement.  SAP does not validate that all key fields have been filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to add screen validations in your code.  Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the_current_field is initial.&lt;/P&gt;&lt;P&gt;  message i000 with 'Please enter a value'.&lt;/P&gt;&lt;P&gt;  exit.  "to prevent the DB update from occurring&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 13:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297699#M157391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T13:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting blank entry in table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297700#M157392</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; Yes as John has mentioned atleast one EMPTY entry for the key fields can be made if there is no validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SAP does not provide std validation.&lt;/P&gt;&lt;P&gt; You can write events to handle the validation for your custom tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CHeers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 14:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297700#M157392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T14:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting blank entry in table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297701#M157393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry, I was wrong here. SAP dosn't do the validation for the blank fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to explicitly do that by providing validation for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase, the table is Z* table you can write the code for doing this in TABLE MAINTENANCE GENERATOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto Utilities --&amp;gt; Table Maintenance Generator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Mishra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 14:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297701#M157393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T14:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting blank entry in table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297702#M157394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more clarification, please provide more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, please reward points accordingly and close the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 14:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297702#M157394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T14:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting blank entry in table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297703#M157395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restricting-blank-entry-in-table/m-p/1297703#M157395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T09:16:08Z</dc:date>
    </item>
  </channel>
</rss>

