<?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: READ DATASET DUMP:  Time limit exceeded in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527080#M2005131</link>
    <description>&lt;P&gt;Do it in background.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 13:55:38 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2021-10-12T13:55:38Z</dc:date>
    <item>
      <title>READ DATASET DUMP:  Time limit exceeded</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527078#M2005129</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I am trying to check and control a file on application server, at some point, I have to read the content of the xml file in a string then call a transformation.&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt; DO.
      CLEAR lv_line.
      TRY.
        READ DATASET lv_filepath INTO lv_line.
      CATCH cx_sy_conversion_codepage.
          "Erreur lecture du fichier
          MESSAGE e008(zisu_charg_sf) INTO gs_return-msg .
          MOVE-CORRESPONDING sy TO gs_return.
          EXIT.
      ENDTRY.
      IF sy-subrc NE 0.
        EXIT.
      ENDIF.


      y_xml_string = |{ y_xml_string } { lv_line }|.
      CONDENSE y_xml_string.
ENDDO.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;The file is large(about 12 Mo), the MF exceeds the maximum permitted runtime without interruption( the system profile parameter "rdisp/max_wprun_time"), SAP considers it as an endless loop and then a TIME OUT dump is triggered and has therefore been terminated.&lt;/P&gt;
  &lt;P&gt;From my point of view, there's nothing to do in ABAP level, the production team refuse to increase the value of "rdisp/max_wprun_time".&lt;/P&gt;
  &lt;P&gt;I would be grateful if you could provide some help and suggest a solution.&lt;/P&gt;
  &lt;P&gt;Best regards,&lt;/P&gt;
  &lt;P&gt;Achraf&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 13:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527078#M2005129</guid>
      <dc:creator>achraf_smaali</dc:creator>
      <dc:date>2021-10-12T13:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: READ DATASET DUMP:  Time limit exceeded</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527079#M2005130</link>
      <description>&lt;P&gt;You can reset the timeout by providing a &lt;A href="https://blogs.sap.com/2019/08/02/how-to-run-z-program-in-foreground-for-long-hours-without-time-out-dump/#comment-468805" target="_blank"&gt;progress bar&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 13:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527079#M2005130</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2021-10-12T13:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: READ DATASET DUMP:  Time limit exceeded</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527080#M2005131</link>
      <description>&lt;P&gt;Do it in background.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 13:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527080#M2005131</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-10-12T13:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: READ DATASET DUMP:  Time limit exceeded</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527081#M2005132</link>
      <description>&lt;P&gt;No, SAP doesn't consider it's an endless loop, it considers it's a time out.&lt;/P&gt;&lt;P&gt;See Matthew solution. Background execution is not subject to time out.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 14:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-dump-time-limit-exceeded/m-p/12527081#M2005132</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-10-12T14:09:14Z</dc:date>
    </item>
  </channel>
</rss>

