<?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 date calculation in variants in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034045#M964157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear magesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this document to learn how to create dynamic variant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ABAP/DynamicVariant/Procedure.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ABAP/DynamicVariant/Procedure.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in choose date validation, choose from month start to today.&lt;/P&gt;&lt;P&gt;this will solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;abhinesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhinesh mishra on Jun 11, 2008 8:54 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2008 06:53:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-11T06:53:38Z</dc:date>
    <item>
      <title>dynamic date calculation in variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034040#M964152</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 need to keep a dynamic date selection in the selection screen variant for the background processing . The selection has to be from start of the month to current date - 1 . for eg. if the current date is 11th june, then the selection screen should contain 1st june to 10th june . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt; Magesh Anandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 06:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034040#M964152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T06:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic date calculation in variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034041#M964153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;var = sy-datum-1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 06:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034041#M964153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T06:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic date calculation in variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034042#M964154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;you mean you are scheduling a variant and in that you want the date like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 06:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034042#M964154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T06:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic date calculation in variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034043#M964155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In  INTIAliZATION  event u can code to check the current date  and from thsi calculate the date  u want on the selct options , as these are going to be the default in back ground mode  user will able run   the date  . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can always  code if want to initialize  in background only check for sy-batch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 06:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034043#M964155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T06:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic date calculation in variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034044#M964156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magesh Anandan,&lt;/P&gt;&lt;P&gt;you may display 2 parameters, both of type date. One of them should be "date from" and the other one "date to".&lt;/P&gt;&lt;P&gt;Then, when saving the variant attributes, check "D: Dynamic date calculation" on column "selection variable". Now you have to populate column "Name of variable (input only using F4)". On the first date parameter ("from"), choose "First day of current month"; on the second date parameter ("to"), choose "Current date +/- ??? days", and enter "-1" when the popup asks you to.&lt;/P&gt;&lt;P&gt;I hope this helps. Kind regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 06:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034044#M964156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T06:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic date calculation in variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034045#M964157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear magesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this document to learn how to create dynamic variant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ABAP/DynamicVariant/Procedure.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ABAP/DynamicVariant/Procedure.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in choose date validation, choose from month start to today.&lt;/P&gt;&lt;P&gt;this will solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;abhinesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhinesh mishra on Jun 11, 2008 8:54 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 06:53:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034045#M964157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T06:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic date calculation in variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034046#M964158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1&amp;gt; First fill in all the selection screen data including Date and save the data as variant.&lt;/P&gt;&lt;P&gt;2&amp;gt; Give some variant name and description. Select the check box corresponding to the Date range as selection variable (L). Next press push button selection variables in the tool bar.&lt;/P&gt;&lt;P&gt;3&amp;gt; Click on the yellow light corresponds to column D(Stands for Dynamic). It will become green colour. &lt;/P&gt;&lt;P&gt;4&amp;gt;Then press the down arrow at the end of the date range.&lt;/P&gt;&lt;P&gt;5&amp;gt;It will display a popup for various calculations.For your requirement choose 'From month start to today'.&lt;/P&gt;&lt;P&gt;6&amp;gt; Save the Variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if Helpful&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 07:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-date-calculation-in-variants/m-p/4034046#M964158</guid>
      <dc:creator>sachin_mathapati</dc:creator>
      <dc:date>2008-06-11T07:03:17Z</dc:date>
    </item>
  </channel>
</rss>

