<?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: If checkbox is checked, put values in select-options and parameter... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051240#M722387</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;  Use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN ON P_END.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF P_END = 'X' AND ( P_EINDT = ' ' ) AND (P_MONAT = ' ').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     mESSAGE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But since you  have given both the parameters as obligatory , you need to give some input values. &lt;/P&gt;&lt;P&gt; As per my understanding of ur query, i have coded as if p_end checkbox is checked  and p_eindt and p_monat is empty, it would show some messge as to fill the values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful,&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;Vani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2007 08:00:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-27T08:00:09Z</dc:date>
    <item>
      <title>If checkbox is checked, put values in select-options and parameter...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051237#M722384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
Hello Experts, 

Based on my selection-screen below, How do I fill p_eindt and p_monat with values if
the user clicked on the checkbox p_end? Below is my selection-screen:

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-003.
SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE text-001.
PARAMETER: p_bukrs TYPE bukrs OBLIGATORY.
SELECT-OPTIONS: p_werks FOR wa_ekpo-werks OBLIGATORY NO INTERVALS,
                p_bsart FOR ekko-bsart OBLIGATORY NO INTERVALS,
                p_eindt FOR eket-eindt OBLIGATORY,
                p_ebeln FOR ekko-ebeln.
PARAMETER: p_monat TYPE monat OBLIGATORY,
           p_gjahr TYPE gjahr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK 1.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002.
PARAMETER: p_end AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF BLOCK b2.

Hope you can help me guys.Thank you and take care!
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 07:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051237#M722384</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2007-11-27T07:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: If checkbox is checked, put values in select-options and parameter...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051238#M722385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,can you describe your problem in more detail?&lt;/P&gt;&lt;P&gt;as you used the 'obligatory' in your selection screen .you must fill the value p_eindt and p_monat if you want to run the program.&lt;/P&gt;&lt;P&gt;what do you want to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 07:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051238#M722385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T07:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: If checkbox is checked, put values in select-options and parameter...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051239#M722386</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 values u want to pass as a default values ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 07:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051239#M722386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T07:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: If checkbox is checked, put values in select-options and parameter...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051240#M722387</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;  Use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN ON P_END.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF P_END = 'X' AND ( P_EINDT = ' ' ) AND (P_MONAT = ' ').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     mESSAGE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But since you  have given both the parameters as obligatory , you need to give some input values. &lt;/P&gt;&lt;P&gt; As per my understanding of ur query, i have coded as if p_end checkbox is checked  and p_eindt and p_monat is empty, it would show some messge as to fill the values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful,&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;Vani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 08:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051240#M722387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T08:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: If checkbox is checked, put values in select-options and parameter...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051241#M722388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to fill up p_eindt from December 1 up to 31 and p_monat with 12 when user clicked on &lt;/P&gt;&lt;P&gt;p_end checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So p_eindt will have a value of lets say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12/01/2007 - 12/31/2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and p_monat with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 08:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051241#M722388</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2007-11-27T08:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: If checkbox is checked, put values in select-options and parameter...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051242#M722389</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;  For F4 help for any input value in selection screen u can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_eidnt-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT DISTINCT edint INTO TABLE IT_ab FROM &amp;lt;tablename&amp;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;&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;DDIC_STRUCTURE         = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;     RETFIELD               = 'eindt'&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    PVALKEY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;     DYNPPROG               = W_REPID&lt;/P&gt;&lt;P&gt;      DYNPNR                 = W_DYNNR&lt;/P&gt;&lt;P&gt;     DYNPROFIELD            = 'p_eindt-LOW'&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    STEPL                  = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;      WINDOW_TITLE           = 'Plant'&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    VALUE                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;      VALUE_ORG              = 'S'&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    MULTIPLE_CHOICE        = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    DISPLAY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    CALLBACK_PROGRAM       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    CALLBACK_FORM          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    MARK_TAB               = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    USER_RESET             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    VALUE_TAB              = it_abc&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    FIELD_TAB              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    RETURN_TAB             = IT_RETURN&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    DYNPFLD_MAPPING        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   PARAMETER_ERROR        = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   NO_VALUES_FOUND        = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   OTHERS                 = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 10:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-checkbox-is-checked-put-values-in-select-options-and-parameter/m-p/3051242#M722389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T10:00:05Z</dc:date>
    </item>
  </channel>
</rss>

