<?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: write to application log in user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-to-application-log-in-user-exit/m-p/1848295#M359611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pieter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do using &lt;STRONG&gt;BAL&lt;/STRONG&gt; functions if the lop is already opened. Try to find out what parameters the transaction uses for LOG access (handle!). Do the calls in the exit accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We append messages to the current log using FUNCTION 'BAL_LOG_MSG_ADD'. If the log handle is not available, you might access it using dynamic assign like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN ('(&amp;lt;program&amp;gt;)&amp;lt;field&amp;gt;') TO &amp;lt;field&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Feb 2007 15:51:13 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2007-02-03T15:51:13Z</dc:date>
    <item>
      <title>write to application log in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-to-application-log-in-user-exit/m-p/1848293#M359609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write a collection messages to the application log in user exit EBIA0003, user exit for transaction EA00, but I only can write one if I just use &lt;/P&gt;&lt;P&gt;message eYYY(x) with lv_msgv1&lt;/P&gt;&lt;P&gt;                                  lv_msgv2&lt;/P&gt;&lt;P&gt;                                  lv_msgv3&lt;/P&gt;&lt;P&gt;                                  lv_msgv4. &lt;/P&gt;&lt;P&gt;It will be placed in the log after the exit.&lt;/P&gt;&lt;P&gt;I've already tried with the &lt;STRONG&gt;BAL&lt;/STRONG&gt; functions, but it doesn't seem to work or maybe I'm doing something wrong. Is there a way to write a collection of messages in to the application log in this user exit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;greetz Pieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2007 13:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-to-application-log-in-user-exit/m-p/1848293#M359609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-03T13:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: write to application log in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-to-application-log-in-user-exit/m-p/1848294#M359610</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;Use t-code SE62&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2007 14:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-to-application-log-in-user-exit/m-p/1848294#M359610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-03T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: write to application log in user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-to-application-log-in-user-exit/m-p/1848295#M359611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pieter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do using &lt;STRONG&gt;BAL&lt;/STRONG&gt; functions if the lop is already opened. Try to find out what parameters the transaction uses for LOG access (handle!). Do the calls in the exit accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We append messages to the current log using FUNCTION 'BAL_LOG_MSG_ADD'. If the log handle is not available, you might access it using dynamic assign like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN ('(&amp;lt;program&amp;gt;)&amp;lt;field&amp;gt;') TO &amp;lt;field&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2007 15:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-to-application-log-in-user-exit/m-p/1848295#M359611</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-02-03T15:51:13Z</dc:date>
    </item>
  </channel>
</rss>

