<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409638#M818860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;                  In one of my secheduled program i am using a date in variant ..at the moment i have to change the variant manually...is there any possibility that we can puit that date in variant as current date ...&lt;/P&gt;&lt;P&gt;so that when that report runs it considered date as current date..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2008 09:31:17 GMT</pubDate>
    <dc:creator>former_member240483</dc:creator>
    <dc:date>2008-02-08T09:31:17Z</dc:date>
    <item>
      <title>variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409638#M818860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;                  In one of my secheduled program i am using a date in variant ..at the moment i have to change the variant manually...is there any possibility that we can puit that date in variant as current date ...&lt;/P&gt;&lt;P&gt;so that when that report runs it considered date as current date..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 09:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409638#M818860</guid>
      <dc:creator>former_member240483</dc:creator>
      <dc:date>2008-02-08T09:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409639#M818861</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 cant put the current date as a variant but what you can do it , intialize the date field in the program with the default value of sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 09:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409639#M818861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409640#M818862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are declaring date as a parameter, Do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: variable type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variable = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter p_date type &amp;lt;whatever you have given&amp;gt; default variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are declaring date as a select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options s_date for &amp;lt; whatever you have given&amp;gt; default variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 09:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409640#M818862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T09:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409641#M818863</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 can do this in the variant itself.&lt;/P&gt;&lt;P&gt;Please follow these steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Enter the values in the selection screen&lt;/P&gt;&lt;P&gt;2. Save the variant using the SAVE button&lt;/P&gt;&lt;P&gt;3. In the next screen for the date variable select the 'Selection variable' checkbox (L) and click on the button 'Selection variable' in the toolbar.&lt;/P&gt;&lt;P&gt;4. Now you will see this variable in the next screen with 3 types of buttons. Click on the middle button (ie. D - Dynamic date calculation).&lt;/P&gt;&lt;P&gt;5. Click on the down arrow button and select the option 'Current Date'.&lt;/P&gt;&lt;P&gt;6. Save the variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly assign points if this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 09:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409641#M818863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T09:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409642#M818864</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;Fill your selection-screen fields, then after press SAVE button, then choose(check) save without values check box in the bottom for the corresponding date field. Then click on Maintain Selection Variable button in the application tool bar there you can select the date. Every time the if you select the variant this field value has filled with the value what you have assigned through that push button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you are not able to view that button on application tool bar then you go to Environment-&amp;gt;Main. Sel. Variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 09:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409642#M818864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T09:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409643#M818865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone,&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;i followed the Vasanth way its working fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you time and inputs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 10:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant/m-p/3409643#M818865</guid>
      <dc:creator>former_member240483</dc:creator>
      <dc:date>2008-02-08T10:53:52Z</dc:date>
    </item>
  </channel>
</rss>

