<?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: dump while calling external subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334683#M1538669</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;can you please show the value of &lt;STRONG&gt;lv_progname&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Nov 2010 08:46:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-03T08:46:56Z</dc:date>
    <item>
      <title>dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334668#M1538654</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;am getting a short dump while calling external subroutine due to type conflict in the actual and formal parameters,,code is shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_error occurs 0.&lt;/P&gt;&lt;P&gt;include structure y_error.&lt;/P&gt;&lt;P&gt;data: end of it_error occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform form2  in program (prog_name) tables it_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in prog_name.&lt;/P&gt;&lt;P&gt;form form2  tables p_error type structure y_error.&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;In the above code am getting dump saying mismatch in the type of actual and formal parameters ...am using the same type structure for both actual and formal parameters,  formal parameters are in standard program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 17:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334668#M1538654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T17:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334669#M1538655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know if it's exactly like that, but if it is, in prog_name the command should be tables p_error structure y_error and not &lt;/P&gt;&lt;P&gt;tables p_error type structure y_error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 17:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334669#M1538655</guid>
      <dc:creator>PedroGuarita</dc:creator>
      <dc:date>2010-11-02T17:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334670#M1538656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i dont think is there any mismatch between actual and formal parameters....infact both are same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 17:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334670#M1538656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T17:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334671#M1538657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not saying there is a mismatch, but if you have the sintax like you posted then it's assuming a table of the type "structure". Therefore, remove the "TYPE" instruction from the sintax in the FORM statement and try it like i said :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM formname TABLES tablename STRUCTURE structurename.&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;Hope i've been clear this time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 17:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334671#M1538657</guid>
      <dc:creator>PedroGuarita</dc:creator>
      <dc:date>2010-11-02T17:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334672#M1538658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the form is in a standard program .thats the problem ....the syntax is like wat u mentioned....i can only do changes in custom program during perform call....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 17:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334672#M1538658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T17:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334673#M1538659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: it_error  type standard table of y_error with header line.

perform form2 in program (prog_name) tables it_error.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 19:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334673#M1538659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T19:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334674#M1538660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi srinivas thanks for the reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am using ecc6.0 in the oop context we cannot use wtih header line...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am still facing the dump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 02:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334674#M1538660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T02:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334675#M1538661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using IF FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;perform form2 in program (prog_name) tables it_error IF FOUND.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 05:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334675#M1538661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T05:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334676#M1538662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;               In the first case you have declared an internal table with header line. You are passing that to the subroutine. But in the subroutine you are saying that the type is of structure which is declared in the dictionary. So this is a clear case of mismatch. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare your internal tabel like : Data T_table type standard table of (structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then declare a table type in the dictionary for the strcuture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now in the perform statement use changing parameter instead of tables. With the changing parameter type tour table as 'type &amp;lt;tabeltype name created in dictionary&amp;gt;'. Please try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you,&lt;/P&gt;&lt;P&gt;Jerry Jerome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 05:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334676#M1538662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T05:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334677#M1538663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using IF FOUND but sitll dumo ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 07:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334677#M1538663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T07:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334678#M1538664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot pass a table in structure type. You can only pass a structure.&lt;/P&gt;&lt;P&gt;For the table to be passed in actual parameters your formal parameter should be of type tabletype i.e. y_error should be a table type and not structure.&lt;/P&gt;&lt;P&gt;So while using perform you need to pass structure or work area and not table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 07:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334678#M1538664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T07:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334679#M1538665</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;am again writing the  exact following code which getting dump for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF i_err_detail OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE y_error&lt;/P&gt;&lt;P&gt;DATA: END OF i_err_detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM form_name  IN PROGRAM (progname) TABLES  i_err_detail IF FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In progname&lt;/P&gt;&lt;P&gt;FORM form_name TABLES ptab STRUCTURE y_error.&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;after executing the perform stmt am getting dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ...John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 07:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334679#M1538665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T07:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334680#M1538666</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 did not get any dump using this code.&lt;/P&gt;&lt;P&gt;     Might be the structure "y_error" is different in the standard program and the calling.&lt;/P&gt;&lt;P&gt;     May I know  the standard program which is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 07:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334680#M1538666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T07:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334681#M1538667</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;if you call a standart program can you please show the real perform statement wich you use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 08:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334681#M1538667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T08:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334682#M1538668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PERFORM check  IN PROGRAM (lv_progname) TABLES &amp;lt;fs_tempa&amp;gt; i_err_detail IF FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where lv_progname is progname generated based on some i/p parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the short dump its says that  the formal parameter no.2 is typed . hence type conflict.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 08:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334682#M1538668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T08:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: dump while calling external subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334683#M1538669</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;can you please show the value of &lt;STRONG&gt;lv_progname&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 08:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-calling-external-subroutine/m-p/7334683#M1538669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-03T08:46:56Z</dc:date>
    </item>
  </channel>
</rss>

