<?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: variable variant in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227400#M1380058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Soniya,
&amp;lt;li&amp;gt;check the below program.
&lt;PRE&gt;&lt;CODE&gt;REPORT ztest_program.
PARAMETERS p_char TYPE char5.
PARAMETERS p_date TYPE sy-datum.

AT SELECTION-SCREEN OUTPUT.
  p_date = sy-datum.

START-OF-SELECTION.
  WRITE:/ p_char,
          p_date.&lt;/CODE&gt;&lt;/PRE&gt;
&amp;lt;li&amp;gt;I have create variant &lt;STRONG&gt;ztest_var1&lt;/STRONG&gt; with values p_char = 'test1' and p_date = '29.09.2009'.
&amp;lt;li&amp;gt;I have create variant &lt;STRONG&gt;ztest_var2&lt;/STRONG&gt; with values p_char = 'test2' and p_date = '01.10.2009'.
&amp;lt;li&amp;gt;As I have filled p_date with sy-datum in PBO of the selection-screen.I am getting outputs like below. 
&lt;PRE&gt;&lt;CODE&gt;TEST1 30.09.2009&lt;/CODE&gt;&lt;/PRE&gt; 
&lt;PRE&gt;&lt;CODE&gt;TEST2 30.09.2009&lt;/CODE&gt;&lt;/PRE&gt;.

So try that way. I think that it works.

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2009 06:40:16 GMT</pubDate>
    <dc:creator>venkat_o</dc:creator>
    <dc:date>2009-09-30T06:40:16Z</dc:date>
    <item>
      <title>variable variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227397#M1380055</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 have one requirement,i want to have a variant where i have date field on screen.I want to run this program in background.but whenever i run this program(everyday)  date will be changed without changing in variant everytime.Thus user does not want to change  date everytime manually.how to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Soniya s.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 06:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227397#M1380055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-30T06:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: variable variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227398#M1380056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a dynamic variant for a selction field and use smae variant for running the report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagads, Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 06:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227398#M1380056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-30T06:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: variable variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227399#M1380057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search in SCN as to how to define &lt;STRONG&gt;Dynamic Variants&lt;/STRONG&gt;. You will get lots of posts related to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 06:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227399#M1380057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-30T06:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: variable variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227400#M1380058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Soniya,
&amp;lt;li&amp;gt;check the below program.
&lt;PRE&gt;&lt;CODE&gt;REPORT ztest_program.
PARAMETERS p_char TYPE char5.
PARAMETERS p_date TYPE sy-datum.

AT SELECTION-SCREEN OUTPUT.
  p_date = sy-datum.

START-OF-SELECTION.
  WRITE:/ p_char,
          p_date.&lt;/CODE&gt;&lt;/PRE&gt;
&amp;lt;li&amp;gt;I have create variant &lt;STRONG&gt;ztest_var1&lt;/STRONG&gt; with values p_char = 'test1' and p_date = '29.09.2009'.
&amp;lt;li&amp;gt;I have create variant &lt;STRONG&gt;ztest_var2&lt;/STRONG&gt; with values p_char = 'test2' and p_date = '01.10.2009'.
&amp;lt;li&amp;gt;As I have filled p_date with sy-datum in PBO of the selection-screen.I am getting outputs like below. 
&lt;PRE&gt;&lt;CODE&gt;TEST1 30.09.2009&lt;/CODE&gt;&lt;/PRE&gt; 
&lt;PRE&gt;&lt;CODE&gt;TEST2 30.09.2009&lt;/CODE&gt;&lt;/PRE&gt;.

So try that way. I think that it works.

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 06:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227400#M1380058</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-09-30T06:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: variable variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227401#M1380059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dynamic variant solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 07:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-variant/m-p/6227401#M1380059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T07:11:59Z</dc:date>
    </item>
  </channel>
</rss>

