<?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 Problem with variant while executing the program in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant-while-executing-the-program-in-background/m-p/3116661#M740108</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;I am facing an issue while running an interface program in the background.&lt;/P&gt;&lt;P&gt;There are two scenarios:&lt;/P&gt;&lt;P&gt;1. I run the program from the SE38 screen with variant X which will take me to the selection screen. Then i use F9 to run the program in the background.&lt;/P&gt;&lt;P&gt;2. I run the program using the Execute in Background option from the SE38 screen itself and using the variant X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both will create jobs in SM37 but in case1 i'm not getting the correct output. In the output program statistics i can see the variant has been converted to some SAP codes '&amp;amp;0000' instead of X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate if anyone can give me pointers on why this is happening and how it can be removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I've coded abt variant X in some parts of the program. e.g IF sy-slset NE 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Nirmal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2007 09:48:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-20T09:48:46Z</dc:date>
    <item>
      <title>Problem with variant while executing the program in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant-while-executing-the-program-in-background/m-p/3116661#M740108</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;I am facing an issue while running an interface program in the background.&lt;/P&gt;&lt;P&gt;There are two scenarios:&lt;/P&gt;&lt;P&gt;1. I run the program from the SE38 screen with variant X which will take me to the selection screen. Then i use F9 to run the program in the background.&lt;/P&gt;&lt;P&gt;2. I run the program using the Execute in Background option from the SE38 screen itself and using the variant X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both will create jobs in SM37 but in case1 i'm not getting the correct output. In the output program statistics i can see the variant has been converted to some SAP codes '&amp;amp;0000' instead of X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate if anyone can give me pointers on why this is happening and how it can be removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I've coded abt variant X in some parts of the program. e.g IF sy-slset NE 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Nirmal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 09:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant-while-executing-the-program-in-background/m-p/3116661#M740108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with variant while executing the program in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant-while-executing-the-program-in-background/m-p/3116662#M740109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nirmal!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the selection screen you get first the values of the variant (by selecting the variant / starting with this variant) - but then you can manipulate a value -&amp;gt; sap creates a dummy number where the actual values are saved for the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really need to check the variant of the job, then it's best to use SM36 to define a job. Here you have full control of the job parameters, otherwise it's more luck, if variant X is still used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2007 11:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-variant-while-executing-the-program-in-background/m-p/3116662#M740109</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2007-11-22T11:39:54Z</dc:date>
    </item>
  </channel>
</rss>

