<?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: Selection Screen Dymnamic varient in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981717#M1340947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have 2 options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use table TVARVC for setting the variant values (The transactions STVARV and STVARVC are available for maintaining the table variants) then use that entries while creating dynamic date variant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If your report is custom one, then in the INITIALIAZATION event , set the date default values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
initialization.
call function OIL_LAST_DAY_OF_PREVIOUS_MONTH  " Find the last month end date and first date 

s_datum-low = &amp;lt;last month first date&amp;gt;
s_datum-high = &amp;lt;last month end date&amp;gt;
s_datum-sign = 'I'
s_datum-options = 'EQ'.
append s_datum

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2009 15:09:13 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2009-08-19T15:09:13Z</dc:date>
    <item>
      <title>Selection Screen Dymnamic varient</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981716#M1340946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Date field as my selection Options. I need to save a variant where my date would between the first and the last day of the previos month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i check the selection varibable check Box for the date and click the selection variable button it takes me to a different screen and and i have selected dynamic date calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the drop down i see first day of the first month and its gets selected but I can select both the first day and the last day. It works as a parameter, but i want it as a select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 14:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981716#M1340946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Dymnamic varient</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981717#M1340947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have 2 options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use table TVARVC for setting the variant values (The transactions STVARV and STVARVC are available for maintaining the table variants) then use that entries while creating dynamic date variant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If your report is custom one, then in the INITIALIAZATION event , set the date default values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
initialization.
call function OIL_LAST_DAY_OF_PREVIOUS_MONTH  " Find the last month end date and first date 

s_datum-low = &amp;lt;last month first date&amp;gt;
s_datum-high = &amp;lt;last month end date&amp;gt;
s_datum-sign = 'I'
s_datum-options = 'EQ'.
append s_datum

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 15:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981717#M1340947</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-19T15:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Dymnamic varient</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981718#M1340948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ARS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would do that but how come this valus in the table will be changed for every month. DO i have to write for an updation of this and run on the last day of every month..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 15:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981718#M1340948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T15:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Dymnamic varient</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981719#M1340949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find this will help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 15:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-dymnamic-varient/m-p/5981719#M1340949</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-19T15:38:28Z</dc:date>
    </item>
  </channel>
</rss>

