<?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: select option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331930#M798419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JNJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the SAP Help:&lt;/P&gt;&lt;P&gt;"This addition can only be specified if the type of parameter is defined through a reference to a data type from the ABAP Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a user action on the selection screen, the current content of the input field is checked against the fixed values possibly defined in the domain of the data type. If the data type is a component of a foreign key table, a check against the check table is executed. If the check is not successful, an error message is displayed in the status line of the selection screen. If the program was called through SUBMIT without display of the selection screen, it is displayed in case of error. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2008 10:33:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-30T10:33:14Z</dc:date>
    <item>
      <title>select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331928#M798417</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;What is the use of Value check in parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be reward all helpfull answers.&lt;/P&gt;&lt;P&gt;JNJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331928#M798417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331929#M798418</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;    VALUE CHECK &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Ensures that the value entered in the field is checkedagainst the check table or fixed values defined in the ABAP Dictionary.There must be a LIKE reference to an ABAP Dictionary field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;If there is a check table, the full foreign key check isgenerated. Consequently, all of the ABAP Dictionary fields involved inthe check must be filled for the check to be meaningful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The check is also performed if the field is empty. You should thereforeuse the OBLIGATORY addition as well when you use VALUE CHECK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES SBOOK. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;PARAMETERS CARRID LIKE SPFLI-CARRID. &lt;/P&gt;&lt;P&gt;PARAMETERS CONNID LIKE SBOOK-CONNID VALUE CHECK. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT. &lt;/P&gt;&lt;P&gt;  IF CARRID IS INITIAL. &lt;/P&gt;&lt;P&gt;    SBOOK-CARRID = 'LH'. &lt;/P&gt;&lt;P&gt;  ELSE. &lt;/P&gt;&lt;P&gt;    SBOOK-CARRID = CARRID. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The foreign key check for SBOOK-CONNID uses the currentcontents of SBOOK-CARRID: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM SPFLI WHERE &lt;/P&gt;&lt;P&gt;  CONNID = CONNID &lt;/P&gt;&lt;P&gt;  AND CARRID = SBOOK-CARRID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example, the AT SELECTION-SCREEN OUTPUT event makessure that a value is placed in field SBOOK-CARRID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331929#M798418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331930#M798419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JNJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the SAP Help:&lt;/P&gt;&lt;P&gt;"This addition can only be specified if the type of parameter is defined through a reference to a data type from the ABAP Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a user action on the selection screen, the current content of the input field is checked against the fixed values possibly defined in the domain of the data type. If the data type is a component of a foreign key table, a check against the check table is executed. If the check is not successful, an error message is displayed in the status line of the selection screen. If the program was called through SUBMIT without display of the selection screen, it is displayed in case of error. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331930#M798419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331931#M798420</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;It will check against foreign key rlation in check table against the values u enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and error message if wrong input..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 12:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3331931#M798420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T12:57:44Z</dc:date>
    </item>
  </channel>
</rss>

