<?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: Creating variants in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441584#M209985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what your manager meant, but it probably means that you remove the hardcoding of that queue in the program and then add a parameter to your selection screen that takes in a queue name and processes the clearing of the selected queue. How do you clear the queue? Do you submit a SAP program from within your program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2006 16:24:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-19T16:24:36Z</dc:date>
    <item>
      <title>Creating variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441582#M209983</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;&lt;/P&gt;&lt;P&gt;I am a BW developer,new to ABAP programming. There is a queue in SMQ1 that gets choked often. We created a program to run ever 6 hours to clear the queue. This worked. The problem is, we have written this program for only one queue.&lt;/P&gt;&lt;P&gt;We noticed that we are facing problem with 2 other queues. We do not want to create programs for each and every queue. My manager suggested creating variants for the queues and calling the variants in the program.&lt;/P&gt;&lt;P&gt;I have never done this. Could some guide me through the procedures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I look forward to the advice of the experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 16:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441582#M209983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T16:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441583#M209984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really do not know what your program is and what it is intened. However, for creating a variant, &lt;/P&gt;&lt;P&gt;1) you need to execute the program and get the selection screen.&lt;/P&gt;&lt;P&gt;2) Enter your Selection creteria(Here your Query name, I guess)&lt;/P&gt;&lt;P&gt;3) There is a save button. Save it with name and description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) You could select the saved variant from the icon created to Execute button.&lt;/P&gt;&lt;P&gt;5) Similarly you can create variants for all you selection creterias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Thomas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 16:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441583#M209984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T16:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441584#M209985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what your manager meant, but it probably means that you remove the hardcoding of that queue in the program and then add a parameter to your selection screen that takes in a queue name and processes the clearing of the selected queue. How do you clear the queue? Do you submit a SAP program from within your program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 16:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441584#M209985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T16:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441585#M209986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have hardcoded the name of the queue in the program. We are executing this program in SM37. Calling the program and scheduling it to run every 6 hours. Like you said, adding parameters to the selection screen would solve the problem.&lt;/P&gt;&lt;P&gt;Can you give me some links that would provide me information on the selection screends and parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 18:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441585#M209986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T18:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441586#M209987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply write 'PARAMETERS' or 'SELECT-OPTIONS' or 'SELECTION-SCREEN' in your program, put your cursor on it and press F1. That is the easiest way to access the documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 18:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-variants/m-p/1441586#M209987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T18:23:59Z</dc:date>
    </item>
  </channel>
</rss>

