<?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: Select-option dynamic date on variant in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-dynamic-date-on-variant/m-p/4391487#M1044222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Variant Save screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Against your date field, you will find the Selection Variable and name of the Variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select "D" from the dropdown in the "Selection Variable"&lt;/P&gt;&lt;P&gt;In the "Name of the Variable", do F4, Select option "Current date - xxx,current date + yyy"&lt;/P&gt;&lt;P&gt;In the next Popup give XXX = -7 and yyy = -1.&lt;/P&gt;&lt;P&gt;Save the variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2008 16:13:41 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2008-08-21T16:13:41Z</dc:date>
    <item>
      <title>Select-option dynamic date on variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-dynamic-date-on-variant/m-p/4391485#M1044220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you all have answer to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I am trying to setup a variant and I have a slection-option field that accepts the range of dates. So dynamically calculate begin and end date based on the formula below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE:    &amp;lt;current date - 7&amp;gt;      :    &amp;lt;current date - 1&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did all (well, I think I did!) based on the documentation below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/EN/c0/980374e58611d194cc00a0c94260a5/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/EN/c0/980374e58611d194cc00a0c94260a5/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am still getting the date as "parameter" field (meaning I am getting only one date) and not a range of date as we see in "select-option".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to ECC 6.0 and so please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saplover&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 16:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-dynamic-date-on-variant/m-p/4391485#M1044220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option dynamic date on variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-dynamic-date-on-variant/m-p/4391486#M1044221</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 don't think so there has to be some problem with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you paste the code where you come to know that your select-option value contains only single value and not range of 7 values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug it and send where you are facing a problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kartavya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 16:11:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-dynamic-date-on-variant/m-p/4391486#M1044221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T16:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select-option dynamic date on variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-dynamic-date-on-variant/m-p/4391487#M1044222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Variant Save screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Against your date field, you will find the Selection Variable and name of the Variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select "D" from the dropdown in the "Selection Variable"&lt;/P&gt;&lt;P&gt;In the "Name of the Variable", do F4, Select option "Current date - xxx,current date + yyy"&lt;/P&gt;&lt;P&gt;In the next Popup give XXX = -7 and yyy = -1.&lt;/P&gt;&lt;P&gt;Save the variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 16:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-dynamic-date-on-variant/m-p/4391487#M1044222</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-08-21T16:13:41Z</dc:date>
    </item>
  </channel>
</rss>

