<?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: default values in TVARV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590844#M23804</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;"I want to display current year - 3 years, for ex 2018-3 = 2015.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;STRONG&gt;Please do not share the requirement as it is, always do write the problem which you faced it when you tried the requirement&lt;/STRONG&gt;. &lt;/P&gt;
  &lt;P&gt;Coming to the above issue, for calculation in the year, check whether any period variable is maintained already in TVARVC table, if it is available, use the same. If variable not available, create newly. Also, make sure that the period value in TVARVC table is updated by some background job monthly wise. &lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Rajkumar Narasimman&lt;/P&gt;</description>
    <pubDate>Tue, 24 Apr 2018 13:34:17 GMT</pubDate>
    <dc:creator>rajkumarnarasimman</dc:creator>
    <dc:date>2018-04-24T13:34:17Z</dc:date>
    <item>
      <title>default values in TVARV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590841#M23801</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Anyone help me on how to set as default the current year and period in variant. I want to do a background job for our program using save variants. But I need the period and year to always be assigned what ever is the current year and period.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;Please help me on this.
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 09:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590841#M23801</guid>
      <dc:creator>former_member565266</dc:creator>
      <dc:date>2018-04-24T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: default values in TVARV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590842#M23802</link>
      <description>&lt;P&gt;Hi Sathish, &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;"I need the period and year to always be assigned what ever is the current year and period&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;If current period is required, instead of using variant concept, you can default the values in program level itself like &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;"Declaration
PARAMETER: P_PERIOD TYPE PERIOD DEFAULT SY-DATUM+0(6).

"Else assign like below too
p_period = sy-datum+0(6). &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Rajkumar Narasimman&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 11:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590842#M23802</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-04-24T11:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: default values in TVARV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590843#M23803</link>
      <description>&lt;P&gt;Thanks for quick response.&lt;/P&gt;
  &lt;P&gt;I want to display current year - 3 years, for ex 2018-3 = 2015.&lt;/P&gt;
  &lt;P&gt;How can achieve this. Please help me on this. &lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590843#M23803</guid>
      <dc:creator>former_member565266</dc:creator>
      <dc:date>2018-04-24T12:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: default values in TVARV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590844#M23804</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;"I want to display current year - 3 years, for ex 2018-3 = 2015.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;STRONG&gt;Please do not share the requirement as it is, always do write the problem which you faced it when you tried the requirement&lt;/STRONG&gt;. &lt;/P&gt;
  &lt;P&gt;Coming to the above issue, for calculation in the year, check whether any period variable is maintained already in TVARVC table, if it is available, use the same. If variable not available, create newly. Also, make sure that the period value in TVARVC table is updated by some background job monthly wise. &lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Rajkumar Narasimman&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590844#M23804</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2018-04-24T13:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: default values in TVARV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590845#M23805</link>
      <description>&lt;P&gt;Hi Satish,&lt;/P&gt;
  &lt;P&gt;Following steps to consider setting up it.&lt;/P&gt;
  &lt;P&gt;1. Fill selection screen data and save the data as variant.&lt;/P&gt;
  &lt;P&gt;2. Define a Variant name and in "Field attributes" select the check box for "Selection variable".&lt;/P&gt;
  &lt;P&gt;3. Select &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; Dynamic date calculation and choose corresponding date calculation (attached print).&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 18:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590845#M23805</guid>
      <dc:creator>roberto_forti</dc:creator>
      <dc:date>2018-04-24T18:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: default values in TVARV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590846#M23806</link>
      <description>&lt;P&gt;Hi Satish, &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;you can use the initialization Event to calculate the year like 2018-3 and assigned to the Parameter/select-options . &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 03:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-in-tvarv/m-p/590846#M23806</guid>
      <dc:creator>former_member564522</dc:creator>
      <dc:date>2018-04-25T03:15:55Z</dc:date>
    </item>
  </channel>
</rss>

