<?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 Check initial value for foreign key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702184#M307729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen field that should be checked using a check table. This works if I enter any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if the field is left blank then the check does not happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to 'force' the foreign key check even if no value has been entered? (There may or may not be a blank entry in the check table.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2006 11:40:09 GMT</pubDate>
    <dc:creator>roland_spindler</dc:creator>
    <dc:date>2006-10-24T11:40:09Z</dc:date>
    <item>
      <title>Check initial value for foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702184#M307729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen field that should be checked using a check table. This works if I enter any value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if the field is left blank then the check does not happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to 'force' the foreign key check even if no value has been entered? (There may or may not be a blank entry in the check table.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702184#M307729</guid>
      <dc:creator>roland_spindler</dc:creator>
      <dc:date>2006-10-24T11:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Check initial value for foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702185#M307730</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 that manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write a validation in the PAI when value entered inthe screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EG:  FIELD V_SCREEN_FIELD MODULE VALIDATE_FIELD ON INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module is only processed if the corresponding field does not have an initial value(if user enter some thing). &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;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702185#M307730</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-10-24T11:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Check initial value for foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702186#M307731</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, I could, but the field is a customer enhancement of VBAK and I don't want to change transaction VA0x if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702186#M307731</guid>
      <dc:creator>roland_spindler</dc:creator>
      <dc:date>2006-10-24T11:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Check initial value for foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702187#M307732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt; If it is your own program,&lt;/P&gt;&lt;P&gt; Then in the PAI event of the screen,&lt;/P&gt;&lt;P&gt;Validate that field yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN Pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field field1 module check .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module check.&lt;/P&gt;&lt;P&gt;if field1 is initial.&lt;/P&gt;&lt;P&gt;message e001(zz) with 'Invalid Value'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:46:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702187#M307732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T11:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Check initial value for foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702188#M307733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If edit mode of your foreign key relation you can check one checkbox (do not remember exactly its name, but you will find it in SE11 transaction).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702188#M307733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Check initial value for foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702189#M307734</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're probably referring to 'check required'. This checkbox is already checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-initial-value-for-foreign-key/m-p/1702189#M307734</guid>
      <dc:creator>roland_spindler</dc:creator>
      <dc:date>2006-10-24T11:55:28Z</dc:date>
    </item>
  </channel>
</rss>

