<?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 Application-Log in IDOC-input function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log-in-idoc-input-function-module/m-p/5336528#M1229539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a newbie in IDOC-programming and so I have my first question.&lt;/P&gt;&lt;P&gt;I've wrote an application log while processing the different segments, but now I have the problem that if it vomes to an error I have to set status "51" in the status table, but then SAP will make a ROLLBACK WORK I think and then I have no chance to save the application log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can also not make a COMMIT WORK directly in the IDOC-processing (function module) because than the changes are saved on database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what can I do to save my application log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Mar 2009 17:28:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-14T17:28:32Z</dc:date>
    <item>
      <title>Application-Log in IDOC-input function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log-in-idoc-input-function-module/m-p/5336528#M1229539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a newbie in IDOC-programming and so I have my first question.&lt;/P&gt;&lt;P&gt;I've wrote an application log while processing the different segments, but now I have the problem that if it vomes to an error I have to set status "51" in the status table, but then SAP will make a ROLLBACK WORK I think and then I have no chance to save the application log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can also not make a COMMIT WORK directly in the IDOC-processing (function module) because than the changes are saved on database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what can I do to save my application log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2009 17:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log-in-idoc-input-function-module/m-p/5336528#M1229539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-14T17:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Application-Log in IDOC-input function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log-in-idoc-input-function-module/m-p/5336529#M1229540</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;Have you thought about putting your update to the log in a separate FM and calling it as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION xyz STARTING NEW TASK&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This way it will have it's own task and update area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Mar 2009 18:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log-in-idoc-input-function-module/m-p/5336529#M1229540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-15T18:04:41Z</dc:date>
    </item>
  </channel>
</rss>

