how to obtain debug log in r12

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 %

Upload: jean-carlos

Post on 13-Apr-2015

63 views

Category:

Documents


2 download

TRANSCRIPT

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.6iAssets - Version: 12.0.0 to 12.0.6Information 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 ReportProfile: FND:%Debug%

2. Set the following Profile values at the user level:

FND: Debug Log Enabled YesFND: Debug Log Filename <empty>FND: Debug Log Level STATEMENTFND: 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_sequenceFROM fnd_log_messages msg, fnd_log_transaction_context tconWHERE msg.TRANSACTION_CONTEXT_ID = tcon.TRANSACTION_CONTEXT_IDAND tcon.TRANSACTION_ID = &child_request_ID_with_problemORDER BY LOG_SEQUENCE;To get child_request_ID_with_problem, just check Request Idfrom application.

7. Export the output formatted in an Excel file and upload itto 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 ReportProfile: FND:%Debug%

2. Set the following Profile values at the user level:

FND: Debug Log Enabled YesFND: Debug Log Filename <empty>FND: Debug Log Level STATEMENTFND: 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 resultas before_value:

select max(log_sequence) from fnd_log_messageswhere user_id=(select user_id from fnd_userwhere 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 resultas after_value:

select max(log_sequence) from fnd_log_messageswhere user_id=(select user_id from fnd_userwhere user_name='&USER');

7. Disable FND Debug messages by setting Profile valueFND: 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_textfrom fnd_log_messageswhere log_sequence > before_value and log_sequence < after_value ;

9. After modifying the above query run it, export the outputin 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

787727.1 Thank you for yo Provide feedback