<?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: Variant issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268683#M149790</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;In the selection screen set the time period based on the below logic.&lt;/P&gt;&lt;P&gt;from the sy-datum get the year.&lt;/P&gt;&lt;P&gt;Using &amp;lt;b&amp;gt;'BUILD_PERIOD_TABLE'&amp;lt;/b&amp;gt; you can get the end date and start date of ur required month.&lt;/P&gt;&lt;P&gt;pass it to ur selection-screen fields as default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2006 08:10:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-25T08:10:27Z</dc:date>
    <item>
      <title>Variant issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268681#M149788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report that runs every month, there is a variant for it. &lt;/P&gt;&lt;P&gt;There is a field on selection screen that crresponds to a time period (say 1st of month to last of month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we do something with the variant that it picks the period value relevant at the time of report run, dynamically (if run today , it has to pick the last months first date and last date) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right now we are changing the variant every month for the period field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Alok Pathak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 07:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268681#M149788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T07:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variant issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268682#M149789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Enter the values in the selection screen&lt;/P&gt;&lt;P&gt;2. Save the variant using the SAVE button&lt;/P&gt;&lt;P&gt;3. In the next screen for the date variable select the 'Selection variable' checkbox (L) and click on the button 'Selection variable' in the toolbar.&lt;/P&gt;&lt;P&gt;4. Now you will see this variable in the next screen with 3 types of buttons. Click on the middle button (ie. D - Dynamic date calculation).&lt;/P&gt;&lt;P&gt;5. Click on the down arrow button and select the option 'Current Date'.&lt;/P&gt;&lt;P&gt;6. Save the variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly assign points if this is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 07:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268682#M149789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T07:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variant issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268683#M149790</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;In the selection screen set the time period based on the below logic.&lt;/P&gt;&lt;P&gt;from the sy-datum get the year.&lt;/P&gt;&lt;P&gt;Using &amp;lt;b&amp;gt;'BUILD_PERIOD_TABLE'&amp;lt;/b&amp;gt; you can get the end date and start date of ur required month.&lt;/P&gt;&lt;P&gt;pass it to ur selection-screen fields as default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 08:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268683#M149790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T08:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Variant issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268684#M149791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishan&lt;/P&gt;&lt;P&gt;This will work fine if we have a date field ..which was my requirement. Thanx.&lt;/P&gt;&lt;P&gt;i observed though, if the field is for only the year and not the complete date  we cannot create such variant, is that true?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Alok Pathak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 11:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268684#M149791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T11:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variant issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268685#M149792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya ur  rite  but  only  for standard field. in  custome field  u  use    logic  to achive  it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 11:20:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268685#M149792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T11:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variant issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268686#M149793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi alok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Execute your report and press 'SAVE'.Give Variant name and text for variant.Next Check the check box(with heading 'L') for relevent selection-screen field(your date field in selection-screen). Next select 'SELECTION VARIABLES' button in Application tool bar.Then after click on 'D'(that is yellow traffic light)now you can able to see some down arrow button under 'T' and now it turned to  yellow signal.Then after select that down arrow button and give 'Current Period'. This will fill the date automatically into your select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Please check the above way and if it meet your requirement then donot forget to give reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bujji.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 11:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-issue/m-p/1268686#M149793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T11:56:31Z</dc:date>
    </item>
  </channel>
</rss>

