<?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: Creating Log files after program is executed in background. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907238#M1145765</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;Modify the program which is to be scheduled in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end of the background program, build a code using OPEN DATASET... to write the log details to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason to build the code at the end of the program is bcz Once the control reaches the LOG WRITING logic, it would mean that the background program has been successfully executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Dec 2008 04:16:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-16T04:16:24Z</dc:date>
    <item>
      <title>Creating Log files after program is executed in background.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907235#M1145762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a program which its aim is to create a flat file and send it over server. The program however is to be executed in the background and after executing the job (in background). A Log file should be created in a specific format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please tell me how can I create a log file after the program has executed in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shabir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 04:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907235#M1145762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T04:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Log files after program is executed in background.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907236#M1145763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you run any report in background&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use write to display the message it automaticaly create the spool for report&lt;/P&gt;&lt;P&gt;norw u can check it in transaction SP01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 04:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907236#M1145763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T04:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Log files after program is executed in background.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907237#M1145764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this FM &lt;STRONG&gt;BP_JOBLOG_SHOW&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the function module documentation for more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 04:14:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907237#M1145764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T04:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Log files after program is executed in background.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907238#M1145765</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;Modify the program which is to be scheduled in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end of the background program, build a code using OPEN DATASET... to write the log details to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason to build the code at the end of the program is bcz Once the control reaches the LOG WRITING logic, it would mean that the background program has been successfully executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 04:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907238#M1145765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T04:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Log files after program is executed in background.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907239#M1145766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,you can use function module BP_JOBLOG_SHOW or BP_JOBLOG_READ to display a job log to a user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check this link to display a log&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/EN/fa/096ddc543b11d1898e0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/EN/fa/096ddc543b11d1898e0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 04:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-log-files-after-program-is-executed-in-background/m-p/4907239#M1145766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T04:22:31Z</dc:date>
    </item>
  </channel>
</rss>

