<?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 Variant Creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696195#M1294124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you create an zreport for calling std report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the zreport you write the logic to derive Settlement period and Settlement year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: rspar_tab  type table of rsparams,&lt;/P&gt;&lt;P&gt;        rspar_line like line of rspar_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  rspar_line-selname = 'P_BANK'.  "for parameter&lt;/P&gt;&lt;P&gt;  rspar_line-kind    = 'P'.&lt;/P&gt;&lt;P&gt;  rspar_line-low     = 'CITI'.&lt;/P&gt;&lt;P&gt;  append rspar_line to rspar_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  rspar_line-selname = 'S_VEND'. " for selection-option&lt;/P&gt;&lt;P&gt;  rspar_line-kind    = 'S'.&lt;/P&gt;&lt;P&gt;  rspar_line-sign    = 'I'.&lt;/P&gt;&lt;P&gt;  rspar_line-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;  rspar_line-low     = 'ASD12'.&lt;/P&gt;&lt;P&gt;  append rspar_line to rspar_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Submit &amp;lt;std report name&amp;gt; WITH&lt;/P&gt;&lt;P&gt;    SELECTION-TABLE  T_RSPAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then schedule this report&lt;/P&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2009 04:56:30 GMT</pubDate>
    <dc:creator>JoffyJohn</dc:creator>
    <dc:date>2009-06-01T04:56:30Z</dc:date>
    <item>
      <title>Dynamic Variant Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696193#M1294122</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 have a requirement in which I need to create a dynamic variant for the standard program RKO7KO8G.&lt;/P&gt;&lt;P&gt;In the selection screen there are two PARAMETERS, &lt;STRONG&gt;Settlement period and Settlement year&lt;/STRONG&gt;. The requirement is:&lt;/P&gt;&lt;P&gt; "The Variant should be created with the Period and the Fiscal Year being obtained from the TVARVC table with the Period being the Z_PROC_CURR_FISCAL_PERIOD Variable and the Fiscal Year being the Z_PROC_CURR_FISCAL_YEAR Variable". &lt;/P&gt;&lt;P&gt;i.e. whenever the program is run in background it should consider the Current period and year.&lt;/P&gt;&lt;P&gt;Please let me know how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Neethu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 04:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696193#M1294122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T04:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variant Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696194#M1294123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;These are the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First maintain a variable with values in table TVARV. This can be done from transaction STVARV. Later this variable needs to be assigned to the variant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Next create the dynamic variant by pressing the SAVE button on the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In the next screen (ABAP: Save as Variant) enter Variant name, description, set the u2018Selection variableu2019 (L) radio button and press u2018Selection variableu2019 push button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In the next screen check that green traffic light is on under column T (T: Table variable from TVARV). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Now from the popup select the variable name created in Step1 and save the variant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 04:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696194#M1294123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T04:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variant Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696195#M1294124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you create an zreport for calling std report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the zreport you write the logic to derive Settlement period and Settlement year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: rspar_tab  type table of rsparams,&lt;/P&gt;&lt;P&gt;        rspar_line like line of rspar_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  rspar_line-selname = 'P_BANK'.  "for parameter&lt;/P&gt;&lt;P&gt;  rspar_line-kind    = 'P'.&lt;/P&gt;&lt;P&gt;  rspar_line-low     = 'CITI'.&lt;/P&gt;&lt;P&gt;  append rspar_line to rspar_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  rspar_line-selname = 'S_VEND'. " for selection-option&lt;/P&gt;&lt;P&gt;  rspar_line-kind    = 'S'.&lt;/P&gt;&lt;P&gt;  rspar_line-sign    = 'I'.&lt;/P&gt;&lt;P&gt;  rspar_line-option  = 'EQ'.&lt;/P&gt;&lt;P&gt;  rspar_line-low     = 'ASD12'.&lt;/P&gt;&lt;P&gt;  append rspar_line to rspar_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Submit &amp;lt;std report name&amp;gt; WITH&lt;/P&gt;&lt;P&gt;    SELECTION-TABLE  T_RSPAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then schedule this report&lt;/P&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 04:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696195#M1294124</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2009-06-01T04:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variant Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696196#M1294125</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;Thanks for the input.Could you please tell me in detail how to maintain variable in transaction STVARV.  I am doing this for the first time, so dont have any idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neethu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 05:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696196#M1294125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T05:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Variant Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696197#M1294126</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 got it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 05:50:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-variant-creation/m-p/5696197#M1294126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T05:50:19Z</dc:date>
    </item>
  </channel>
</rss>

