<?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: Get internaltable data of called program into calling program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346286#M1231218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) You can use ABAP Memory (IMPORT / EXPORT parameters)&lt;/P&gt;&lt;P&gt;2) You can use DATASETS (TRANSFER/READ - to work with application server).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;~Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2009 07:10:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-11T07:10:55Z</dc:date>
    <item>
      <title>Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346284#M1231216</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;iam calling one program through another program. i want to get internaltable data of called program into calling program( I don't want to display data on screen). how can i get this.&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;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346284#M1231216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346285#M1231217</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;u can use IMPORT/EXPORT to pass an internal table from one report to another report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346285#M1231217</guid>
      <dc:creator>keerthy_k</dc:creator>
      <dc:date>2009-03-11T07:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346286#M1231218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) You can use ABAP Memory (IMPORT / EXPORT parameters)&lt;/P&gt;&lt;P&gt;2) You can use DATASETS (TRANSFER/READ - to work with application server).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;~Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346286#M1231218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346287#M1231219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Called program&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;export wty_rule_i_ic-itmno to memory id 'IT'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Calling program&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import ITAB = ITAB from memory id  'IT'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:11:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346287#M1231219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346288#M1231220</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;called program is standard program i can't chage the code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346288#M1231220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346289#M1231221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;*IN CALLED PROGRAM WRITE AS*

export itab = itab_of_thisprogram[] to memory id 'ZTABLE' .

*IN CALLING PROGRAM WRITE AS*

import itab = itab_of_thisprogram[] from memory id 'ZTABLE' .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: tahir naqqash on Mar 11, 2009 12:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:23:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346289#M1231221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346290#M1231222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is an example that I use to retrieve data from other programs. this example reads the data of table gt_comp from programm SAPLCOWB which I use to verify if users have entered new data in iw42 which is not allowed in our procedure of working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ofcourse this only works if the called programm is not closed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF gt_comp OCCURS 0.
        INCLUDE STRUCTURE cowb_comp.
DATA: END OF gt_comp.

field-symbols : &amp;lt;fs&amp;gt; type any table,
                &amp;lt;wa&amp;gt; type any.



clear global_field_name.
move '(SAPLCOWB)GT_COMP[]'  to global_field_name.
assign (global_field_name) to &amp;lt;fs&amp;gt;.


loop at &amp;lt;fs&amp;gt; assigning &amp;lt;wa&amp;gt;.
move &amp;lt;wa&amp;gt; to gt_comp.
if gt_comp-rsnum eq '0'.
    message ID 'ZCS' type 'E' number '001'.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: A. de Smidt on Mar 11, 2009 8:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346290#M1231222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346291#M1231223</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 its not possible modify the called program then how can you IMPORT internal table. Can you explain me the real requirement of moving the internal data from one program to another.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346291#M1231223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346292#M1231224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh&lt;/P&gt;&lt;P&gt;try using the function module 'FREE_SELECTIONS_RANGE_2_EX' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hareesh menon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346292#M1231224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346293#M1231225</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;what is type of  global_field_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346293#M1231225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346294#M1231226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: v_tabname type char20.
field-symbols: &amp;lt;fs&amp;gt; type any table.
v_tabname = '(&amp;lt;ur standard program&amp;gt;)&amp;lt;ur internal table&amp;gt;' " like '(RFKORD10)DOPOS[]'

assign (v_tabname) to &amp;lt;fs&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use &amp;lt;fs&amp;gt; according to ur requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346294#M1231226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346295#M1231227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well A. de Smidt  has already given the similar code so sorry for repetetion, the type would be char to store the name of standard program as well as internal table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:44:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346295#M1231227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346296#M1231228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; what is type of  global_field_name.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Suresh&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: global_field_name(100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry forgot to copy that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 07:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346296#M1231228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T07:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346297#M1231229</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;Still iam not getting the data.&lt;/P&gt;&lt;P&gt;iam getting error like field-symbol is not assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any extra code is required other than your code. &lt;/P&gt;&lt;P&gt;Please provide me complete code if possible &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 08:10:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346297#M1231229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T08:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346298#M1231230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is youre external programm still running in the background or is it closed down ?&lt;/P&gt;&lt;P&gt;if it's closed down then it is not assigned. further on is the data in the external programm a table or a structure ??&lt;/P&gt;&lt;P&gt;if its a structure then use leave out the [].&lt;/P&gt;&lt;P&gt;move '(SAPLCOWB)GT_COMP'  to global_field_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you put the code here of you're programm with my code in it and the code of the programm you call ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 08:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346298#M1231230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T08:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get internaltable data of called program into calling program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346299#M1231231</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.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 06:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-internaltable-data-of-called-program-into-calling-program/m-p/5346299#M1231231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T06:45:38Z</dc:date>
    </item>
  </channel>
</rss>

