<?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 selection screen variant in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263425#M490947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivapuram , &lt;/P&gt;&lt;P&gt;  I am not sure we can create a varaint where we have some processing involved  .&lt;/P&gt;&lt;P&gt;What i would suggest is if you want this to be done for a specific varaint , then you will have to write the processing code in the at selection-screen output event .&lt;/P&gt;&lt;P&gt;This code must include the logic to calcuate the value as per your requirement , the code must be executed when the specific variant is loaded , the current varaint loaded in the system is stored in the system varaible sy-SLSET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a solution which is very specific to a varaint and not a generic solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2007 07:09:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-29T07:09:52Z</dc:date>
    <item>
      <title>Dynamic selection screen variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263422#M490944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two parameters in the selection screen of a report. One for Date, whose format is ww.yyyy and purchasing organization. Both the fields are mandatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create variants for this report in such a way that when user selects the variant, it should give current week in combination with year in Date parameter and Purchasing organization from the saved variant list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose there are two variants created with purchasing organizations 0001 and 0002, if i select 1st variant today then date should be 22.2007 and purchasing organization as 0001... if i select 1st variant in next week then date should be 23.2007 with purchasing organization 0001...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 06:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263422#M490944</guid>
      <dc:creator>PS_1978</dc:creator>
      <dc:date>2007-05-29T06:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection screen variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263423#M490945</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;Use the fun module VRM_SET_VALUES and create the variants &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/linking%2bdrop-down%2blists" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/linking%2bdrop-down%2blists&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 06:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263423#M490945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T06:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection screen variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263424#M490946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. But planning date and purchasing organization are not drop down lists. Those are just two simple parameters in selection screen of an executable program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me based on this info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 06:59:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263424#M490946</guid>
      <dc:creator>PS_1978</dc:creator>
      <dc:date>2007-05-29T06:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection screen variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263425#M490947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivapuram , &lt;/P&gt;&lt;P&gt;  I am not sure we can create a varaint where we have some processing involved  .&lt;/P&gt;&lt;P&gt;What i would suggest is if you want this to be done for a specific varaint , then you will have to write the processing code in the at selection-screen output event .&lt;/P&gt;&lt;P&gt;This code must include the logic to calcuate the value as per your requirement , the code must be executed when the specific variant is loaded , the current varaint loaded in the system is stored in the system varaible sy-SLSET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a solution which is very specific to a varaint and not a generic solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 07:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263425#M490947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T07:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic selection screen variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263426#M490948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice Idea...!!! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried and its working... Thnank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 07:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-variant/m-p/2263426#M490948</guid>
      <dc:creator>PS_1978</dc:creator>
      <dc:date>2007-05-29T07:54:41Z</dc:date>
    </item>
  </channel>
</rss>

