<?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-OPTIONS Obligatory During Runtime in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289801#M1389651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all quick replies..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Atul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain me a little more in detail how to use modify id as i have never used it before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2009 04:16:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-12T04:16:55Z</dc:date>
    <item>
      <title>SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289796#M1389646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a weird requirement for my client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we set a field on selection screen Obligatory during runtime..Just like module pool SCREEN-REQUIRED?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this to make the field manadatory if it is run in foreground and optional in Background using INITIALIZAIION section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance for your Help!&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 04:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289796#M1389646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T04:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289797#M1389647</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 modify id statment when you are declaring it as parameter and then you can do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 04:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289797#M1389647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T04:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289798#M1389648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In initiliazation you will not have the info how th eprogram will be executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 04:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289798#M1389648</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-11-12T04:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289799#M1389649</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;&lt;/P&gt;&lt;P&gt;Try something like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

SELECT-OPTIONS S_ABC for MARA-MATNR. 


INITIALIZATION.

if not sy-batch = 'X'.     "When the report is run in foreground
if S_ABC [] is initial.
message 'Please Enter a value' type 'E'.
endif.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 04:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289799#M1389649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T04:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289800#M1389650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was not aware of that. Wont the sy-batch be populated in the initialization event when run in background?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 04:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289800#M1389650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T04:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289801#M1389651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all quick replies..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Atul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain me a little more in detail how to use modify id as i have never used it before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 04:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289801#M1389651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T04:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289802#M1389652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, sy-batch will be populated once you execute the program but then the program will be executed with the selections you have laready made.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 04:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289802#M1389652</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-11-12T04:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289803#M1389653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;deleted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshu Thekkillam on Nov 12, 2009 9:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 04:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289803#M1389653</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-12T04:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS Obligatory During Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289804#M1389654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Atul...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the Working Code for the requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_PTYPE FOR SAPLANE-PLANETYPE MODIF ID ABC.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;if sy-batch = ' '.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  IF SCREEN-GROUP1 = 'ABC'.&lt;/P&gt;&lt;P&gt;    SCREEN-REQUIRED = '1'.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 05:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-obligatory-during-runtime/m-p/6289804#M1389654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T05:23:07Z</dc:date>
    </item>
  </channel>
</rss>

