<?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: calling a variant in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001507#M407461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Go thru the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c0/98038fe58611d194cc00a0c94260a5/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c0/98038fe58611d194cc00a0c94260a5/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2007 09:32:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-07T09:32:05Z</dc:date>
    <item>
      <title>calling a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001506#M407460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     i want to know how to call a variant from one program and the variant is to be used in other new program via variant name only nothing to selected only the vaue contained in that variant is to be used in new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any functional module for that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 09:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001506#M407460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T09:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: calling a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001507#M407461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Go thru the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c0/98038fe58611d194cc00a0c94260a5/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c0/98038fe58611d194cc00a0c94260a5/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 09:32:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001507#M407461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T09:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: calling a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001508#M407462</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;Select variant from vari table.&lt;/P&gt;&lt;P&gt;Here variants will save in vari table and variant is field which will be variant name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreevani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 09:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001508#M407462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T09:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: calling a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001509#M407463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use RS_VARIANT_CONTENTS.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 09:32:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001509#M407463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T09:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: calling a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001510#M407464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT

... USING SELECTION-SETS OF PROGRAM prog 


Effect 
Uses variants of the program prog when executing the program rep. 



Note 
Important 

The programs prog and rep must have the same SELECT-OPTIONS and PARAMETERs. Otherwise, variants of the program prog may be destroyed. 



Note 
When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari. On the other hand, all variant-related actions on the selection screen of rep (Get, Save as variant, Display, Delete) refer to the variants of prog. 



Example
SUBMIT REPORT01 
       VIA SELECTION-SCREEN 
       USING SELECTION-SET 'VARIANT1' 
       USING SELECTION-SETS OF PROGRAM 'REPORT00' 
       AND RETURN. 


Effect 
Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00. 



Note 
Runtime errors: 


LOAD_PROGRAM_NOT_FOUND: The specified program was not found. 

SUBMIT_WRONG_TYPE: The specified program is not a report. 

SUBMIT_IMPORT_ONLY_PARAMETER: Only one value passed to a report parameter. 

SUBMIT_WRONG_SIGN: Invalid value passed to a selection with the addition SIGN. 

SUBMIT_IN_ITAB_ILL_STRUCTURE: Table passed to a selection with WITH sel IN itab had an unexpected structure. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reading the VARAINT make use of the FM &amp;lt;b&amp;gt;RS_VARIANT_DISPLAY&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 09:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001510#M407464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T09:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: calling a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001511#M407465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ravi,&lt;/P&gt;&lt;P&gt;          i have to pass the values of variant to new program for that the function module is useful i think so.&lt;/P&gt;&lt;P&gt;       i want to know how to get the value for a field by using that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;balaji.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 10:23:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-variant/m-p/2001511#M407465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T10:23:17Z</dc:date>
    </item>
  </channel>
</rss>

