<?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: Access global Internal Table in Update Task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291722#M1023750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But before calling the Exit data is data there in internal table . if so you can try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with the Dynamic Fieldsymbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: v_field(20) type c value '(MAINPROG)ITAB[]'.

field-symbols: &amp;lt;fs&amp;gt; type standard table .

assign (v_field) to &amp;lt;fs&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check &amp;lt;fs&amp;gt; for internal table data,.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2008 13:16:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-30T13:16:01Z</dc:date>
    <item>
      <title>Access global Internal Table in Update Task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291721#M1023749</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;We have an internal table itab defined &lt;STRONG&gt;globally&lt;/STRONG&gt; transaction LT06.&lt;/P&gt;&lt;P&gt;This table gets filled by some exit , &lt;STRONG&gt;exit1&lt;/STRONG&gt;  (by online processing in transaction). &lt;/P&gt;&lt;P&gt;Now we have a user exit , &lt;STRONG&gt;exit2&lt;/STRONG&gt; which gets called in &lt;STRONG&gt;update task&lt;/STRONG&gt; , where we need the data from this internal table.&lt;/P&gt;&lt;P&gt;How to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is available in the exit2 called in update task , but it &lt;STRONG&gt;does not contain any data&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;We tried exporting itab in exit1 to memory id and importing in exit2. Still no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide some inputs.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 13:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291721#M1023749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T13:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Access global Internal Table in Update Task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291722#M1023750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But before calling the Exit data is data there in internal table . if so you can try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with the Dynamic Fieldsymbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: v_field(20) type c value '(MAINPROG)ITAB[]'.

field-symbols: &amp;lt;fs&amp;gt; type standard table .

assign (v_field) to &amp;lt;fs&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check &amp;lt;fs&amp;gt; for internal table data,.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 13:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291722#M1023750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T13:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Access global Internal Table in Update Task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291723#M1023751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; in place SAPFP50M --exit1 program name&lt;/P&gt;&lt;P&gt;              STEXT       -- Internal table&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS : &amp;lt;fs&amp;gt; TYPE ANY TABLE.


*           Getting the text from the buffer
            ASSIGN ('(SAPFP50M)STEXT[]') TO &amp;lt;fs&amp;gt;[].

*           Refresh the work area
            REFRESH : t_textlines.
            CLEAR   : t_textlines.

*           Getting the text into the internal table
            LOOP AT &amp;lt;fs&amp;gt;[] INTO t_textlines.

              APPEND t_textlines.
              CLEAR t_textlines.

            ENDLOOP.  " &amp;lt;fs&amp;gt;[]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 13:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291723#M1023751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T13:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Access global Internal Table in Update Task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291724#M1023752</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;You should be able to export the internal table to an indx-type database table.  See the online help for the EXPORT statement addition "DATABASE dbtab(ar) [FROM wa] [CLIENT cl] ID id."  Once you export the internal table to dbtab(ar) in exit1, you can then IMPORT the internal table (again using the DATABASE addition of the keyword IMPORT) within exit2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 13:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291724#M1023752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T13:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Access global Internal Table in Update Task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291725#M1023753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also you can try the Shared memory Also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before going to the Update Task Exit export it to memory&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data: werks type werks_d.&lt;/P&gt;&lt;P&gt;DATA: wa TYPE indx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;werks = '1000'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;EXPORT werks FROM werks&lt;/P&gt;&lt;P&gt;  TO SHARED MEMORY indx(xy)&lt;/P&gt;&lt;P&gt;  FROM wa&lt;/P&gt;&lt;P&gt;  CLIENT sy-mandt&lt;/P&gt;&lt;P&gt;  ID 'MID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the Update task function&lt;/P&gt;&lt;P&gt;import that ... shared memory will work for you.&lt;/P&gt;&lt;P&gt;Normal export and Import fails but shared memory will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: werks type werks_d.&lt;/P&gt;&lt;P&gt;DATA: wa TYPE indx.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IMPORT werks TO werks&lt;/P&gt;&lt;P&gt;  FROM SHARED MEMORY indx(xy)&lt;/P&gt;&lt;P&gt;  TO wa&lt;/P&gt;&lt;P&gt;  CLIENT sy-mandt&lt;/P&gt;&lt;P&gt;  ID 'MID'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; "check  write werks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 13:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-global-internal-table-in-update-task/m-p/4291725#M1023753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T13:23:09Z</dc:date>
    </item>
  </channel>
</rss>

