<?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: Fetching from MSEG in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342540#M1397687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all do you need documents for all the movement types ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell the logic behind MARD and MSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally i use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MARC-MATNR and MARC-werks to MSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to pass posting date to mkpf , get the document no, then get the details from mseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check transaction &lt;STRONG&gt;MB51&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2009 05:35:08 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-10-30T05:35:08Z</dc:date>
    <item>
      <title>Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342534#M1397681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a unique problem - I am fetching from MSEG without using the keys and always getting a dump in the select statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table MSEG contains 22 Million entries and I am fetching using the statement: &lt;/P&gt;&lt;P&gt;    SELECT matnr mjahr bwart menge oib_timestamp&lt;/P&gt;&lt;P&gt;            INTO TABLE it_mseg&lt;/P&gt;&lt;P&gt;            FROM mseg FOR ALL ENTRIES IN it_mard&lt;/P&gt;&lt;P&gt;            WHERE matnr = it_mard-matnr&lt;/P&gt;&lt;P&gt;              AND werks = it_mard-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following, but no result as of yet: &lt;/P&gt;&lt;P&gt;(1) Made an index and tried fetching&lt;/P&gt;&lt;P&gt;(2) All combinations of JOINS with MSEG table&lt;/P&gt;&lt;P&gt;(3) Writing Native SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 13:52:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342534#M1397681</guid>
      <dc:creator>aditya_niyogi</dc:creator>
      <dc:date>2009-10-29T13:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342535#M1397682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just a guess. Try:&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE it_mseg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 13:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342535#M1397682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T13:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342536#M1397683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There should already be an index MSEG~M on your system whose keys are MANDT, MATNR, WERKS and LGORT, BWART, SOBKZ so you request should have used this index, check if it is activated database side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;- how many records do you gave in it_mard&lt;/P&gt;&lt;P&gt;- which error exact error do you get (ST22 or SM21) - related to SQL, duration or memory ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 14:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342536#M1397683</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-10-29T14:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342537#M1397684</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;Currently 1900 records are being given to IT_MARD. I have tried various scenarios and have obtained the following dumps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Timeout.&lt;/P&gt;&lt;P&gt;(2) Memory failure - this was because the total no. of records fetched was beyond 2 million.&lt;/P&gt;&lt;P&gt;(3) Database failure  - this was because I tried accessing the index with the MSEG~M index. There were too many criterias I set for BWART, SOBKZ and LGORT fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any more information. I have got any and every error I think that is related to memory &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aditya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aditya  Niyogi on Oct 29, 2009 9:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 16:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342537#M1397684</guid>
      <dc:creator>aditya_niyogi</dc:creator>
      <dc:date>2009-10-29T16:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342538#M1397685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IT_MARD should be sorted by matnr and werks and not contain duplicates, but I seriously think you should go back to the scenario that gave you just the time out and no memory problems and run this query in background. Or try to use block processing if possible (SELECT ... PACKAGE SIZE ... ).&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 16:34:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342538#M1397685</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-10-29T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342539#M1397686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya, &lt;/P&gt;&lt;P&gt;So for those 1900 materials there are 2 million material documents?&lt;/P&gt;&lt;P&gt;If so, what exactly do you want to do with those 2 million documents? Surely no user will want to check 2 million lines of information, or?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rui Dantas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 16:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342539#M1397686</guid>
      <dc:creator>Rui_Dantas</dc:creator>
      <dc:date>2009-10-29T16:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342540#M1397687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all do you need documents for all the movement types ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell the logic behind MARD and MSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally i use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MARC-MATNR and MARC-werks to MSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to pass posting date to mkpf , get the document no, then get the details from mseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check transaction &lt;STRONG&gt;MB51&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 05:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342540#M1397687</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-30T05:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342541#M1397688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to read the data from packet of 100 or so keys records (are you sure you really need every records, without date or type criteria) then condense/collect the data before fetching the next packet, you may also considere true parallelization, via function modules (CALL FUNCTION ... STARTING NEW TASK ... PERFORMING ...  ON END OF TASK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you actually need the 2000000 records, use EXTRACTs, but they will be stored in database if&lt;/P&gt;&lt;P&gt; larger than 500KB, so performance problem may arise in the late processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 07:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342541#M1397688</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-10-30T07:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342542#M1397689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does your where condition contain only 2 fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try narrowing the database fetch?&lt;/P&gt;&lt;P&gt;Use more fields in the where condition to narrow the fetch..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SuryaD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2009 15:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342542#M1397689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-30T15:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342543#M1397690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the requirement - as my functional is only aware of MSEG table, hence all entries have to be used. I had one suggestion and that was to find out how the data was fetched into the MSEG table (this is a cluster table, so all the data should be coming from somewhere else). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding approaces to be taken, I am considering the following approaches: &lt;/P&gt;&lt;P&gt;(1) Parallelization&lt;/P&gt;&lt;P&gt;(2) Using PACKAGE&lt;/P&gt;&lt;P&gt;(3) Using Extracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like some links or hints regarding these approaches, since this goes beyond normal ABAP coding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 09:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342543#M1397690</guid>
      <dc:creator>aditya_niyogi</dc:creator>
      <dc:date>2009-11-02T09:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342544#M1397691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(1) Parallelization - [Parallel Processing with Asynchronous RFC|http://help.sap.com/saphelp_nw04/helpdata/EN/22/0425c6488911d189490000e829fbbd/frameset.htm]&lt;/P&gt;&lt;P&gt;(2) Using PACKAGE - [PACKAGE SIZE n  |http://help.sap.com/abapdocu_70/en/ABAPINTO_CLAUSE.htm#!ABAP_ONE_ADD@1@] /or/ [OPEN CURSOR|http://help.sap.com/abapdocu_70/en/ABAPOPEN_CURSOR.htm]&lt;/P&gt;&lt;P&gt;(3) Using Extracts. - [Extracts|http://help.sap.com/saphelp_nw70/helpdata/EN/9f/db9ed135c111d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 10:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342544#M1397691</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-11-02T10:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342545#M1397692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of 2 things could be your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Since the execution time large, the execution of your code is probably just timing out. This is a BASIS setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The records fetched could be so large that it exceeds the maximum permissible size of an internal table in your system. This too is a BASIS setting. This sounds more likely to be your problem because your select should be using index M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: As an ABAP programmer you cannot change these settings. You will have to work around them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My 2 cents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) MSEG has a secondary index M on fields MATNR, WERKS, LGORT, BWART, SOBKZ. Your code is probably already using this index. Explore the possibility of using LGORT, BWART, SOBKZ in your where clause. This would reduce the size of the prospective records thus influencing both the probable causes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Whenever you use FOR ALL ENTRIES makes sure that you include all the primary key fields in the field list or else you could loose some data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Using PACKAGE SIZE would reduce the number of records you process in each pass. It does not do anything for the speed of execution of your program (it could make it a little slower) but you can easily eliminate the dumping because of large number of qualifying entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Please avoid using native SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT it_mard[] IS INITIAL.

  SELECT mblnr
         mjahr
         zeile
         matnr
         mjahr
         bwart
         menge
         oib_timestamp
  INTO TABLE it_mseg
  PACKAGE SIZE 5000
  FROM mseg FOR ALL ENTRIES IN it_mard
  WHERE matnr EQ it_mard-matnr
  AND   werks EQ it_mard-werks
  AND   lgort EQ it_mard-lgort.

*    LOOP AT it_mseg INTO w_mseg.
*
**     Processing code
*
*    ENDLOOP.

  ENDSELECT.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2009 20:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342545#M1397692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-02T20:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342546#M1397693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&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; 3) Using PACKAGE SIZE would reduce the number of records you process in each pass. It does not do anything for the speed of execution of your program (it could make it a little slower) but you can easily eliminate the dumping because of large number of qualifying entries.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;IF NOT it_mard[] IS INITIAL.
&amp;gt; 
&amp;gt;   SELECT mblnr
&amp;gt;          mjahr
&amp;gt;          zeile
&amp;gt;          matnr
&amp;gt;          mjahr
&amp;gt;          bwart
&amp;gt;          menge
&amp;gt;          oib_timestamp
&amp;gt;   INTO TABLE it_mseg
&amp;gt;   PACKAGE SIZE 5000
&amp;gt;   FROM mseg FOR ALL ENTRIES IN it_mard
&amp;gt;   WHERE matnr EQ it_mard-matnr
&amp;gt;   AND   werks EQ it_mard-werks
&amp;gt;   AND   lgort EQ it_mard-lgort.
&amp;gt; 
&amp;gt; *    LOOP AT it_mseg INTO w_mseg.
&amp;gt; *
&amp;gt; **     Processing code
&amp;gt; *
&amp;gt; *    ENDLOOP.
&amp;gt; 
&amp;gt;   ENDSELECT.
&amp;gt; 
&amp;gt; ENDIF.&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you sure about the PACKAGE SIZE? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is from the ABAP documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the additions PACKAGE SIZE or UP TO n ROWS are specified together with FOR ALL ENTRIES, they are not passed to the database system but are applied instead to the resulting set once all selected rows on the application server have been imported. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2009 09:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342546#M1397693</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2009-11-03T09:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342547#M1397694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PACKAGE SIZE will not help for the FAE (see my response to Mark).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2009 09:39:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342547#M1397694</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2009-11-03T09:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching from MSEG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342548#M1397695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&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; Currently 1900 records are being given to IT_MARD. I have tried various scenarios and have obtained the following dumps:&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; (1) Timeout.&lt;/P&gt;&lt;P&gt;&amp;gt; (2) Memory failure - this was because the total no. of records fetched was beyond 2 million.&lt;/P&gt;&lt;P&gt;&amp;gt; (3) Database failure  - this was because I tried accessing the index with the MSEG~M index. There were too many criterias I set for BWART, SOBKZ and LGORT fields. &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Let me know if you need any more information. I have got any and every error I think that is related to memory &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; . &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;gt; Aditya.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Edited by: Aditya  Niyogi on Oct 29, 2009 9:49 PM&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried with smaller driver tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the FAE with 500 entries in it_mard, process these, then do the next 500....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2009 09:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-from-mseg/m-p/6342548#M1397695</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2009-11-03T09:49:40Z</dc:date>
    </item>
  </channel>
</rss>

