Sunteți pe pagina 1din 3

How to Obtain Debug Log in R12 [ID 787727.

1] Modified 05-MAR-2009 Type HOWTO Status MODERATED

In this Document Goal 1. For a Concurrent Request; 2. For online work (eg. Form error). Solution 1. To get the FND debug messages for a request: 2. To get the FND debug messages for online work (eg. Form error):

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

Applies to:
Oracle Assets - Version: 12.0.0 to 12.0.6 iAssets - Version: 12.0.0 to 12.0.6 Information in this document applies to any platform.

Goal
How to Get the Debug Log information in R12:

1. For a Concurrent Request; 2. For online work (eg. Form error). Solution 1. To get the FND debug messages for a request:
1. Enable FND Debug messages: -> Navigate Responsibility: System Administrator > Profile > System -> Query for: User: User submitting the Report Profile: FND:%Debug% 2. Set the following Profile values at the user level: FND: Debug Log Enabled Yes FND: Debug Log Filename <empty> FND: Debug Log Level STATEMENT FND: Debug Log Module % At site level set: FND: Debug Log Mode Asynchronous with Cross-Tier Sequencing 3. Save. 4. Run the request (eg. Depreciation). 5. Disable FND Debug messages by setting Profile value FND: Debug Log Enabled No.

6. Run SQL command bellow to get debug message: SELECT substr(module,1,70), MESSAGE_TEXT, timestamp, log_sequence FROM fnd_log_messages msg, fnd_log_transaction_context tcon WHERE msg.TRANSACTION_CONTEXT_ID = tcon.TRANSACTION_CONTEXT_ID AND tcon.TRANSACTION_ID = &child_request_ID_with_problem ORDER BY LOG_SEQUENCE; To get child_request_ID_with_problem, just check Request Id from application.

7. Export the output formatted in an Excel file and upload it to Oracle Support Team.

2. To get the FND debug messages for online work (eg. Form error):
1. Enable FND Debug messages: -> Navigate Responsibility: System Administrator > Profile > System -> Query for: User: User submitting the Report Profile: FND:%Debug% 2. Set the following Profile values at the user level: FND: Debug Log Enabled Yes FND: Debug Log Filename <empty> FND: Debug Log Level STATEMENT FND: Debug Log Module % At site level set: FND: Debug Log Mode Asynchronous with Cross-Tier Sequencing. 3. Save. 4. Run the following SQL query to get the current log sequence in the FND table, and note the result as before_value: select max(log_sequence) from fnd_log_messages where user_id=(select user_id from fnd_user where user_name='&USER'); 5. Login with user, and reproduce the issue. Once this is reproduced, log out, to avoid unnecessary information in logs.

6. Run the following SQL query to get the current log sequence in the FND table, and note the result as after_value: select max(log_sequence) from fnd_log_messages where user_id=(select user_id from fnd_user where user_name='&USER'); 7. Disable FND Debug messages by setting Profile value FND: Debug Log Enabled to No. 8. Replace in the following query before_value with before_value result

from Step 4 and after_value with after_value result from Step 6: select log_sequence,module,message_text from fnd_log_messages where log_sequence > before_value and log_sequence < after_value ; 9. After modifying the above query run it, export the output in an Excel file, and upload it to Oracle Support Team.

Related

Products

Oracle E-Business Suite > Financial Management > Assets & Real Estate > Oracle iAssets Oracle E-Business Suite > Financial Management > Assets & Real Estate > Oracle Assets

S-ar putea să vă placă și