Deleting expired application logs is key to improving mass activity performance issues
During mass activity runs reference is made to the system's application logs during the process of line item selection. Performance based issues can be overcome by deleting old/expired application logs from the system, and rebuilding the affected table index. Based on my analysis on these issues, there has been a significant observation of 90% improvement in performance.
Dear Astrid,
Depending on the performance trace observed using transaction ST12, if for instance the SELECT on a particular table takes the most time, deleting all expired application logs and rebuilding the table index will result in a significant performance improvement.
Yes 90% improvement will be observed across the entire mass activity run. In my example below I use table BALHDR.
1. Run report SBAL_DELETE to delete all expired
application logs from table BALHDR
1.1. At the selection screen of report
SBAL_DELETE, set the radio button for the expiry date to 'Only logs which have
reached their expiry date’
1.2. Under the tab for 'Selection
conditions', enter the affected transaction code. e.g FPVA
1.3. To delete the entries, set the radio
button under the Options tab to 'Delete immediately'
1.4. Finally, execute or use shortcut F8 to
delete logs
2. Rebuild index 1 on table BALHDR (create a
secondary index on the table).
I hope this helps.
Kind Regards,
Adrian
Similar Messages
-
Hello SAP Experts,
Recently I have been investigating my BI servers for space optimization and I have found that there is a lot space that has been consumed by Application Logs in BALDAT and BALHDR tables. I have referred to the notes: 195157, 141244, 183960, 91519 but I could not understand what exactly will be the impact of deletion of Application logs. Is it safe to delete the old logs? What exactly is stored in the application logs? A simple change in info object is also recorded in the logs? Everywhere it is mentioned that we need to confirm our functional team before deletion of the logs. I didn't understand who exactly needs this data?
Also, if we run SLG20, data of BALHDR and BALDAT both gets deleted?
I would like to know as much information as possible as I am very confused.
Regards,
KathakaliDutta,
Apart from BALHDR and BALDAT - you can also look at the request tables which can be archived. As for the actual process in itself - you would first have to :
1. Identify what BW data is stored in BALDAT and BALHDR - it has information even on IB settings and IB Broadcastings done. Youu can start by looking at each subobject in BALHDR and trying to understand what that means.
2. Given that you have this data - decide what data is actually critical to your needs - in some cases - you might not need Information Broadcasting logs at all
3. Test it out in a staging system to see if you have any adverse system impacts
4. You would need business / user confirmation about the same and get a buy in on time period of retention
5. Enforce the policy agreed upon by way of periodic jobs etc -
HI SAP Gurus,
Please let me know the purpose of application log and the creation of it.
I am strugling with one standard report which have a BADI to it.
It is equipement status report(IW38).
In the production we find some equipments which are not serviceable even all the orders are done.
I need to find the reason for that. So, i was sugested to create application logs. But i dont know about it. Please let me know.
Will be rewarded with points.
Regards,
KishoreHi
Look at the Tcode <b>SLG1</b> which gives the application log
You have to create a Object, Subobject for your application to see your own tcode log
and you can use the following fun modules in your code as per the requirement
SBAL Application Log: Collect Messages
BAL_GLB_SEARCH_LOG Application Log: Global: Find log(s) (in memory)
BAL_GLB_SEARCH_MSG Application Log: Global: Find message(s) (in memory)
BAL_LOG_CREATE Application Log: Log: Create with Header Data
BAL_LOG_EXCEPTION_ADD Application Log: Log: Add Exception
BAL_LOG_EXCEPTION_CHANGE Application Log: Log: Exception: Change
BAL_LOG_EXCEPTION_DELETE Application Log: Log: Delete Exception
BAL_LOG_EXCEPTION_READ Application Log: Log: Exception: Read Data and Texts
BAL_LOG_EXC_ADD Application Log: Log: Exception: Add
BAL_LOG_HDR_CHANGE Application Log: Log: Header data: Change
BAL_LOG_HDR_READ Application Log: Log: Header Data: Read Data and Texts
BAL_LOG_MSG_ADD Application Log: Log: Message: Add
BAL_LOG_MSG_ADD_FREE_TEXT Application Log: Log: Message: Insert as free text
BAL_LOG_MSG_CHANGE Application Log: Log: Message: Change
BAL_LOG_MSG_CUMULATE Application Log: Log: Message: Add Cumulatively
BAL_LOG_MSG_DELETE Application Log: Log: Message: Delete
BAL_LOG_MSG_DELETE_ALL Application Log: Log: Message: Delete All Messages
BAL_LOG_MSG_READ Application Log: Log: Message: Read data and texts
BAL_LOG_REFRESH Application Log: Log: Delete log from memory
SBAL_DB Application Log: Database Interface
BAL_ARCHIVE_LOAD Application Log: Archive: Load Logs
BAL_ARCHIVE_SEARCH
BAL_DB_DELETE Application Log: Database: Delete Logs from Database
BAL_DB_LOAD Application Log: Database: Load Logs
BAL_DB_SAVE Application Log: Database: Save logs
BAL_DB_SEARCH Application Log: Database: Find Logs
Regards
Anji -
How to delete application log in Nokia E5 ?
Hi,
I am having one nokia E5. I have updated it to the latest firmware 042.007. I can install and uninstall new applications and everything is coming in application log. But i cannot delete the details in application log. Pls help.
damu777thank you!!! I hate Nokia's software. When you open an image from the file manager or a MMS, it opens in the image editor, which you can zoom with the * and # keys. When you open from the gallery, this shortcut completely changed. Then, if you open the image in the editor, the zoom keys are 0 and 5 like on the gallery in the e71.
Not only are these shortcuts inconsistant, but they fail to document them 90% of the time. I would have never thought to use the volume keys.
I dislike the gallery on this phone. It's dumb that ''images'' also shows videos. It's dumb that images open don't open up in the same image editor they do when you open from gallery/sms. Its also dumb that videos don't open in real player through the gallery. I much preferred the more simple gallery on the e71.
Thanks for this tip though -
Good Morning,
I have a 10g 2 database using flash recovery. I checked the flash recovery area and in there is listed arc log files from February. I had clicked the delete expired several times but it does not take affect.
Is this a known bug or am I not doing something right?
Your help in this matter would be appreciated.
thanks in advance.
alCAN THIS IS A REASON!!!
RMAN WILL DELETE ARCHIVELOGS FROM DISK WHICH ARE OBSOLETE IF YOU ARE USING A CATALOG, HERE IS A SMALL TEST
FIRST I WILL RUN WITH CATALOG
RMAN> connect target /
RMAN> connect catalog rman/rman@rman
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt1/app/oracle/product/ora92/dbs/snapcf_dgtest.f'; # default
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Tag
850279 B A A DISK 16-MAY-07 1 1 TAG20070516T145909
850302 B A A DISK 16-MAY-07 1 1 TAG20070516T145916
850326 B A A DISK 16-MAY-07 1 1 TAG20070516T145928
850351 B A A DISK 16-MAY-07 1 1 ARCH
850377 B A A DISK 16-MAY-07 1 1 ARCH
850405 B A A DISK 16-MAY-07 1 1 ARCH
850409 B 0 A DISK 16-MAY-07 1 1 TAG20070516T150205
850427 B A A DISK 16-MAY-07 1 1 TAG20070516T150239
850431 B 0 A DISK 16-MAY-07 1 1 TAG20070516T150250
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=22 devtype=DISK
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 850279 16-MAY-07
Backup Piece 850280 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1iihsf9t_1_1
Backup Set 850302 16-MAY-07
Backup Piece 850303 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1jihsfa4_1_1
Backup Set 850326 16-MAY-07
Backup Piece 850327 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1kihsfag_1_1
Backup Set 850351 16-MAY-07
Backup Piece 850352 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1lihsfce_1_1
Backup Set 850377 16-MAY-07
Backup Piece 850378 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1mihsfcl_1_1
Backup Set 850405 16-MAY-07
Backup Piece 850406 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1nihsfea_1_1
Backup Set 850409 16-MAY-07
Backup Piece 850410 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1oihsffd_1_1
Backup Set 850427 16-MAY-07
Backup Piece 850428 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1pihsfgf_1_1
Archive Log 850228 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_168.dbf
Archive Log 850229 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_169.dbf
Archive Log 850230 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_170.dbf
Archive Log 850231 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_171.dbf
Archive Log 850232 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_172.dbf
Archive Log 850233 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_173.dbf
Archive Log 850234 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_174.dbf
Archive Log 850235 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_175.dbf
Archive Log 850236 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_176.dbf
Archive Log 850237 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_177.dbf
Archive Log 850238 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_178.dbf
Archive Log 850239 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_179.dbf
Archive Log 850240 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_180.dbf
Archive Log 850241 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_181.dbf
Archive Log 850242 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_182.dbf
Archive Log 850243 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_183.dbf
Archive Log 850277 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_184.dbf
Archive Log 850300 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_185.dbf
Archive Log 850324 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_186.dbf
Archive Log 850349 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_187.dbf
Archive Log 850375 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_188.dbf
Archive Log 850403 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_189.dbf
Archive Log 850425 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_190.dbf
Do you really want to delete the above objects (enter YES or NO)? NO
RMAN SHOWS ARCHIVES WHICH ITS GOING TO DELETE ALONG WITH BACKUPSETS
NOW SEE IT WITHOUT THE CATALOG
RMAN> quit
Recovery Manager complete.
$ rman
Recovery Manager: Release 9.2.0.6.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN> connect target /
connected to target database: DGTEST (DBID=3559913552)
RMAN> delete obsolete;
using target database controlfile instead of recovery catalog
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=23 devtype=DISK
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 48 16-MAY-07
Backup Piece 48 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1oihsffd_1_1
Do you really want to delete the above objects (enter YES or NO)? no
RMAN> $ rman -
Error code 100022 trying to delete an application
Hello! I have a problem trying to delete an application : i keep getting an message telling operation couldn't be completed because of "error code 100022". I googled it but didn't found any working solution. Can anyone help me?
Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
When you see the gray Apple logo, release the shift key.
If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
*Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test. -
Error in application log for transaction FPSA
Dear Colleagues,
The application log for this transaction returns the following message,
'Run SELA 15.01.2008 V00001 is not ready
Message no. >REP 014
Diagnosis
The run was probably terminated as a result of an error
System Response
The interval was not processed.'
How to view the error which resulted in termination of the run.
Many thanks for your attention. Hoping an early reply to this problem
Venkat
+49 175 8916067Hi,
If agent is installed on the VMM server, it will collect the information and send it to SCOM server. The event indicates the SCOM agent tried to access the registry key that was included in the User Profile but failed.
Please specify a local account or domain account as the SCOM action account for a test.
Niki Han
TechNet Community Support -
Create Object and Subject for Application Log
Hello Experts,
Could anyone tell me how to create the Z Object and subobject for the Application Log.
ie) <b>BALOBJ_D & BALSUBOBJ</b>
Could you please tell me the Tcode for that.
Since I have to save the application in the new object so that it can be displayed using this Key.
Thanks & Regards,
VasanthHello Vasanth
The transaction is SLG0 (Object Maintenance).
Regards
Uwe -
Log entries in Service Consupmtion Layer Application Logs of Duet Enterpr
Dear all,
I need your inputs to solve the below mentioned issue,
There is a communication developed between MS sharepoint and SAP.
By using Mapper Classes for each and every operations the conversion of data format from Sharepoint to SAP and viceversa happens.
We can see the message or error logs created during the conversion process using the T-code /iwfnd/view_log.
But i want my custumized messages has to come in that log for that i used the following code in the mapper class Post method but still my logs are not coming in the T-code /iwfnd/view_log.
DATA: lo_logger TYPE REF TO /iwfnd/cl_logger,"logger singleton
lo_message_container TYPE REF TO /iwfnd/if_message_container,"message container
lv_message TYPE bapi_msg,
lv_log_material TYPE symsgv,
lv_log_plant TYPE symsgv,
lv_instance_counter TYPE i,
lv_previous_pur_doc TYPE char10.
CONSTANTS gc_log_agent_name TYPE /iwfnd/sup_iw_agent VALUE 'Dev Guide Purchase Req'.
CONSTANTS gc_log_msg_id TYPE symsgid VALUE 'ZDUET_SCL_PR'.
Get logger
CALL METHOD /iwfnd/cl_logger=>get_logger
RECEIVING
ro_logger = lo_logger.
initialize the post mapper log step
lo_logger->log_step_init(
EXPORTING iv_msg_number = 000 "Post Mapping started for Purchase Req Header Query
iv_msg_id = gc_log_msg_id " message class
iv_system_alias = iv_system_alias "Backend System Alias
iv_agent = gc_log_agent_name "Dev Guide Purchase Req
RECEIVING
rv_msg_handle = lv_msg_handle ).
lo_logger->log_message(
EXPORTING
iv_msg_type = /iwfnd/cl_logger=>info " Message Type
iv_msg_id = gc_log_msg_id " Message Class
iv_msg_number = 006 " Message Number
iv_msg_v1 = lv_instance_counter " Message Variable
iv_system_alias = iv_system_alias " System Alias
iv_agent = gc_log_agent_name " IW Agent
Else
read through the input parameters for logging query parameters
READ TABLE it_parameters INTO ls_parameters WITH KEY attr_name = 'MATERIAL'.
lv_log_material = ls_parameters-low.
READ TABLE it_parameters INTO ls_parameters WITH KEY attr_name = 'PLANT'.
lv_log_plant = ls_parameters-low.
get the message container to add messages
lo_message_container = io_request_data->get_message_container( ).
set the request result code to failed so a fault message can be created
CALL METHOD io_request_data->set_result_code
EXPORTING
iv_result_code = /iwfnd/if_srd_request_context=>cs_result_code-failed_permanent.
add the message to the message container, this will create an error log entry automatically
CALL METHOD lo_message_container->add_message
EXPORTING
is_object_key = ls_key
iv_msg_type = 'E' "Error
iv_msg_id = gc_log_msg_id
iv_msg_number = 004 "Query for Material &1 and Plant &2 returned no results.
iv_msg_v1 = lv_log_material
iv_msg_v2 = lv_log_plant
iv_is_leading_message = abap_true
iv_message_creator = gc_log_agent_name.
Endif.
end this post mapper log step
lo_logger->log_step_completion( EXPORTING
iv_msg_type = /iwfnd/cl_logger=>info
iv_msg_id = gc_log_msg_id
iv_msg_number = 002 "Post Mapping finished for Purchase Req Header Query
iv_system_alias = iv_system_alias
iv_agent = gc_log_agent_name
iv_msg_handle = lv_msg_handle ).
please let me know the answe for this issue.
Many thanks in Advance,
HarishHi Girimurugan,
I am currently working with SAP Gateway related stuffs and I need a clarification regarding the application log.
Hope you are very busy and please clarify the doubts if you can spare few minutes towards this query.
Appreciate your valuable advise towards this.
Query:
Can we log any of the different types of logs (I Info / W Warning / A Abort or Cancel / E Error ) into Application Log(/IWFND/APPS_LOG) of the Gateway system in a Hub deployment model ?
How the logging can be achieved?
What are the scenarios, wherein the Application logs are preferred?
Also I have already raised a query in the SCN with this link: http://scn.sap.com/message/15477543. But could not get much details about it.
Can you please clarify the same?
Thanks & Regards,
Mohamed Meeran -
9.3.1- Not able to see more than 1 errors in application.log file
Hi,
In 9.3.1. version, I am not able to see more than 1 errors in application.log file during dataload without rules files.
If anybody has faced this solution, pls let me know the cause.
Thanks
jazzHey Jazz,
in the first row add a rule file with no load file change the path to what you want. then insert a new row add your load file here. it should have the path from the previous row in the error file. Then delete the first row and run. I had to do this for a level zero load and was the only thing I could figure out so far -
What are F. M's used for creating application log in application server
Hello
plz suggest which F.M's i have to use to create application log
Regards
KanthHi Kanth,
You can go through the following Function Modules :
Application Log Maintenance
(i)APPL_LOG_DELETE With this function module you delete logs in the database according to specified selection conditions
(ii)APPL_LOG_DISPLAY With this function module you can analyze logs in the database.
(iii)APPL_LOG_DISPLAY_INTERN With this function module you can analyze logs in local memory, e.g. when you have only collected log records at runtime and do not want to write to the database.
(iv)APPL_LOG_INIT This function module checks whether the specified object or sub-object exists and deletes all existing associated data in local memory.
(v)APPL_LOG_READ_DB With this function module you read the log data in the database for an object or sub-object according to specified selection conditions.
(vi)APPL_LOG_READ_INTERN With this function module you read all log data whose log class has at least the specified value, from local memory, for the specified object or sub-object.
(vii)APPL_LOG_SET_OBJECT With this function module, you create a new object or sub-object for writing in local memory. With a flag you can control whether the
(viii)APPL_LOG_WRITE_u2026 messages are written in local memory or are output on the screen.
(ix)APPL_LOG_WRITE_DB With this function module you write all data for the specified object or sub-object in local memory to the database. If the log for the object or sub-object in question is new, the log number is returned to the calling program.
(x)APPL_LOG_WRITE_HEADER With this function module, you write the log header data in local memory.
(xi)APPL_LOG_WRITE_LOG_PARAMETERS With this function module, you write the name of the log parameters and the associated values for the specified object or sub-object in local memory. If this function module is called repeatedly for the same object or sub-object, the existing parameters are updated accordingly. If you do not specify an object or sub-object with the call, the most recently used is assumed.
(xii)APPL_LOG_WRITE_MESSAGE_PARAMS With this function module you write a single message, with parameters, in local memory. Otherwise the function module works like
(xiv)APPL_LOG_WRITE_SINGLE_MESSAGE.
(xv)APPL_LOG_WRITE_MESSAGES With this function module you write one or more messages, without parameters, in local memory.
(xvi)APPL_LOG_WRITE_SINGLE_MESSAGE With this function module you write a single message, without parameters, in local memory. If no header entry has yet been written for the object or sub-object, it is created. If you do not specify an object or sub-object with the call, the most recently used is assumed.
Regards,
Swapna. -
Can I rotate application log in OC4J_Portal_default_island_1?
My application.log file in %oracle_home%\j2ee\oc4j_portal\application-deployments\portal\oc4j_portal_default_island_1 grows quickly. Can I configure it to rotate every day or when it reaches a certain size? If yes, how?
TIA
Edited by: Angrydot on Aug 25, 2008 9:51 PM - what happens if I edit an old post in the new forum?
Edited by: Angrydot on Aug 25, 2008 9:52 PM - nothingTo rotate the OC4J log files under $ORACLE_HOME/opmn/logs, there are few parameters you can modify that are not documented in Oracle 9.0.4/10.1.2 documentation.
[New JVM parameters]
"stdstream.filesize"
Max file size limit of each archive. Unit is megabyte.
"stdstream.filenumber"
Max number of files that oc4j can keep as archives. The oldest file will be automatically deleted if the limit is exceeded.
[Usage]
ex 1: rotate stdout/stderr when the file size is reached to 2.5M byte.
java -Dstdstream.filesize=2.5 -jar oc4j.jar -out std.out -err std.err
OraHome\opmn\conf\opmn.xml
In order to get these parameters in opmn.xml you need to define it as follows:
<category id="start-parameters">
<data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless =true -Dstdstream.filesize=0.2 -Dstdstream.filenumber=5"/>
<data id="oc4j-options" value="-out std.out -err std.err"/>
</category>
The new log files will be created under:$ORACLE_HOME\j2ee\home\home_default_island_1\
The file naming will be like:
std_2006_02_22_14_01_17.out
std_2006_02_22_14_16_25.out
Important notes:
1. Backup opmn.xml file before any modification.
2. Modify opmn.xml file to specify stdstream.filesize and stdstream.filenumber. See the example above.
3. Test and validate this solution in your test system first before implementing in Production. -
How to use Application log (slg0 & slg1)
Hi all,
Can u please give me some hints to utilize Application log?
Hope you will help me.
Thanq in advance,
Bye.hi John,
Check these FM's out
BAL_GLB_SEARCH_LOG
BAL_LOG_CREATE
BAL_LOG_EXC_ADD
BAL_LOG_HDR_CHANGE
BAL_LOG_HDR_READ
BAL_LOG_MSG_ADD
BAL_LOG_MSG_ADD_FREE_TEXT
BAL_LOG_MSG_CHANGE
BAL_LOG_MSG_CUMULATE
BAL_LOG_MSG_DELETE
BAL_LOG_MSG_DELETE_ALL
BAL_LOG_MSG_READ
BAL_LOG_REFRESH
SBAL_DETAIL Application Log: Display: Detail Screens
BAL_DSP_LOG_PARAMETERS Application Log: Display: Display log header parameter set
BAL_DSP_LOG_TECHNICAL_DATA Application Log: Display: Display log header technical data
SBAL_DISPLAY Application Log: Display Log
BAL_DSP_LOG_DISPLAY Application Log: Fullscreen log output
BAL_DSP_LOG_PRINT Application Log: Print log
SBAL_PROFILE Application Log: Display Profile
BAL_DSP_PROFILE_SINGLE_LOG_GET Application Log: Display profile: Standard profile (SLG1) for one log
SBAL_SERVICE Application Log: Service Functions
BAL_LOG_HDR_CHECK Application Log: Log: Header data: Check
BAL_LOG_MSG_CHECK Application Log: Log: Message: Check
SBAL_TOOLBOX Application Log: Toolbox
BAL_DB_LOGNUMBER_GET Application Log: Database: Get internal log number from number range
BAL_LOG_DELETE Application Log: Log: Delete log (from DB also at save)
BAL_LOG_EXIST Application Log: Log: Check existence (in memory)
BAL_LOG_MSG_EXIST Application Log: Log: Message: Check existence (in memory)
BAL_LOG_MSG_REPLACE Application Log: Log: Message: Replace last
BAL_STATISTICS_LOG_GET
BAL_STATISTICS_LOG_SET
Regards,
Santosh
Note: Reward Points if helpful -
Unable to delete any applications.
Hi,
Recently I upgraded to Snow Leopard, noticed some real improvements, etc. However, it has become apparent over the last week or so, that I am unable to delete any application from any folder on my system. I have tried changing ownership and permission settings to no avail. I have also tried using those application removal tools (AppZapper, AppDelete, et al). I am not an expert in using the Terminal application, so I have not tried changing settings using this.
I had intended to take my computer into my local Apple store, however, I wanted to see if I could find a solution online and fix it myself.
I should also mention that I am not trying to delete pre-installed software, just third-party software that I no longer use.
Any help would be appreciated,
Thanks.'Jumping out of the trash', is exactly how I would describe my issue. I can delete any file providing it is not an application. Just tested trashing a range of apps, third-party and pre-installed, all act in the way I describing, all 'jump' out of the trash. Also, apps that were present pre-SL install act in the same way as post-SL ones.
I haven't to my knowledge dragged an icon from the dock to the trash, it doesn't sound like something I would do. I have in the past trashed an app directly from the Applications folder, in the usual drag-n-drop fashion. I have no other drives connected to my computer.
Just checked the permissions on the account, it tells me I am the administrator. I have no parental controls set.
I've checked ownership and permissions and whether the item is locked for my hard drive and my applications folder; and for applications I am attempting to trash, all seem to report that I have the 'power' to delete them. -
Application log ( Transaction slg1)
Hi,
This is suresh.
I got a requirement in that i need to send input values to application log. Am able to send four parameters using function module bal_log_msg_add(msgv1,msgv2,..) successfully. But in my requirement i need to send five parameters to application log. How can i do this. For which prameter i need to send using function module bal_log_msg_add. please help me in this.Hi Suresh,
See the Function Module Documentation, It will help you.
Sets of logs can be created with the following methods.
Function modules: [ Some Additional Function Modules ] :
BAL_LOG_CREATE Create log with header data
BAL_LOG_MSG_ADD Log a message
BAL_LOG_MSG_CUMULATE Add a message cumulatively to the log
BAL_LOG_MSG_REPLACE Replace the last message
BAL_GLB_MSG_CURRENT_HANDLE_GET Get the current message handle
BAL_LOG_MSG_DELETE Delete message
BAL_LOG_MSG_CHANGE Change message
BAL_GLB_MSG_DEFAULTS_GET Get message data defaults
BAL_GLB_MSG_DEFAULTS_SET Set message data defaults
Types :
BAL_S_MDEF Message defaults
Example program :
Program SBAL_DEMO_02 simulates a flight check and outputs a check result log.
==>SBAL_DEMO_02 ==>SBAL_DEMO_02 coding
Add message to log :
This is the 'classical' way of logging messages with BAL_LOG_MSG_ADD.
==>Note
The log handle is optional for function modules such as BAL_LOG_MSG_ADD, BAL_LOG_MSG_CUMULATE, BAL_LOG_MSG_ADD_FREE_TEXT, etc.
If it is not specified, the default log, which can be set, with other default data, with BAL_GLB_MSG_DEFAULTS_SET is used. If no default log is defined, it is set automatically by BAL_LOG_CREATE (see here).
Add message cumulatively :
Functionality :
A message is added to the log with ( log handle) I_LOG_HANDLE cumulatively.
The message data is in the IMPORTING parameter I_S_MSG (structure BAL_S_MSG).
A message handle E_S_MSG_HANDLE, which uniquely identifies this message, is returned.
'Cumulative'
Some messages are sent several times by a program, without providing new information each time. Such messages can be cumulated with BAL_LOG_MSG_CUMULATE to save memory. When the same message is repeated, no new message is added, the counter MSG_COUNT for the old message is incremented.
You can specify when messages are the same in the function module interface. The T100 data must be identical, and you can specify that other data must also be the same:
I_COMPARE_ATTRIBUTES = 'X'
Message attributes (problem class PROBCLASS, level of detail DETLEVEL and sort field ALSORT) must be identical
I_COMPARE_CONTEXT = 'X'
The context must be the same
I_COMPARE_PARAMETERS = 'X'
The message parameters must be the same.
To find identical messages quickly for cumulation, the Application Log constructs a small index table containing as unambiguous a signature of a message as possible, at runtime. This index is only constructed if cumulation is used.
Thanks.
Maybe you are looking for
-
Where can i buy a new motherboard for my Qosmio?
Hi there, My Qosmio experienced a fatal overheat and i'm looking for a new motherboard... I could'nt find any site to order it. May you help me in that quest? Thanks by advance. Qosmio X500-10Q PQX33E-00E008FR
-
NO PRICING CONDITION IN P.O
Dear All, Good Morning , user had made a p.o with all conditions req.in FV11, as he sees that all cond. are visible in taxes tab in invoice when user displays P.o but he also have to enter values in condition tab a
-
We have a tag query that works in our sandbox environment, but not in dev. I loaded the same JDBC drivers on both systems. The project was exported from the sandbox, and imported into dev. I have verified the Data Server set up is identical in both
-
Hi. I'm using a button in an itemrenderer (bound with xml). I'm looking to set the stylename of the button dynamically using a field in the XML. I can easily do this with the label e.g. label="{data.data.@prop}" but when I try styleName="{data.data.@
-
How do I get Lightroom to connect to the internet? I've tested my internet connection and I'm able to.