<?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: ABAP CODE background task log read from SM37 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477315#M15550</link>
    <description>&lt;P&gt;thanks for your answer John vo,&lt;/P&gt;&lt;P&gt;log is created in a background mode which is a LSMW direct input project we cant change the code in loading program the only option is i have to read the log from SM37 with correct record sequence number .&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2017 04:49:41 GMT</pubDate>
    <dc:creator>irumudipriyan</dc:creator>
    <dc:date>2017-04-12T04:49:41Z</dc:date>
    <item>
      <title>ABAP CODE background task log read from SM37</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477313#M15548</link>
      <description>&lt;P&gt;i have updated mara table in a background task and i need to display error details of each record with sequence number .i know we can see log details in SM37 but its showing only error or success details but how to get record sequence number ?&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;i need result as below &lt;/P&gt;&lt;P&gt;record       status       message&lt;/P&gt;&lt;P&gt;1                success     material created&lt;/P&gt;&lt;P&gt;2                error           rejected &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Priyan R.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 08:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477313#M15548</guid>
      <dc:creator>irumudipriyan</dc:creator>
      <dc:date>2017-04-11T08:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CODE background task log read from SM37</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477314#M15549</link>
      <description>&lt;P&gt;Try to raise message type 'S'. if you raise message type 'E' will stop program.&lt;/P&gt;&lt;P&gt;Then these info will write to job log&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Loop at it_mara.&lt;/P&gt;&lt;P&gt;    update to table mara.&lt;/P&gt;&lt;P&gt;     If sy-sy-subrc = 0&lt;/P&gt;&lt;P&gt;             message  'success material created'  TYPE 'S'&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;           message  'error rejected TYPE 'S'&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 10:49:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477314#M15549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-04-11T10:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CODE background task log read from SM37</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477315#M15550</link>
      <description>&lt;P&gt;thanks for your answer John vo,&lt;/P&gt;&lt;P&gt;log is created in a background mode which is a LSMW direct input project we cant change the code in loading program the only option is i have to read the log from SM37 with correct record sequence number .&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 04:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477315#M15550</guid>
      <dc:creator>irumudipriyan</dc:creator>
      <dc:date>2017-04-12T04:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP CODE background task log read from SM37</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477316#M15551</link>
      <description>&lt;P&gt;Perform some search on Application Log in online help and sample reports like SBAL_DEMO_*. &lt;/P&gt;&lt;P&gt;Then adapt your creation program and allow users to transaction SLG1.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 13:13:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-background-task-log-read-from-sm37/m-p/477316#M15551</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2017-04-18T13:13:34Z</dc:date>
    </item>
  </channel>
</rss>

