<?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 Routine In Program giving syntax error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338906#M1033517</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 am calling below FORM from Script in 4.6C Version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:  PERFORM GET_YY42V_ACTID &lt;/P&gt;&lt;P&gt;                  IN PROGRAM    Y42S_FORM_POOL&lt;/P&gt;&lt;P&gt;/:  USING &amp;amp;VBELN&amp;amp;&lt;/P&gt;&lt;P&gt;/:  USING &amp;amp;POSNR&amp;amp;&lt;/P&gt;&lt;P&gt;/:  CHANGING &amp;amp;ACTID&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y42S_FORM_POOL is a function pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM  GET_YY42V_ACTID USING   TABLES   in_par         &lt;/P&gt;&lt;P&gt;                                                        structure itcsy&lt;/P&gt;&lt;P&gt;                                      out_par   structure   itcsy .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read  table in_par  with  key  'VBELN' .&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;ENDFORM.                    " GET_YY42V_ACTID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do syntax check getting below message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  in_par  is not defined as tables    nor as Internal Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why i am getting this error????? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i then left the routine without any code and activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   And this time while in Debugging checked that from Print Program control went to SAP code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform (co_perform-form) in program (co_perform-program)&lt;/P&gt;&lt;P&gt;                              tables co_sym_using&lt;/P&gt;&lt;P&gt;                                     co_set_symbols&lt;/P&gt;&lt;P&gt;                              if found.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     co_perform-form &amp;amp; co_perform-program contains correct &lt;/P&gt;&lt;P&gt;     script name and Routine Pool names.&lt;/P&gt;&lt;P&gt; But after pressing F%its going for Dump ...&lt;/P&gt;&lt;P&gt;No Clues on that ?????????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getting message:&lt;/P&gt;&lt;P&gt;Runtime errors         PERFORM_TOO_MANY_PARAMETERS&lt;/P&gt;&lt;P&gt;Exception              CX_SY_DYN_CALL_PARAM_NOT_FOUND&lt;/P&gt;&lt;P&gt;       Occurred on     2008/08/29 at   09:14:38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Too many parameters specified with PERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about this problem.&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;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2008 07:52:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-29T07:52:47Z</dc:date>
    <item>
      <title>Routine In Program giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338906#M1033517</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 am calling below FORM from Script in 4.6C Version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:  PERFORM GET_YY42V_ACTID &lt;/P&gt;&lt;P&gt;                  IN PROGRAM    Y42S_FORM_POOL&lt;/P&gt;&lt;P&gt;/:  USING &amp;amp;VBELN&amp;amp;&lt;/P&gt;&lt;P&gt;/:  USING &amp;amp;POSNR&amp;amp;&lt;/P&gt;&lt;P&gt;/:  CHANGING &amp;amp;ACTID&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y42S_FORM_POOL is a function pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM  GET_YY42V_ACTID USING   TABLES   in_par         &lt;/P&gt;&lt;P&gt;                                                        structure itcsy&lt;/P&gt;&lt;P&gt;                                      out_par   structure   itcsy .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read  table in_par  with  key  'VBELN' .&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;ENDFORM.                    " GET_YY42V_ACTID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do syntax check getting below message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  in_par  is not defined as tables    nor as Internal Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why i am getting this error????? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i then left the routine without any code and activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   And this time while in Debugging checked that from Print Program control went to SAP code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform (co_perform-form) in program (co_perform-program)&lt;/P&gt;&lt;P&gt;                              tables co_sym_using&lt;/P&gt;&lt;P&gt;                                     co_set_symbols&lt;/P&gt;&lt;P&gt;                              if found.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     co_perform-form &amp;amp; co_perform-program contains correct &lt;/P&gt;&lt;P&gt;     script name and Routine Pool names.&lt;/P&gt;&lt;P&gt; But after pressing F%its going for Dump ...&lt;/P&gt;&lt;P&gt;No Clues on that ?????????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getting message:&lt;/P&gt;&lt;P&gt;Runtime errors         PERFORM_TOO_MANY_PARAMETERS&lt;/P&gt;&lt;P&gt;Exception              CX_SY_DYN_CALL_PARAM_NOT_FOUND&lt;/P&gt;&lt;P&gt;       Occurred on     2008/08/29 at   09:14:38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Too many parameters specified with PERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about this problem.&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;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 07:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338906#M1033517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T07:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Routine In Program giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338907#M1033518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) FORM GET_YY42V_ACTID TABLES in_par &lt;/P&gt;&lt;P&gt;structure itcsy&lt;/P&gt;&lt;P&gt;out_par structure itcsy .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The USING parameter is wrong.  Check again the syntax of FORM.  This leads to the second problem as with what you had, it considers TABLE, in_par structure itcsy out_par structure itcsy to all be parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 07:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338907#M1033518</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-08-29T07:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Routine In Program giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338908#M1033519</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;Is your Problem solved?&lt;/P&gt;&lt;P&gt;If not Plz check whether you have written ENDPERFORM when calling the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Remove  USING in &lt;/P&gt;&lt;P&gt;FORM GET_YY42V_ACTID &lt;STRONG&gt;USING&lt;/STRONG&gt; TABLES in_par &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 08:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338908#M1033519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T08:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Routine In Program giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338909#M1033520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry that was my typing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USING is not written in the Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 08:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-in-program-giving-syntax-error/m-p/4338909#M1033520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T08:33:45Z</dc:date>
    </item>
  </channel>
</rss>

