<?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 Dynamic date variant in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296654#M1533505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a selection option s_date in my program where I want to use the dyanmic variant with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is a date range and for the lower range, I would like to have a static value of 04/01/2010 and for the higher range I want to have last date of the prev month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see last date of the prev month in the drop down (F4) Dynamic table, but selecting that is overwriting the s-date-low instead of s_date-high. How can I use the dynamic variant for this ? Can i create my own custom drop downs for these dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_DATE      FROM  (_04/01/2010_)  TO (LAST DATE OF PREV MONTH)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Sep 2010 19:13:55 GMT</pubDate>
    <dc:creator>former_member125661</dc:creator>
    <dc:date>2010-09-20T19:13:55Z</dc:date>
    <item>
      <title>Dynamic date variant in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296654#M1533505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a selection option s_date in my program where I want to use the dyanmic variant with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is a date range and for the lower range, I would like to have a static value of 04/01/2010 and for the higher range I want to have last date of the prev month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see last date of the prev month in the drop down (F4) Dynamic table, but selecting that is overwriting the s-date-low instead of s_date-high. How can I use the dynamic variant for this ? Can i create my own custom drop downs for these dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_DATE      FROM  (_04/01/2010_)  TO (LAST DATE OF PREV MONTH)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 19:13:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296654#M1533505</guid>
      <dc:creator>former_member125661</dc:creator>
      <dc:date>2010-09-20T19:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic date variant in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296655#M1533506</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;Is there any reason you couldn't code the selection as 2 parameter fields (date format) P_FROMDT as your fixed date and P_TODT as your variable date and then save as separate values in the variant, coding the select accordingly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,   Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 20:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296655#M1533506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-20T20:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic date variant in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296656#M1533507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or, why can't you use TVARVC with a custom variable instead of the dynamic date calculation or just use the program initialization code and the 'save field w/o values' option in the variant?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 22:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296656#M1533507</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-09-20T22:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic date variant in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296657#M1533508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot change the program..coz this is a std program and is in production. Also here there is not practice of using TVARVC tables..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 02:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296657#M1533508</guid>
      <dc:creator>former_member125661</dc:creator>
      <dc:date>2010-09-21T02:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic date variant in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296658#M1533509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also here there is not practice of using TVARVC tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then discuss it with your team lead and implement one - that's a bad reason for not using a provided solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 13:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296658#M1533509</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-09-21T13:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic date variant in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296659#M1533510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In variant you can specify dates dynamically.&lt;/P&gt;&lt;P&gt;When you save a variant, system ask you enter variant name and Meaning. On the same screen you can specify these dynamic values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the parameter/select-option where you want to specify dynamic value, press F4 on 'Selection Variable' column.&lt;/P&gt;&lt;P&gt;Choose type of variable as 'D' (Dynamic date calculation).&lt;/P&gt;&lt;P&gt;Press F4 on 'Name of Variable(Input only using F4) column and select 'Current date +/- ??? days' on next screen.&lt;/P&gt;&lt;P&gt;On input screen enter -1.&lt;/P&gt;&lt;P&gt;Repeat same for To Date' field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 13:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296659#M1533510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-21T13:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic date variant in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296660#M1533511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prabhudas -&lt;/P&gt;&lt;P&gt;that would be nice, except the TO is NOT in the list of fields.  You really should try out your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shareen - &lt;/P&gt;&lt;P&gt;did you ever find a work around?  I am facing the same issue, as each user would like to have their own pre-defined Range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Masha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 21:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-variant-in-selection-screen/m-p/7296660#M1533511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T21:53:29Z</dc:date>
    </item>
  </channel>
</rss>

