<?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: Mandatory parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329296#M512307</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;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if SB_KKS is initial.&lt;/P&gt;&lt;P&gt;  Raise Error Message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it is helpful.&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;Sangeetha.a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2007 07:51:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-05T07:51:31Z</dc:date>
    <item>
      <title>Mandatory parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329294#M512305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have to checkboxes. I must choose&amp;lt;b&amp;gt; one&amp;lt;/b&amp;gt; . This must be &amp;lt;b&amp;gt;mandatory&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fot that I have another two parameters. Those are optional. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  They must be in the same screen , in the same line, so I made :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT (3) text-p05 FOR FIELD sb_kks.&lt;/P&gt;&lt;P&gt;PARAMETERS: sb_kks AS CHECKBOX.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 45.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT (13) text-p04 FOR FIELD p_emkey.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_emkey TYPE /bic/azg1e_kks00-/bic/zg1emkey.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1:  How can I choose between the tho ckeckboxes , if the first is also in a selection screen as the second, because it has a parameter that must be in the same line as it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1: How can I make the checkbox mandatory ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 07:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329294#M512305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T07:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329295#M512306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;At SELECTIOn-SCREEN.&lt;/P&gt;&lt;P&gt;IF the Check_box is initial.&lt;/P&gt;&lt;P&gt; Raise the Error message.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 07:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329295#M512306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T07:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329296#M512307</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;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if SB_KKS is initial.&lt;/P&gt;&lt;P&gt;  Raise Error Message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it is helpful.&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;Sangeetha.a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 07:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329296#M512307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T07:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329297#M512308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Anda, &lt;/P&gt;&lt;P&gt;  I am not quiet clear about Question1 , if would be great if you could provide some more details.&lt;/P&gt;&lt;P&gt;For the second question , check box and the obligatory key words cannot be used together , so you need to check whether the check box is checked in the event &lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;e.g. if p_chk1 is the checkbox which is obligatory , then the code will look some thing like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;at selection-screen.
 IF P_CHK1 is initial.
*" Give error message
 endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 07:54:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329297#M512308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T07:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329298#M512309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 45.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT (3) text-p05 FOR FIELD sb_kks.&lt;/P&gt;&lt;P&gt;PARAMETERS: sb_kks AS CHECKBOX.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;IF sb_kks IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE 'Give a value !' type 'I'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 80.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT (13) text-p04 FOR FIELD p_emkey.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_emkey TYPE /bic/azg1e_kks00-/bic/zg1emkey.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;But I get an error message that in form routines and function modules the selection -screen is not accepted :(.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 07:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329298#M512309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T07:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329299#M512310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The AT SELECTION-SCREEN is a report event and cannot be clubbed with the screen declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 45.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT (3) text-p05 FOR FIELD sb_kks.&lt;/P&gt;&lt;P&gt;PARAMETERS: sb_kks AS CHECKBOX.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 80.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT (13) text-p04 FOR FIELD p_emkey.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_emkey TYPE /bic/azg1e_kks00-/bic/zg1emkey.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;IF sb_kks IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE 'Give a value !' type 'I'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is also not possible to code the selection screen parameters in an IF-ENDIF condition. What you can do give an error message if the checkbox is ticked and the parameter is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 07:58:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mandatory-parameters/m-p/2329299#M512310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T07:58:09Z</dc:date>
    </item>
  </channel>
</rss>

