<?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: Varient., in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725457#M316322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is.  First, run the program,  click the save button,  now you are at the variant screen. For the certain field, mark the check box for "Selection Variable".  Then click the selection variables button on the app toolbar .  Click the icon in the column defined as "D", for dynamic data calc. the icon should now be green, now click the down arrow under the "T" column.  From the dialog, select the line for "Current Date +/- ??? Days".  Click choose.  Enter -1 and click green check. CLick save, then save again.    Now choose your variant from the variant dialog,  notice that the date field is now set to yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2006 15:47:13 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-10-30T15:47:13Z</dc:date>
    <item>
      <title>Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725450#M316315</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 am new to SDN..&lt;/P&gt;&lt;P&gt;I have a requirement to save a varient to run a Program in background. The selection screen has a date field set as sy-datum. However due to some business changes the program should pick up data for the previous date, a day before the sy-datum field. When i save the varient is it possible to do this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shreekant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725450#M316315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725451#M316316</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;Yes . Just write the logic in the AT SELECTION SCREEN event and you will be able to manipulate the date accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you could just write it in the program itself.&lt;/P&gt;&lt;P&gt;Suppose p_date is your date parameter&lt;/P&gt;&lt;P&gt;p_date = p_date - 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725451#M316316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725452#M316317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's not possible, change the program to take previous date in selection screen and save it as variant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725452#M316317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725453#M316318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shreekanth,&lt;/P&gt;&lt;P&gt; Check if you can specify a variable using Selection Variables in the variant attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravi Kanth Talagana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:45:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725453#M316318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725454#M316319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Shreekanth,&lt;/P&gt;&lt;P&gt; You can do that ..&lt;/P&gt;&lt;P&gt;There is a function for substract time from a date, days, months, year&lt;/P&gt;&lt;P&gt;use FM &amp;lt;b&amp;gt;SUBTRACT_TIME_FROM_DATE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725454#M316319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725455#M316320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont want to change the program.&lt;/P&gt;&lt;P&gt;Its already in PRD, I am trying to fix it without changing the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725455#M316320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725456#M316321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to set the predefined value to Date Field using the Dynamic Variant by maintaining the values to the Date fields in the Variant Attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:47:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725456#M316321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725457#M316322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is.  First, run the program,  click the save button,  now you are at the variant screen. For the certain field, mark the check box for "Selection Variable".  Then click the selection variables button on the app toolbar .  Click the icon in the column defined as "D", for dynamic data calc. the icon should now be green, now click the down arrow under the "T" column.  From the dialog, select the line for "Current Date +/- ??? Days".  Click choose.  Enter -1 and click green check. CLick save, then save again.    Now choose your variant from the variant dialog,  notice that the date field is now set to yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725457#M316322</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-30T15:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725458#M316323</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;Sorry about that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;dominic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Dominic  Pappaly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725458#M316323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725459#M316324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am a bit confused, in ur answer..&lt;/P&gt;&lt;P&gt;"For the certain field, mark the check box for "Selection Variable". where do i find this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:55:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725459#M316324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T15:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725460#M316325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the variant screen,  where you are defining your variant, there should be a list of your selection-screen fields at the bottom, notice all of the checkboxes?  Well here you need to check the box in the "L" column for your field.  This tells the variant to allow a selection variable here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 15:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725460#M316325</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-30T15:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725461#M316326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got everything done. But how would I test it without actually excuting the program in back ground.&lt;/P&gt;&lt;P&gt;I executed the program in SE38 and the selection screen shows the sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 16:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725461#M316326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T16:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725462#M316327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must now select your variant.  Click the button next to the "Execute" button, select the variant from the dialog, now you should see yesterday's date in your field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 16:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725462#M316327</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-30T16:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Varient.,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725463#M316328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for all the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 16:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient/m-p/1725463#M316328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T16:22:00Z</dc:date>
    </item>
  </channel>
</rss>

