<?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: problem with function module RS_VARIANT_CONTENTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-rs-variant-contents/m-p/3294232#M788297</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;thanks for your reply.&lt;/P&gt;&lt;P&gt;I´ve tried your suggestion, unfortunately without success. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is, that the dynpro is not a generated selection screen instead it belongs to a function group.&lt;/P&gt;&lt;P&gt;It seams to me, that the FM unsuccessfully tries to check the dynpro fields....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless I´ve implemented my own variant maintenance environment. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 12:04:37 GMT</pubDate>
    <dc:creator>andy_dingfelder3</dc:creator>
    <dc:date>2008-01-17T12:04:37Z</dc:date>
    <item>
      <title>problem with function module RS_VARIANT_CONTENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-rs-variant-contents/m-p/3294230#M788295</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;i´ve a problem by calling the FM RS_VARIANT_CONTENTS. Everytime I try to get the content of a variant the module crashes with the following dump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Call (PERFORM) to a non-existent routine.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025730     INSERT SCREEN_PROGS INDEX L_TABIX.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025740&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025750     read table f3progs_old with key&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025760          table_line = p_prog&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025770          binary search&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025780          transporting no fields.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025790     l_tabix = sy-tabix.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025800     if sy-subrc ne 0.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025810       PERFORM %_INIT-MOVE IN PROGRAM (P_PROG).   " ????&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025820     endif.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;     IF P_NEW_CALL EQ 'S' or flag_query_active eq 'A'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025840       PERFORM INIT IN PROGRAM (SY-LDBPG) IF FOUND.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025850     ENDIF.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025860&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;025870   ENDFORM.                                   " INIT_1_PROG&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats the coding how I create the variant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i_jvari_desc-report = sy-repid.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i_jvari_desc-variant = 'TESTING4'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i_jvari_desc-ename = sy-uname.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i_jvari_desc-environmnt = 'A'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i_jvari_desc-mlangu = 'N'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_jvt-mandt = sy-mandt.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_jvt-report = sy-repid.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_jvt-variant = 'TESTING4'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_jvt-langu = sy-langu.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_jvt-vtext = 'FUNCTION EXAMPLES'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;APPEND ls_jvt TO i_jvt.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_selpa-sign = ''.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_selpa-option = ''.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_selpa-kind = 'P'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_selpa-selname = 'BRAND'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_selpa-low = 'SL'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;APPEND ls_selpa TO i_selpa.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CALL FUNCTION 'RS_CREATE_VARIANT'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;EXPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;curr_report   = i_jvari_desc-report&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;curr_variant  = 'TESTING4'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vari_desc     = i_jvari_desc&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TABLES&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vari_contents = i_selpa&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vari_text     = i_jvt.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF sy-subrc EQ 0.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ENDIF.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be a problem that the dynpro is not a generated selection screen instead it is a normal dynrpo created with the screen painter. The parameter BRAND isn´t the only parameter on this screen. Do I´ve to pass all Paramters on the screen while creating a new variant? SY-REPID includes the name of a Function Pool!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anybody had the same or similar problem and can give me some hints how to solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 15:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-rs-variant-contents/m-p/3294230#M788295</guid>
      <dc:creator>andy_dingfelder3</dc:creator>
      <dc:date>2008-01-16T15:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function module RS_VARIANT_CONTENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-rs-variant-contents/m-p/3294231#M788296</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 have a doubt whether the sy-repid is passing correctly? Please hardcode your report name and test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_jvari_desc-report = 'YOUR REPORT NAME'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 15:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-rs-variant-contents/m-p/3294231#M788296</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-01-16T15:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem with function module RS_VARIANT_CONTENTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-rs-variant-contents/m-p/3294232#M788297</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;thanks for your reply.&lt;/P&gt;&lt;P&gt;I´ve tried your suggestion, unfortunately without success. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is, that the dynpro is not a generated selection screen instead it belongs to a function group.&lt;/P&gt;&lt;P&gt;It seams to me, that the FM unsuccessfully tries to check the dynpro fields....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless I´ve implemented my own variant maintenance environment. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 12:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-rs-variant-contents/m-p/3294232#M788297</guid>
      <dc:creator>andy_dingfelder3</dc:creator>
      <dc:date>2008-01-17T12:04:37Z</dc:date>
    </item>
  </channel>
</rss>

