<?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 in exporting in another program. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159173#M456535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error occurs because your pointer_tab is only 20 chars long, so the name that it stores is (Z_82235_TEST1_FS)IT, instead of (Z_82235_TEST1_FS)ITAB[]. It cannot find such an itab, and errors out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to either shorten your program name, or increase the length of pointer_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2007 08:56:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-10T08:56:33Z</dc:date>
    <item>
      <title>Problem in exporting in another program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159172#M456534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this context, i got a help from the following SDN link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="176010"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Referred Rich Heilman's post and develop the following two program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report  z_82235_test1_fs                        .

data: itab type table of string with header line.

field-symbols: &amp;lt;fs&amp;gt; type table.


itab = 'This is the line 1'. append itab.
itab = 'This is the line 2'. append itab.

perform simulate_function_call in program z_82235_test2_fs.   &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  Z_82235_TEST2_FS                        .


perform simulate_function_call.


form simulate_function_call .

  field-symbols: &amp;lt;fs&amp;gt; type table.
  data: wa type string.
  data: pointer_tab(20) type c.

  pointer_tab = '(Z_82235_TEST1_FS)ITAB[]'.
  assign (pointer_tab) to &amp;lt;fs&amp;gt;.

  loop at &amp;lt;fs&amp;gt; into wa.
    write:/ wa.
  endloop.


endform.                    " simulate_function_call&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while execution i am getting runtime error. Could anyone plz tell me the reason and what correction i have to do to make my code work???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 08:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159172#M456534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T08:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in exporting in another program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159173#M456535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error occurs because your pointer_tab is only 20 chars long, so the name that it stores is (Z_82235_TEST1_FS)IT, instead of (Z_82235_TEST1_FS)ITAB[]. It cannot find such an itab, and errors out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to either shorten your program name, or increase the length of pointer_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 08:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159173#M456535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T08:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in exporting in another program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159174#M456536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you activated both the programs before executing &amp;amp; change Pointer length as I run them and they are executing.&lt;/P&gt;&lt;P&gt;Remember these are two different reports in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is first -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  z_82235_test1_fs                        .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data: itab type table of string with header line.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;fs&amp;gt; type table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;itab = 'This is the line 1'. append itab.&lt;/P&gt;&lt;P&gt;itab = 'This is the line 2'. append itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;perform simulate_function_call in program z_82235_test2_fs.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is second -&lt;/P&gt;&lt;P&gt;REPORT  Z_82235_TEST2_FS                        .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;perform simulate_function_call.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;form simulate_function_call .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  field-symbols: &amp;lt;fs&amp;gt; type table.&lt;/P&gt;&lt;P&gt;  data: wa type string.&lt;/P&gt;&lt;P&gt;  data: pointer_tab(&amp;lt;b&amp;gt;30&amp;lt;/b&amp;gt;) type c.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  pointer_tab = '(Z_82235_TEST1_FS)ITAB[]'.&lt;/P&gt;&lt;P&gt;  assign (pointer_tab) to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  loop at &amp;lt;fs&amp;gt; into wa.&lt;/P&gt;&lt;P&gt;    write:/ wa.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endform.                    " simulate_function_call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 09:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159174#M456536</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-05-10T09:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in exporting in another program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159175#M456537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u Sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 09:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-exporting-in-another-program/m-p/2159175#M456537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T09:07:33Z</dc:date>
    </item>
  </channel>
</rss>

