<?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: [Help] Multiple Selection at Select Options. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232813#M1629376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that obligatory attribute makes it annoying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try including this before you perform your display form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if s_matnr[] is initial.
message I000(8Z) with 'Please enter a material number'.
endif. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2011 15:10:58 GMT</pubDate>
    <dc:creator>sjeevan</dc:creator>
    <dc:date>2011-09-20T15:10:58Z</dc:date>
    <item>
      <title>[Help] Multiple Selection at Select Options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232812#M1629375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;People, I've coded following Select Options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: g_created TYPE zapomatxref-erdat,&lt;/P&gt;&lt;P&gt;            g_modif   TYPE zapomatxref-aedat,&lt;/P&gt;&lt;P&gt;            g_matnr   TYPE zapomatxref-pr1_material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_creat FOR g_created,&lt;/P&gt;&lt;P&gt;                               s_modif FOR g_modif,&lt;/P&gt;&lt;P&gt;                               s_matnr FOR g_matnr OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thing is, when I execute the program and hit the Multiple Selection, an error pops up saying "Fill in all required fields".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it goes through PBO validating that OBLIGATORY so I can't enter the multiple selection screen.. But is there a way to enter the multiple selection screen without changing the OBLIGATORY adition ?&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;PS: This is an executable program, not module pool. Also I want to enter Mutliple Selection screen without filling s_matnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 14:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232812#M1629375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T14:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Help] Multiple Selection at Select Options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232813#M1629376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that obligatory attribute makes it annoying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try including this before you perform your display form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if s_matnr[] is initial.
message I000(8Z) with 'Please enter a material number'.
endif. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 15:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232813#M1629376</guid>
      <dc:creator>sjeevan</dc:creator>
      <dc:date>2011-09-20T15:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: [Help] Multiple Selection at Select Options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232814#M1629377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But the OBLIGATORY addition still won't let me show the multiple selection first.. and if I remove this addition, then the information message does not stop the process if user hits execute and no matnr is entered. That's why I'm having this issue..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 15:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232814#M1629377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T15:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: [Help] Multiple Selection at Select Options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232815#M1629378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, solved the problem. You have to remove the OBLIGATORY addition and set the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;("Percentage symbol" below is the traditional percentage centessimal symbol we know, the mozilla wont let me insert it...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP Include:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
CONSTANTS: c_per002     TYPE c    VALUE '(percentage symbol)002'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAIN PROGRAM:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
AT SELECTION-SCREEN ON s_matnr.

  IF sy-ucomm NE c_per002.

    IF s_matnr[] IS INITIAL.
      MESSAGE e025(ycapo).
    ENDIF.

  ENDIF.

START-OF-SELECTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: c_per002 comes to be the sy-ucomm value when hitting Multiple Selection Button at Selection Screen.. As any action validates the whole screen, you just set a clause when you don't want to validate if sy-ucomm not equals (different from) c_per002.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 15:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232815#M1629378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: [Help] Multiple Selection at Select Options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232816#M1629379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What message class did you use? Or you created your own?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 16:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232816#M1629379</guid>
      <dc:creator>sjeevan</dc:creator>
      <dc:date>2011-09-20T16:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: [Help] Multiple Selection at Select Options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232817#M1629380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry.. forgot to explain that.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message class ycapo , number 025: "Fill in MATNR field" or something like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 18:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-multiple-selection-at-select-options/m-p/8232817#M1629380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T18:09:39Z</dc:date>
    </item>
  </channel>
</rss>

