<?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: TIMELIMIT EXCEEDED in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655180#M880495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Explain again why you cannot run this in the background and display a result list to the user? That sounds like the best option. You mentioned you were getting memory problems, these will need to be addressed whether running in foreground or background. Perhaps provide a selection screen to allow users to restrict the data processed in each run?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2008 15:19:15 GMT</pubDate>
    <dc:creator>che_eky</dc:creator>
    <dc:date>2008-04-11T15:19:15Z</dc:date>
    <item>
      <title>TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655154#M880469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program reads a whole lot of data..&lt;/P&gt;&lt;P&gt;Now  after a while I get this error: 'Time Limit Exceeded'.&lt;/P&gt;&lt;P&gt;What are possible things to do cause I can't run it in background because after the reading I want to output a summary of wat data is readed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 13:56:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655154#M880469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655155#M880470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;execute it in background and get that output summary from spool... or you can download that output to some file on application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 14:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655155#M880470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T14:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655156#M880471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;maybe split your program into 2 separate programs:&lt;/P&gt;&lt;P&gt;first program will be read a lot of data and save this&lt;/P&gt;&lt;P&gt;data into z-table (in background)&lt;/P&gt;&lt;P&gt;and second program will be read this z-table and display&lt;/P&gt;&lt;P&gt;result?&lt;/P&gt;&lt;P&gt;best regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 14:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655156#M880471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T14:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655157#M880472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume the program needs fine tuning, may be that cud solve the issue.&lt;/P&gt;&lt;P&gt;Share the program, may be we could help you out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 14:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655157#M880472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T14:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655158#M880473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes but when I split the program. And run one part in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I continue after the first part is finished?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 14:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655158#M880473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T14:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655159#M880474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here s part of the program: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS: &amp;lt;it&amp;gt; TYPE STANDARD TABLE,
                 &amp;lt;temp&amp;gt;,
                 &amp;lt;wa&amp;gt; TYPE ANY.

* create a dynamic table of the infotype
  DATA: infty_tab_pointer TYPE REF TO data.
  CREATE DATA infty_tab_pointer TYPE TABLE OF (tabname).
  ASSIGN infty_tab_pointer-&amp;gt;* TO &amp;lt;it&amp;gt;.

    LOOP AT i_objects.
*     get data form internal table tabname into &amp;lt;it&amp;gt;
      SELECT * FROM (tabname) INTO CORRESPONDING FIELDS OF TABLE &amp;lt;it&amp;gt;
WHERE objid EQ i_objects-objid.

*      loop at every record of the selection
      LOOP AT &amp;lt;it&amp;gt; ASSIGNING &amp;lt;temp&amp;gt; .

*        loop at every datafield of the record
        LOOP AT datafields WHERE infotype = tabname.
          ASSIGN COMPONENT datafields-field_name OF STRUCTURE
&amp;lt;temp&amp;gt; TO &amp;lt;wa&amp;gt;.

          MOVE &amp;lt;wa&amp;gt; TO output_tab_pd-data+datafields-field_start.
        ENDLOOP.

        output_tab_pd-infotype = tabname.
        APPEND output_tab_pd.
      ENDLOOP.
    ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now look: This part of code is called for every selected table: &lt;/P&gt;&lt;P&gt;It loops through all objects and selects all data from that object from the table.&lt;/P&gt;&lt;P&gt;It loops through all selected records of the table and splits them with datafields. (datafields contains the structure of every table with the startposition so I can split it later on again).&lt;/P&gt;&lt;P&gt;Now everything goes write.&lt;/P&gt;&lt;P&gt;But when theres to much data selected (when this loop '      LOOP AT &amp;lt;it&amp;gt; ASSIGNING &amp;lt;temp&amp;gt; ' is executed more than 50.000 times ) it stops and gives the error (after 1200 secs. it says..)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 14:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655159#M880474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T14:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655160#M880475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;simple scenario is:&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;user check manually in sm37 if the first report finished  &lt;/P&gt;&lt;P&gt;or user receive e-mail about finshed job&lt;/P&gt;&lt;P&gt;(first report writing result to z-table)&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;after that user execute second report which reads&lt;/P&gt;&lt;P&gt;z-table and display result&lt;/P&gt;&lt;P&gt;best regards, darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 07:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655160#M880475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T07:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655161#M880476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes but my boss isn't gonna like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there must be as little user-interaction as possible..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 08:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655161#M880476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T08:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655162#M880477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to increase the time limit to ...  say 1800 seconds...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 08:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655162#M880477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T08:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655163#M880478</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;Reason is , with in a loop you are extracting the data from database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do one thing remove the select statement from loop and use for all entries...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT i_objects[] IS INITIAL.&lt;/P&gt;&lt;P&gt;  SELECT * FROM (tabname) &lt;/P&gt;&lt;P&gt;  INTO CORRESPONDING FIELDS OF TABLE &amp;lt;it&amp;gt;&lt;/P&gt;&lt;P&gt;  FOR  ALL ENTRIES IN i_objects&lt;/P&gt;&lt;P&gt;  WHERE objid EQ i_objects-objid.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have multiple records for  each objid you loop with in loop else use read statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. IF you have multiple records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      loop at every record of the selection&lt;/P&gt;&lt;P&gt;      LOOP AT &amp;lt;it&amp;gt; ASSIGNING &amp;lt;temp&amp;gt; WHERE objid EQ i_objects-objid .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       loop at every datafield of the record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        LOOP AT datafields WHERE infotype = tabname.&lt;/P&gt;&lt;P&gt;          ASSIGN COMPONENT datafields-field_name OF STRUCTURE&lt;/P&gt;&lt;P&gt;&amp;lt;temp&amp;gt; TO &amp;lt;wa&amp;gt;.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;          MOVE &amp;lt;wa&amp;gt; TO output_tab_pd-data+datafields-field_start.&lt;/P&gt;&lt;P&gt;        ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        output_tab_pd-infotype = tabname.&lt;/P&gt;&lt;P&gt;        APPEND output_tab_pd.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 08:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655163#M880478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T08:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655164#M880479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;U  can use progress indicator to avoid "Time Limit Exceeded "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After applying loop&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'PROGRESS_INDICATOR'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            I_TEXT = 'Processing........ '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second option is .&lt;/P&gt;&lt;P&gt;u can use binary search  or other sorting methods to reduce time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 08:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655164#M880479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T08:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655165#M880480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to give an error.. Any idea why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 09:15:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655165#M880480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T09:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655166#M880481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where would I have to put the progress  indicator?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 09:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655166#M880481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T09:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655167#M880482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lol I've just tried it with the progress indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After 50 minutes I get the following error:&lt;/P&gt;&lt;P&gt;Memory low. Leave the transaction before taking a break!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the tables in debug, and its around 1.5 million records now.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas how to speed things up a bit..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 12:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655167#M880482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T12:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655168#M880483</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;When I try to include FOR ALL ENTRIES IN It always loops trough every personell number even when I only have 1 number in the table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what this could be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 12:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655168#M880483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T12:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655169#M880484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For sure use the FOR ALL ENTRIES suggestion as that will improve performance BUT check table i_objects is not empty first. Also make sure table DATAFIELDS is a sorted table to help speed up the loop search.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 13:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655169#M880484</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2008-04-11T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655170#M880485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.. Problem is that the table isn't empty :s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No mather wat the contents is, it always takes all records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And can you explain a sorted table a bit more..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 13:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655170#M880485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T13:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655171#M880486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS: &amp;lt;it&amp;gt; TYPE STANDARD TABLE,
                 &amp;lt;temp&amp;gt;,
                 &amp;lt;wa&amp;gt; TYPE ANY.
 
  DATA: infty_tab_pointer TYPE REF TO data.
  CREATE DATA infty_tab_pointer TYPE TABLE OF (tabname).
  ASSIGN infty_tab_pointer-&amp;gt;* TO &amp;lt;it&amp;gt;.
    if not i_objects[] is initial.
      SELECT * FROM (tabname) INTO CORRESPONDING FIELDS OF TABLE &amp;lt;it&amp;gt;
         for all entries in i_objects
         WHERE objid EQ i_objects-objid.        
    endif.

    LOOP AT i_objects.
      LOOP AT &amp;lt;it&amp;gt; ASSIGNING &amp;lt;temp&amp;gt; where objid EQ i_objects-objid.
        LOOP AT datafields WHERE infotype = tabname.
          ASSIGN COMPONENT datafields-field_name OF 
                    STRUCTURE &amp;lt;temp&amp;gt; TO &amp;lt;wa&amp;gt;.
           MOVE &amp;lt;wa&amp;gt; TO output_tab_pd-data+datafields-field_start.
        ENDLOOP.
         output_tab_pd-infotype = tabname.
        APPEND output_tab_pd.
      ENDLOOP.
    ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 13:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655171#M880486</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-04-11T13:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655172#M880487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same problem.. I always get a selection without where cause..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 13:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655172#M880487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: TIMELIMIT EXCEEDED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655173#M880488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;For the following loop over datafields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;LOOP AT datafields WHERE infotype = tabname.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it makes sense to declare datafields as a sorted table with non-unique key infotype. Doing this will speed up the above loop statement as a full table scan is not needed. Make sure datafields is sorted by field infotype and it is the first column in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the FOR ALL ENTRIES are you using the correct construct, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i_objects[] is not initial.&lt;/P&gt;&lt;P&gt;SELECT * &lt;/P&gt;&lt;P&gt;   FROM (tabname) &lt;/P&gt;&lt;P&gt;      INTO CORRESPONDING FIELDS OF TABLE &amp;lt;it&amp;gt;&lt;/P&gt;&lt;P&gt;       FOR ALL ENTRIES IN i_objects&lt;/P&gt;&lt;P&gt;  WHERE objid EQ i_objects-objid.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps some.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 13:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timelimit-exceeded/m-p/3655173#M880488</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2008-04-11T13:18:20Z</dc:date>
    </item>
  </channel>
</rss>

