<?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: Selection screen validation for batch in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074922#M974354</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 sy-batch in start-of-selection. not in at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-batch = ' X' . (If it runs in background)&lt;/P&gt;&lt;P&gt;Then raise message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2008 18:55:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-04T18:55:54Z</dc:date>
    <item>
      <title>Selection screen validation for batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074921#M974353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my scenario:&lt;/P&gt;&lt;P&gt;If program is &lt;STRONG&gt;executed in background&lt;/STRONG&gt;, plant (in selection screen) is not mandatory.&lt;/P&gt;&lt;P&gt;If program is &lt;STRONG&gt;executed directly&lt;/STRONG&gt;, plant (in selection screen) needs to be filled (mandatory).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using sy-batch and coding at the AT SELECTION-SCREEN portion for validation but it seems that sy-batch is only populated after START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i code it so that if user does not execute program in background, it will prompt an error message and prompt user to fill the plant field in the selection screen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 18:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074921#M974353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T18:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen validation for batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074922#M974354</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 sy-batch in start-of-selection. not in at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-batch = ' X' . (If it runs in background)&lt;/P&gt;&lt;P&gt;Then raise message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 18:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074922#M974354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T18:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen validation for batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074923#M974355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="807863"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 18:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074923#M974355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen validation for batch</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074924#M974356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i can code in START-OF-SELECTION however, how do i return to selection screen so that user can enter the plant after error message is prompt?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 19:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation-for-batch/m-p/4074924#M974356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T19:00:05Z</dc:date>
    </item>
  </channel>
</rss>

