<?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: TVARV table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212090#M1627423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For system will update automatically the value of the year &lt;/P&gt;&lt;P&gt;Use SY-datum+0(4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2011 09:46:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-04T09:46:35Z</dc:date>
    <item>
      <title>TVARV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212089#M1627422</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've a report where there is the field Year.&lt;/P&gt;&lt;P&gt;If I save a variant the next year system will propose 2011 when that variant will be manually selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the system will update automatically the value of the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how to do that by TVARV table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 08:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212089#M1627422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T08:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: TVARV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212090#M1627423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For system will update automatically the value of the year &lt;/P&gt;&lt;P&gt;Use SY-datum+0(4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 09:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212090#M1627423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T09:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: TVARV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212091#M1627424</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;where can I use SY-datum+0(4) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 09:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212091#M1627424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: TVARV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212092#M1627425</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;  Could u be more specific is this a standard report or customization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;a)  In case of customization we can do the following for ( Transaction Variant )&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    The variant gets stored in the table VARID and the variant values are  checked in tables TVARC , TVARV.&lt;/P&gt;&lt;P&gt;     In some programs   the variants are assigned to selection selection screen . These tables are used on the basis of &lt;/P&gt;&lt;P&gt;    variant maintenance&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    The are various scenarios in which it could be used&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    1) In case of execution of report on yearly basis &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;       TABLES: TVARC&lt;/P&gt;&lt;P&gt;       DATA: FROMDATE TYPE SY-DATUM.      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       UPDATE TVARV&lt;/P&gt;&lt;P&gt;       SET LOW = SY-DATUM&lt;/P&gt;&lt;P&gt;       (.. or use offset sy-datum +0(4) andcan pass the values)&lt;/P&gt;&lt;P&gt;       WHERE NAME = 'FROMDATE'.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;      Please check the link below&lt;/P&gt;&lt;P&gt;      &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="247511"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b)  For standard reports (STANDARD VARIANT) like FBL3N general legder line item display there are specific tcode&lt;/P&gt;&lt;P&gt;    TCODE - FS00 -- &amp;gt; GO TO LINE ITEMS TAB --&amp;gt; G/L ACCOUNT LAYOUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat Kumar Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 10:50:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212092#M1627425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: TVARV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212093#M1627426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer below thread &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7950595"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for dynamic variants with TVARV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Creating" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Creating&lt;/A&gt;&lt;EM&gt;dynamic&lt;/EM&gt;variant&lt;EM&gt;using&lt;/EM&gt;table+TVARV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 12:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212093#M1627426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T12:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: TVARV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212094#M1627427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using TVARV (TVARVC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create a periodic (daily) job (or ask basis to) that executes standard report RVSETDAT, this report will update some values in TVARV (and TVARVC on more recent versions) (*)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your variant use variable RV_ACTUAL_YEAR  (Read [Using Variables for Date Calculations|http://help.sap.com/saphelp_nw04s/helpdata/en/c0/98039be58611d194cc00a0c94260a5/frameset.htm] in [Variable Values in Variants|http://help.sap.com/saphelp_nw04s/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill the field with SY-DATUM(4) in INITIALIZATION block, and in the variant definition, check the box "Save field without values" (Read [Variant Attributes|http://help.sap.com/saphelp_nw04s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/frameset.htm] in [Variable Values in Variants|http://help.sap.com/saphelp_nw04s/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*) You could also create a copy of the program in your namespace (Zxxx, Yxxx, etc.) and maintain your own variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 12:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212094#M1627427</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-10-04T12:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: TVARV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212095#M1627428</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;&lt;/P&gt;&lt;P&gt;it's a custom report, I can see the following after saving the variant:&lt;/P&gt;&lt;P&gt;&lt;A href="http://imageshack.us/photo/my-images/5/immagineku.png/" target="test_blank"&gt;http://imageshack.us/photo/my-images/5/immagineku.png/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://imageshack.us/photo/my-images/821/immaginelfc.png/" target="test_blank"&gt;http://imageshack.us/photo/my-images/821/immaginelfc.png/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 12:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212095#M1627428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: TVARV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212096#M1627429</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 solved using the date instead of the year thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 14:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tvarv-table/m-p/8212096#M1627429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-04T14:16:26Z</dc:date>
    </item>
  </channel>
</rss>

