<?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: application log in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847068#M359218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAL_DB_LOAD-&amp;gt;&lt;/P&gt;&lt;P&gt;Application Log: Database: Load log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;The function module BAL_DB_LOAD loads logs from the database.&lt;/P&gt;&lt;P&gt;Which logs are to be loaded into memory can be specified in one of several ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_T_LOG_HANDLE&lt;/P&gt;&lt;P&gt;A table of log handles&lt;/P&gt;&lt;P&gt;I_T_LOGNUMBER&lt;/P&gt;&lt;P&gt;A table of internal log numbers&lt;/P&gt;&lt;P&gt;I_T_LOG_HEADER&lt;/P&gt;&lt;P&gt;A table of log headers (returned by function module BAL_DB_SEARCH)&lt;/P&gt;&lt;P&gt;The result of loading can be a table of log handles (Exporting parameter E_T_LOG_HANDLE) or message handles (Exporting parameter E_T_MSG_HANDLE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is cross-client:&lt;/P&gt;&lt;P&gt;If you specify I_T_LOG_HANDLE it searches in all clients (this is not critical because the log handle is globally unique)&lt;/P&gt;&lt;P&gt;If you specify I_T_LOGNUMBER the client in the parameter I_CLIENT is taken into account. If it is not specified, the current client is used.&lt;/P&gt;&lt;P&gt;If you specify I_T_LOG_HEADER the client in the table field MANDANT is taken into account (it is filled automatically by the function module BAL_DB_SEARCH).&lt;/P&gt;&lt;P&gt;Other parameters:&lt;/P&gt;&lt;P&gt;You can specify that only the log headers are to be loaded in memory with the Importing parameter I_DO_NOT_LOAD_MESSAGES. See Read log messages as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify that the exception LOG_ALREADY_LOADED be raised if one of the logs to be loaded is already in memory, with the Importing parameter I_EXCEPTION_IF_ALREADY_LOADED = 'X'. In this case no logs are loaded.&lt;/P&gt;&lt;P&gt;I_EXCEPTION_IF_ALREADY_LOADED = ' ' (default) ignores a log to be loaded if it is already in memory. All other logs are loaded correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;To load the database status, use the function module BAL_DB_RELOAD, which first deletes a log from memory if necessary before loading it.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Report SBAL_DEMO_05 ( ==&amp;gt;Run ==&amp;gt;Coding) simulates a settlement run for all flights on a specified date. You can choose:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simulate settlement.&lt;/P&gt;&lt;P&gt;The documents are only collected in memory with temporary numbers, which are logged.&lt;/P&gt;&lt;P&gt;Perform settlement.&lt;/P&gt;&lt;P&gt;A log is saved in the database after the temporary document numbers have been replaced by permanent ones in the log.&lt;/P&gt;&lt;P&gt;Display logs.&lt;/P&gt;&lt;P&gt;Related function modules&lt;/P&gt;&lt;P&gt;Save and load logs&lt;/P&gt;&lt;P&gt;Delete logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;Quick start documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application Log: Technical documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter&lt;/P&gt;&lt;P&gt;I_T_LOG_HEADER&lt;/P&gt;&lt;P&gt;I_T_LOG_HANDLE&lt;/P&gt;&lt;P&gt;I_T_LOGNUMBER&lt;/P&gt;&lt;P&gt;I_CLIENT&lt;/P&gt;&lt;P&gt;I_DO_NOT_LOAD_MESSAGES&lt;/P&gt;&lt;P&gt;I_EXCEPTION_IF_ALREADY_LOADED&lt;/P&gt;&lt;P&gt;E_T_LOG_HANDLE&lt;/P&gt;&lt;P&gt;E_T_MSG_HANDLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;NO_LOGS_SPECIFIED&lt;/P&gt;&lt;P&gt;LOG_NOT_FOUND&lt;/P&gt;&lt;P&gt;LOG_ALREADY_LOADED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function group&lt;/P&gt;&lt;P&gt;BAL_LOG_CREATE -&amp;gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;Application Log: Log: Create with header data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;The function module BAL_LOG_CREATE opens the Application Log whose header data is in the Importing parameter I_S_LOG_HEADER, which has the structure BAL_S_LOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module BAL_LOG_CREATE returns the log handle (LOG_HANDLE, CHAR22).&lt;/P&gt;&lt;P&gt;The LOG_HANDLE is a GUID (globally unique identifier) which uniquely identifies a log. You can access this log with this handle, e.g. to subsequently change the header data ( BAL_LOG_HDR_CHANGE) or to put a message in the log ( BAL_LOG_MSG_ADD).&lt;/P&gt;&lt;P&gt;The LOG_HANDLE has its permanent value straight awys, so it remains valid after saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==&amp;gt;Note:&lt;/P&gt;&lt;P&gt;Logs in memory and in the database are referred to in the new Application Log by the log handle (LOG_HANDLE), but the previous LOGNUMBER, which is assigned from number range interval 01 of number range object APPL_LOG when you save, still exists. A lot of applications have a reference to this LOGNUMBER in their structures, so it is still supported. The LOGNUMBER is also more understandable for users than the LOG_HANDLE. There is a 1:1 relationship between LOG_HANDLE and LOGNUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Related function bausteine&lt;/P&gt;&lt;P&gt;Simple log creation call&lt;/P&gt;&lt;P&gt;Methods of collecting messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;Quick start documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application Log: Technical documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter&lt;/P&gt;&lt;P&gt;I_S_LOG&lt;/P&gt;&lt;P&gt;E_LOG_HANDLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;LOG_HEADER_INCONSISTENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read these ,i hope these ll hlep you to give the clear idea about these two function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2007 04:36:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-05T04:36:14Z</dc:date>
    <item>
      <title>application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847063#M359213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;I have gone thruogh Fm documentation regarding application log.In many FM like BAL_DB_LOAD, BAL_LOG_CREATE etc we come across the sentense saying that the logs are stored in memory.&lt;/P&gt;&lt;P&gt;Which memory are they referring ?? Can anybody please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2007 11:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847063#M359213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-03T11:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847064#M359214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;Please reply to this thread. I am waiting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2007 11:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847064#M359214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-03T11:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847065#M359215</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;Logos are saveing in this table -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; MCEXLOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And goto OAOR transaction, Here u can have a option to upload logos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2007 14:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847065#M359215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-03T14:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847066#M359216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the documentation sys the logs are stored in memory&lt;/P&gt;&lt;P&gt;  - after the log has been loaded&lt;/P&gt;&lt;P&gt;  - when a message is created&lt;/P&gt;&lt;P&gt;If you want to keep the messages, you have store them in database using&lt;/P&gt;&lt;P&gt;FUNCTION 'BAL_DB_SAVE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The messages are stored in the BAL_LOG_* function group memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means when you create a log you will not waste any time with database accesses before you save the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to explain your situation that I could help you with the logs. We built an inbound IDOC interface and created our own object to create a log, store messages and save the log to the dabase at the end of the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way we could go to the application log directly from IDOC administration.&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 16:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847066#M359216</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-02-03T16:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847067#M359217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi clemens Li.&lt;/P&gt;&lt;P&gt;I am a beginner in ABAP and have been given with an assignment to do a presentation on Application log.I have collected revelant data.In case you have some more data as you have done some work in this topic,please forward it to me.&lt;/P&gt;&lt;P&gt;Your views on this topic would be of tremendous help to me.&lt;/P&gt;&lt;P&gt;If you have any documentation on this topic please send it to srinivas1984@gmail.com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 03:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847067#M359217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T03:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: application log</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847068#M359218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAL_DB_LOAD-&amp;gt;&lt;/P&gt;&lt;P&gt;Application Log: Database: Load log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;The function module BAL_DB_LOAD loads logs from the database.&lt;/P&gt;&lt;P&gt;Which logs are to be loaded into memory can be specified in one of several ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_T_LOG_HANDLE&lt;/P&gt;&lt;P&gt;A table of log handles&lt;/P&gt;&lt;P&gt;I_T_LOGNUMBER&lt;/P&gt;&lt;P&gt;A table of internal log numbers&lt;/P&gt;&lt;P&gt;I_T_LOG_HEADER&lt;/P&gt;&lt;P&gt;A table of log headers (returned by function module BAL_DB_SEARCH)&lt;/P&gt;&lt;P&gt;The result of loading can be a table of log handles (Exporting parameter E_T_LOG_HANDLE) or message handles (Exporting parameter E_T_MSG_HANDLE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is cross-client:&lt;/P&gt;&lt;P&gt;If you specify I_T_LOG_HANDLE it searches in all clients (this is not critical because the log handle is globally unique)&lt;/P&gt;&lt;P&gt;If you specify I_T_LOGNUMBER the client in the parameter I_CLIENT is taken into account. If it is not specified, the current client is used.&lt;/P&gt;&lt;P&gt;If you specify I_T_LOG_HEADER the client in the table field MANDANT is taken into account (it is filled automatically by the function module BAL_DB_SEARCH).&lt;/P&gt;&lt;P&gt;Other parameters:&lt;/P&gt;&lt;P&gt;You can specify that only the log headers are to be loaded in memory with the Importing parameter I_DO_NOT_LOAD_MESSAGES. See Read log messages as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify that the exception LOG_ALREADY_LOADED be raised if one of the logs to be loaded is already in memory, with the Importing parameter I_EXCEPTION_IF_ALREADY_LOADED = 'X'. In this case no logs are loaded.&lt;/P&gt;&lt;P&gt;I_EXCEPTION_IF_ALREADY_LOADED = ' ' (default) ignores a log to be loaded if it is already in memory. All other logs are loaded correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;To load the database status, use the function module BAL_DB_RELOAD, which first deletes a log from memory if necessary before loading it.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Report SBAL_DEMO_05 ( ==&amp;gt;Run ==&amp;gt;Coding) simulates a settlement run for all flights on a specified date. You can choose:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simulate settlement.&lt;/P&gt;&lt;P&gt;The documents are only collected in memory with temporary numbers, which are logged.&lt;/P&gt;&lt;P&gt;Perform settlement.&lt;/P&gt;&lt;P&gt;A log is saved in the database after the temporary document numbers have been replaced by permanent ones in the log.&lt;/P&gt;&lt;P&gt;Display logs.&lt;/P&gt;&lt;P&gt;Related function modules&lt;/P&gt;&lt;P&gt;Save and load logs&lt;/P&gt;&lt;P&gt;Delete logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;Quick start documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application Log: Technical documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter&lt;/P&gt;&lt;P&gt;I_T_LOG_HEADER&lt;/P&gt;&lt;P&gt;I_T_LOG_HANDLE&lt;/P&gt;&lt;P&gt;I_T_LOGNUMBER&lt;/P&gt;&lt;P&gt;I_CLIENT&lt;/P&gt;&lt;P&gt;I_DO_NOT_LOAD_MESSAGES&lt;/P&gt;&lt;P&gt;I_EXCEPTION_IF_ALREADY_LOADED&lt;/P&gt;&lt;P&gt;E_T_LOG_HANDLE&lt;/P&gt;&lt;P&gt;E_T_MSG_HANDLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;NO_LOGS_SPECIFIED&lt;/P&gt;&lt;P&gt;LOG_NOT_FOUND&lt;/P&gt;&lt;P&gt;LOG_ALREADY_LOADED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function group&lt;/P&gt;&lt;P&gt;BAL_LOG_CREATE -&amp;gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;Application Log: Log: Create with header data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;The function module BAL_LOG_CREATE opens the Application Log whose header data is in the Importing parameter I_S_LOG_HEADER, which has the structure BAL_S_LOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module BAL_LOG_CREATE returns the log handle (LOG_HANDLE, CHAR22).&lt;/P&gt;&lt;P&gt;The LOG_HANDLE is a GUID (globally unique identifier) which uniquely identifies a log. You can access this log with this handle, e.g. to subsequently change the header data ( BAL_LOG_HDR_CHANGE) or to put a message in the log ( BAL_LOG_MSG_ADD).&lt;/P&gt;&lt;P&gt;The LOG_HANDLE has its permanent value straight awys, so it remains valid after saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==&amp;gt;Note:&lt;/P&gt;&lt;P&gt;Logs in memory and in the database are referred to in the new Application Log by the log handle (LOG_HANDLE), but the previous LOGNUMBER, which is assigned from number range interval 01 of number range object APPL_LOG when you save, still exists. A lot of applications have a reference to this LOGNUMBER in their structures, so it is still supported. The LOGNUMBER is also more understandable for users than the LOG_HANDLE. There is a 1:1 relationship between LOG_HANDLE and LOGNUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Related function bausteine&lt;/P&gt;&lt;P&gt;Simple log creation call&lt;/P&gt;&lt;P&gt;Methods of collecting messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further Information&lt;/P&gt;&lt;P&gt;Quick start documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application Log: Technical documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter&lt;/P&gt;&lt;P&gt;I_S_LOG&lt;/P&gt;&lt;P&gt;E_LOG_HANDLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;LOG_HEADER_INCONSISTENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read these ,i hope these ll hlep you to give the clear idea about these two function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 04:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/application-log/m-p/1847068#M359218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T04:36:14Z</dc:date>
    </item>
  </channel>
</rss>

