<?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: Clarification on variant in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-on-variant/m-p/3705211#M892168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Which version of SAP you are on ?&lt;/P&gt;&lt;P&gt;TVARV table are changed to TVARVC from ECC5.&lt;/P&gt;&lt;P&gt;TVARV will still exist but should not be used from ecc5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. z_sysdt  already available in tvarv ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal functionality is : &lt;/P&gt;&lt;P&gt;a. Make an entry in TVARV table.&lt;/P&gt;&lt;P&gt;b. in any report when you go to save varient button, &lt;/P&gt;&lt;P&gt;you have option of "maintain Sel.variable"  which takes you to TVARV table to select already created fields.&lt;/P&gt;&lt;P&gt;c. When you call this program in batch job using that saved varient, it will dynamically pick up value of z_sysdt  from TVARV &amp;amp; execute that report.&lt;/P&gt;&lt;P&gt;d. So whenever you run that program in batch job, you have a predefined value to pass.&lt;/P&gt;&lt;P&gt;e. Normally all companies Run one Batch program everyday, before running any other batch job. That program updates all TVARV records as per logic written in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2008 05:55:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-10T05:55:08Z</dc:date>
    <item>
      <title>Clarification on variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-on-variant/m-p/3705210#M892167</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 shall explain the scenario. Please let me know how to proceed on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user has given this scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when creating the variant, this will set up as a selection variable and the value will be pulled from z_sysdt entry found in TVARV table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This explanation was given for a field date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;explain me on this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should i need to manually add code for this.. or would it be settings on variant..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-on-variant/m-p/3705210#M892167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T05:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-on-variant/m-p/3705211#M892168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Which version of SAP you are on ?&lt;/P&gt;&lt;P&gt;TVARV table are changed to TVARVC from ECC5.&lt;/P&gt;&lt;P&gt;TVARV will still exist but should not be used from ecc5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. z_sysdt  already available in tvarv ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal functionality is : &lt;/P&gt;&lt;P&gt;a. Make an entry in TVARV table.&lt;/P&gt;&lt;P&gt;b. in any report when you go to save varient button, &lt;/P&gt;&lt;P&gt;you have option of "maintain Sel.variable"  which takes you to TVARV table to select already created fields.&lt;/P&gt;&lt;P&gt;c. When you call this program in batch job using that saved varient, it will dynamically pick up value of z_sysdt  from TVARV &amp;amp; execute that report.&lt;/P&gt;&lt;P&gt;d. So whenever you run that program in batch job, you have a predefined value to pass.&lt;/P&gt;&lt;P&gt;e. Normally all companies Run one Batch program everyday, before running any other batch job. That program updates all TVARV records as per logic written in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-on-variant/m-p/3705211#M892168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T05:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-on-variant/m-p/3705212#M892169</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;If you do not have the authorization for TVARVC table. then follow as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after executing your report, try to save the Variant ( just press save button for the selection screen values , then it will take you to give the name for the variant ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the same screen , you will get the options like protect field , hide field.... and selection variable .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  selection variable and press F4 it will ask you to select either 'T' or 'D' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select 'T' i.e. Table maintained values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now If you try to save this variant then it will ask you to maintain 'Variable name '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now go to 'Environment -&amp;gt; Main.Sel.Variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you try to give the name for the variable eg., 'ZTEST' and give the value 'may be the date value/what ever the value you planned for selection screen. Parameter'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save it and go back to the previous screen , here you assign the 'ZTEST' to the variant option  'Name of Variable (input only using F4 option ). ( which is next to &amp;#145;Selection Variable  column )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that means , you have selected the option 'T' for selection variable &lt;/P&gt;&lt;P&gt;and assigned a name (i.e. Selection variable name ) for your selection screen parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when you run your program and if you select the variant name then it will prompt with the value maintained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For next time , if you change the value in TVARVC table then it will pick that value for selection screen parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is clear for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Ravi Sankar.Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 06:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-on-variant/m-p/3705212#M892169</guid>
      <dc:creator>ravisankara_varaprasad</dc:creator>
      <dc:date>2008-04-10T06:23:47Z</dc:date>
    </item>
  </channel>
</rss>

