<?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: Dynamic current date variant with static date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629592#M1664708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I hope you must have done some research on this. Post your code with the issue here.&lt;/P&gt;&lt;P&gt;You can default your date in initialisation event. Else have one hidden selection screen variable which date you can default to current date and another variable that you display to user which can be blank as well..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2012 21:31:44 GMT</pubDate>
    <dc:creator>vijaymanikandan</dc:creator>
    <dc:date>2012-02-24T21:31:44Z</dc:date>
    <item>
      <title>Dynamic current date variant with static date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629590#M1664706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report that I want to execute with a variant that defaults dynamically to today's current date, but I also want to select based on if that date field is initial too.  In one execution.  So select record if date is either today's date (dynamically calculated) or date is initial. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know how I can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 20:33:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629590#M1664706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-24T20:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic current date variant with static date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629591#M1664707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select date&lt;/P&gt;&lt;P&gt;From ztable&lt;/P&gt;&lt;P&gt;Into table gt_table&lt;/P&gt;&lt;P&gt;Where date eq gv_dynamic_date&lt;/P&gt;&lt;P&gt;Or date eq space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 21:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629591#M1664707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-24T21:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic current date variant with static date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629592#M1664708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I hope you must have done some research on this. Post your code with the issue here.&lt;/P&gt;&lt;P&gt;You can default your date in initialisation event. Else have one hidden selection screen variable which date you can default to current date and another variable that you display to user which can be blank as well..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 21:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629592#M1664708</guid>
      <dc:creator>vijaymanikandan</dc:creator>
      <dc:date>2012-02-24T21:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic current date variant with static date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629593#M1664709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, I should be a bit more clear.  I have an SQ01 query that gets executed throughtout the day with a variant.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variant is configured to default PGI date to todays current date.  But I also want it to select all PGI dates that are initial too.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can change the generated SQ01 code, but I was hoping there was a way to do that just through the variant set up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 21:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629593#M1664709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-24T21:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic current date variant with static date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629594#M1664710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Did you try to force value in the variant in the multiple value with a value equal to space? So it will be like default date as today's date and fixed values as space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Force value in the sense we use fixed values in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not working then do coding in infoset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Vijay V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 22:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629594#M1664710</guid>
      <dc:creator>vijaymanikandan</dc:creator>
      <dc:date>2012-02-24T22:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic current date variant with static date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629595#M1664711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if I force the initial date in the variant, then the current date becomes static.  It no longer calculated current date, the next day when it's run.   Can't code the infoset, I don't think, because there's about 5 different variants and they all use different dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 22:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-current-date-variant-with-static-date/m-p/8629595#M1664711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-24T22:29:36Z</dc:date>
    </item>
  </channel>
</rss>

