<?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 Variant_Check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-check/m-p/7838666#M1590704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing an issue in finding whether my program is executed with variant or not.&lt;/P&gt;&lt;P&gt;My main objective is that if my program is running in background mode without using an Variant it should &lt;/P&gt;&lt;P&gt;giver error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg-1. If thorugh SE38 i selected Run In Background mode without selecting any variant it should give error message.&lt;/P&gt;&lt;P&gt;     2.If through SM36 i schedule a job without selecting any Variant again it should give error message.&lt;/P&gt;&lt;P&gt;    3, if variant is selected in both the above methods then program will get executed.&lt;/P&gt;&lt;P&gt;    4.if run in foreground mode then program should get executed without checking for variant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2011 15:36:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-17T15:36:41Z</dc:date>
    <item>
      <title>Variant_Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-check/m-p/7838666#M1590704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing an issue in finding whether my program is executed with variant or not.&lt;/P&gt;&lt;P&gt;My main objective is that if my program is running in background mode without using an Variant it should &lt;/P&gt;&lt;P&gt;giver error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg-1. If thorugh SE38 i selected Run In Background mode without selecting any variant it should give error message.&lt;/P&gt;&lt;P&gt;     2.If through SM36 i schedule a job without selecting any Variant again it should give error message.&lt;/P&gt;&lt;P&gt;    3, if variant is selected in both the above methods then program will get executed.&lt;/P&gt;&lt;P&gt;    4.if run in foreground mode then program should get executed without checking for variant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 15:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-check/m-p/7838666#M1590704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T15:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Variant_Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-check/m-p/7838667#M1590705</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;                   When your execute a report by choosing - Execute in background it will not give you any error unless you make a field obligatory or check the field is filled in at-selection-screen event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The same holds good for running in fore ground as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 15:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-check/m-p/7838667#M1590705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T15:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Variant_Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-check/m-p/7838668#M1590706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
At Selection-Screen.

  If SY-BATCH eq 'X' and SY-SLSET is initial.
    Message E208(00) with 'Cannot run in background without variant'.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 19:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-check/m-p/7838668#M1590706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T19:01:34Z</dc:date>
    </item>
  </channel>
</rss>

