<?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 Issue with calling subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-calling-subroutine/m-p/4443206#M1054015</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;EM&gt;Issue is :&lt;/EM&gt; &lt;EM&gt;DUMP&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; A PERFORM was used to call the routine "AUTHORITY" of the program "RSAQEXCE".&lt;/P&gt;&lt;P&gt; The current call contains 1 actual parameter(s),&lt;/P&gt;&lt;P&gt; but the routine "AUTHORITY" expects 2 parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Pls check the code below :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form authority using tname            type tname&lt;/P&gt;&lt;P&gt;                     p_auth_classname type AQS_CLSNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;nicht bei generischen BW Extraktoren&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if %memmode = 'D'.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform authority_init using p_auth_classname.&lt;/P&gt;&lt;P&gt;  call method iref-&amp;gt;tab_access_authority&lt;/P&gt;&lt;P&gt;       exporting  table  = tname&lt;/P&gt;&lt;P&gt;       exceptions others = 1.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message s316 with tname.&lt;/P&gt;&lt;P&gt;    leave list-processing.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Form for authority_init&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form authority_init using p_auth_classname type AQS_CLSNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: l_oref    type ref to object,&lt;/P&gt;&lt;P&gt;        l_wa_aqif type aqif_c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if iref is initial.&lt;/P&gt;&lt;P&gt;    create object l_oref type (p_auth_classname).&lt;/P&gt;&lt;P&gt;    iref ?= l_oref.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Not able to locate the issue&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Pl check and let me know the issue.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thankx in adv,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2008 05:06:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-15T05:06:10Z</dc:date>
    <item>
      <title>Issue with calling subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-calling-subroutine/m-p/4443206#M1054015</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;EM&gt;Issue is :&lt;/EM&gt; &lt;EM&gt;DUMP&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; A PERFORM was used to call the routine "AUTHORITY" of the program "RSAQEXCE".&lt;/P&gt;&lt;P&gt; The current call contains 1 actual parameter(s),&lt;/P&gt;&lt;P&gt; but the routine "AUTHORITY" expects 2 parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Pls check the code below :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form authority using tname            type tname&lt;/P&gt;&lt;P&gt;                     p_auth_classname type AQS_CLSNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;nicht bei generischen BW Extraktoren&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if %memmode = 'D'.&lt;/P&gt;&lt;P&gt;    exit.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform authority_init using p_auth_classname.&lt;/P&gt;&lt;P&gt;  call method iref-&amp;gt;tab_access_authority&lt;/P&gt;&lt;P&gt;       exporting  table  = tname&lt;/P&gt;&lt;P&gt;       exceptions others = 1.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message s316 with tname.&lt;/P&gt;&lt;P&gt;    leave list-processing.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Form for authority_init&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form authority_init using p_auth_classname type AQS_CLSNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: l_oref    type ref to object,&lt;/P&gt;&lt;P&gt;        l_wa_aqif type aqif_c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if iref is initial.&lt;/P&gt;&lt;P&gt;    create object l_oref type (p_auth_classname).&lt;/P&gt;&lt;P&gt;    iref ?= l_oref.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Not able to locate the issue&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Pl check and let me know the issue.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thankx in adv,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 05:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-calling-subroutine/m-p/4443206#M1054015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T05:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calling subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-calling-subroutine/m-p/4443207#M1054016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FORM routine has this signature:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form authority &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using &lt;/P&gt;&lt;P&gt;tname type tname&lt;/P&gt;&lt;P&gt;p_auth_classname type AQS_CLSNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which means it has TWO using parameters TNAME and P_AUTH. So when calling this subroutine you will have to provide TWO parameters as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 05:16:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-calling-subroutine/m-p/4443207#M1054016</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-09-15T05:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calling subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-calling-subroutine/m-p/4443208#M1054017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A parameter included in routine and issue fixed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 05:43:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-calling-subroutine/m-p/4443208#M1054017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-08T05:43:25Z</dc:date>
    </item>
  </channel>
</rss>

