<?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: check variant programatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-variant-programatically/m-p/2475324#M557136</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;was helpful but did not solve the problem cause i want to check the variant BEFORE saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2007 14:29:36 GMT</pubDate>
    <dc:creator>former_member772174</dc:creator>
    <dc:date>2007-07-04T14:29:36Z</dc:date>
    <item>
      <title>check variant programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-variant-programatically/m-p/2475322#M557134</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;i found some useful function modules in function group SVAR to read and save variants for reports.&lt;/P&gt;&lt;P&gt;The problem is that the modules for creation of variants do not check the input values for correct name and type.&lt;/P&gt;&lt;P&gt;I tried RS_CHANGE_CREATED_VARIANT and RS_CREATE_VARIANT, but if i give an incorrect input value for VARI_CONTENTS (type RSPARAMS) they just ignore it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the right way to check if the input value (which is CHAR45) fits into the type of the field on the selection screen?&lt;/P&gt;&lt;P&gt;I tried to dynamically define a field-symbol and then move or write the CHAR45-field into it. But the result was not what i expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas are very welcome!!&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;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 09:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-variant-programatically/m-p/2475322#M557134</guid>
      <dc:creator>former_member772174</dc:creator>
      <dc:date>2007-07-03T09:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: check variant programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-variant-programatically/m-p/2475323#M557135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case you haven't already been there.. pl take a look at the followin routine&lt;/P&gt;&lt;P&gt; perform checkvari(rsdbspva) tables l_vari l_sscr&lt;/P&gt;&lt;P&gt;                                    using l_rkey&lt;/P&gt;&lt;P&gt;                                    changing l_subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the function module RS_VARIANT_INCONSISTENT_SLIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 14:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-variant-programatically/m-p/2475323#M557135</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-07-03T14:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: check variant programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-variant-programatically/m-p/2475324#M557136</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;was helpful but did not solve the problem cause i want to check the variant BEFORE saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 14:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-variant-programatically/m-p/2475324#M557136</guid>
      <dc:creator>former_member772174</dc:creator>
      <dc:date>2007-07-04T14:29:36Z</dc:date>
    </item>
  </channel>
</rss>

