<?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: Need Help for Variants in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026846#M415567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Tcode SM36 define a Job &amp;amp; add steps with the ABAP program &amp;amp; one varainat for each step &amp;amp; schedule it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2007 17:08:34 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2007-03-05T17:08:34Z</dc:date>
    <item>
      <title>Need Help for Variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026845#M415566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to set no. of varaints for one program and this program will run in by selecting varaints one after one  background as a batch job.&lt;/P&gt;&lt;P&gt;can anybody tell me how will I goabout it after setting variants?&lt;/P&gt;&lt;P&gt;Is there any sample code which helps me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 17:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026845#M415566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T17:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026846#M415567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Tcode SM36 define a Job &amp;amp; add steps with the ABAP program &amp;amp; one varainat for each step &amp;amp; schedule it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 17:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026846#M415567</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-05T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026847#M415568</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;You go to SE38 to create different variants for a program then you go to SM36 to create a job with multi steps which will execute a program with different variants (created above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this links for more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com//saphelp_erp2004/helpdata/EN/c4/3a7f87505211d189550000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com//saphelp_erp2004/helpdata/EN/c4/3a7f87505211d189550000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com//saphelp_erp2004/helpdata/EN/c4/3a7f05505211d189550000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com//saphelp_erp2004/helpdata/EN/c4/3a7f05505211d189550000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 17:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026847#M415568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T17:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026848#M415569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can schedule a back ground job in SM36. Since you have many variants and you want to run one after the other, check if there is a way to mention the variants one after the other. Or else the blunt way of doing it is ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create as many jobs as there are variants in SM36.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 17:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026848#M415569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T17:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026849#M415570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information..&lt;/P&gt;&lt;P&gt;After setting up the varaints and correspnding steps in sM36 ..&lt;/P&gt;&lt;P&gt;What ll be the remaining steps?&lt;/P&gt;&lt;P&gt;if suppose i schedule a job with 72 varaints /steps.and once I release it ..will it execute all steps ?even if one of the steps fails in between..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 19:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026849#M415570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T19:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026850#M415571</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;Once you released, the job will be executed (if you released immediately).&lt;/P&gt;&lt;P&gt;Otherwise the program will be run at the predefined time/schedule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one of the steps fails in between..? &lt;/P&gt;&lt;P&gt;The program will be stopped at the failed step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 19:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026850#M415571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T19:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026851#M415572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to quote SAP help "Job steps run partially independently of each other&amp;#146;s status. That is, the abnormal termination of one job step does not roll back the work of a previously completed job step if this previous step was executing a commit. If any job step fails, however, then the entire job fails. No further job steps are carried out, and the job's status changes to Canceled. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 19:11:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026851#M415572</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-05T19:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help for Variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026852#M415573</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;Variants are the set of data passed as an input to perform operations.&lt;/P&gt;&lt;P&gt;Alv use varinats to store layouts and the function in question here provides F4 help on the parameter field for veriant.&lt;/P&gt;&lt;P&gt;to know more you can check this-&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. When you execute your report which has a parameter or a select option it first goes to the selection screen. In this screen you can find in the path,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto --&amp;gt; variants --&amp;gt; save as variants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will lead to a variant attributes screens where you can give ur values for your parameters and select-options and save it by giving a variant name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that when you execute the same program another time you can see another button on the selection screen where you can select variant according to the variant name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can save any no. of variants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually variants are used for testing for specific values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg. Let us take 5 parameters where the result of the program will vary based on parameter values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test the program by storing a specific values of the parameters in a variant and you can use it during your next execution. ( you need not enter the values for each and every execution. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 23:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-for-variants/m-p/2026852#M415573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T23:44:05Z</dc:date>
    </item>
  </channel>
</rss>

