<?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: Problem with variant ... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356514#M1838581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug the background job in your development system and check how the variant is being picked.&lt;/P&gt;&lt;P&gt;Select the job in SM37 and enter JDBG in command filed and hit enter. Debugger will get activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 06:55:58 GMT</pubDate>
    <dc:creator>Mohamed_Mukhtar</dc:creator>
    <dc:date>2014-05-15T06:55:58Z</dc:date>
    <item>
      <title>Problem with variant ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356510#M1838577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am facing a strange issue. my problem is i have created a varinat and using the same in foreground excution .&lt;/P&gt;&lt;P&gt;in program i have placed a check as mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_varnt TYPE sy-slset NO-DISPLAY.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CHECK sy-batch IS INITIAL.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLEAR p_varnt.&lt;/P&gt;&lt;P&gt;&amp;nbsp; MOVE sy-slset TO p_varnt.&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;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;IF sy-batch &lt;SPAN class="L0S52"&gt;IS&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;INITIAL&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;SINGLE&lt;/SPAN&gt; * &lt;SPAN class="L0S52"&gt;FROM&lt;/SPAN&gt; XXXX &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt; &lt;SPAN class="L0S52"&gt;INTO&lt;/SPAN&gt; wa_XXXX&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;report&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;EQ&lt;/SPAN&gt; sy-repid &lt;SPAN class="L0S52"&gt;AND&lt;/SPAN&gt; vari&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EQ&lt;/SPAN&gt; sy-slset.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;SINGLE&lt;/SPAN&gt; * &lt;SPAN class="L0S52"&gt;FROM&lt;/SPAN&gt; XXXX &lt;SPAN class="L0S52"&gt;INTO&lt;/SPAN&gt; wa_XXXX &lt;SPAN class="L0S52"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;report&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;EQ&lt;/SPAN&gt; sy-repid &lt;SPAN class="L0S52"&gt;AND&lt;/SPAN&gt; vari&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EQ&lt;/SPAN&gt; p_varnt.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;if i execute in forground i will get the variant name because that time sy-batch value will be initial.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;but if i schedule a background through SM36 (creating a job) in development i am getting variant name i don t know how it is picking. when i transport the changes into Quality system it not picking variant name when schedule background job. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;can anuone please help me why it is behaving differently in both servers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Sravan &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/776/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/776/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 14:55:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356510#M1838577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-14T14:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356511#M1838578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is any variant defined in Quality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 03:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356511#M1838578</guid>
      <dc:creator>pavanm592</dc:creator>
      <dc:date>2014-05-15T03:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356512#M1838579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hi Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel while saving the varinat you might have marked the check box for 'Only for back ground processing'&amp;nbsp; or while creating the batch job you might have give the variant name along with the program name, Pelase cross cehck it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 04:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356512#M1838579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-15T04:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356513#M1838580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply.&amp;nbsp; while creating background job i am giving variant name along with program name. everything is same in Development and in Quality. but the behavior of executing is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sravan &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/776/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/776/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/776/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 06:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356513#M1838580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-15T06:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356514#M1838581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug the background job in your development system and check how the variant is being picked.&lt;/P&gt;&lt;P&gt;Select the job in SM37 and enter JDBG in command filed and hit enter. Debugger will get activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 06:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356514#M1838581</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2014-05-15T06:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356515#M1838582</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;Thanks for reply.. i have already debugged and came to know that in development system it is picking before coming to CHECK statement but in Quality it is not picking.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sravan &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/776/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/776/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 07:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356515#M1838582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-15T07:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356516#M1838583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Compare your vairants at &lt;SPAN style="color: #333333; text-indent: 0px;"&gt;&lt;SPAN style="color: #333333; text-indent: 0px;"&gt;SHD0_MANDT&lt;/SPAN&gt; and find the diffrerence. Custom variants are always client dependent. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; text-indent: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Cheers,&lt;/P&gt;&lt;P&gt;Thomas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 09:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant/m-p/10356516#M1838583</guid>
      <dc:creator>thomasmann</dc:creator>
      <dc:date>2014-05-15T09:07:32Z</dc:date>
    </item>
  </channel>
</rss>

