<?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: Read existing variant for program and passing values through submit stat in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215019#M1206148</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;&lt;/P&gt;&lt;P&gt;Read the values of the screen fields from the screen and pass them through the submit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;submit zreport via selection-screen using selection-set variant&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can even use the &lt;STRONG&gt;rs_variant_contents&lt;/STRONG&gt; is the function module to read the contents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sarvesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2009 06:55:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-11T06:55:52Z</dc:date>
    <item>
      <title>Read existing variant for program and passing values through submit stat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215017#M1206146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our requirement we are calling a report in our main program  through 'SUBMIT' statement and &lt;/P&gt;&lt;P&gt;we were passing some hard coded values to the selection screen of the called report . But,there is some modifcation in our requirement Following are the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of passing the hard coded values, user has said to read the values of the existing variant and pass the same values to the called report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me in solving this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can we read existing variant values for the particular program  and how can we  pass the same&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;values through submit statement?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 06:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215017#M1206146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T06:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Read existing variant for program and passing values through submit stat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215018#M1206147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below given function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSPC_VARIANT_SELECT&lt;/P&gt;&lt;P&gt;RSPC_VARIANT_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 06:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215018#M1206147</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2009-02-11T06:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Read existing variant for program and passing values through submit stat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215019#M1206148</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;&lt;/P&gt;&lt;P&gt;Read the values of the screen fields from the screen and pass them through the submit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;submit zreport via selection-screen using selection-set variant&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can even use the &lt;STRONG&gt;rs_variant_contents&lt;/STRONG&gt; is the function module to read the contents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sarvesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 06:55:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215019#M1206148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T06:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Read existing variant for program and passing values through submit stat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215020#M1206149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;   Try RS_VARIANT_CONTENTS to read variat values&lt;/P&gt;&lt;P&gt;and then pass them using submit statement USING SELECTION-SET variant &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viquar Iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 06:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215020#M1206149</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-02-11T06:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Read existing variant for program and passing values through submit stat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215021#M1206150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u r using variant, then the values of this variant will be displayed in the selection screen of the calling prg. Now instead of using the hard coded values, jus pass the values that were in the selection scr.(like s_extid-extid) in the SUBMIT statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 06:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215021#M1206150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T06:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Read existing variant for program and passing values through submit stat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215022#M1206151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use below statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit &amp;lt;report&amp;gt; USING SELECTION-SET variant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 07:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215022#M1206151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T07:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Read existing variant for program and passing values through submit stat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215023#M1206152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;It would be greatful if you can send me the piece of code where we are using the above FMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhanu.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 08:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215023#M1206152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T08:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Read existing variant for program and passing values through submit stat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215024#M1206153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ignore my reply,I got it wrong in mentioning the function modules but I am sure that it starts with RS_.Check for the function modules starting with RS_ in TFDIR table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 08:10:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-existing-variant-for-program-and-passing-values-through-submit-stat/m-p/5215024#M1206153</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2009-02-11T08:10:47Z</dc:date>
    </item>
  </channel>
</rss>

