r12 online debug steps
DESCRIPTION
How to Debug in Oracle R12TRANSCRIPT
R12: HOW TO GET THE FND DEBUG LOG FOR ON-LINE PROCESSES AND FOR CONCURRENT REQUESTSSteps for On-Line processes
1)From a System Administrator responsibility Navigation path: Profile -> System
a) Set the following profile option at SITE level: FND: Diagnostics -> Yes
b) Set the following profile options at USER level: FND: Debug Log Module -> % FND: Debug Log Enabled -> Yes FND: Debug Log Level -> Statement
2)Run the following query to get the starting log sequence(seq1) --- --- SELECT MAX(log_sequence) FROM FND_LOG_MESSAGES; --- ---
3)Go to the Payables responsibility Open the involved form and reproduce the error.
4)Run the following query again to get the finishing log sequence(seq2) --- --- SELECT MAX(log_sequence) FROM FND_LOG_MESSAGES; --- ---
5)Run the following query to generate the log file: --- --- SELECT module, message_text message FROM fnd_log_messages WHERE log_sequence between &seq1 and &seq2 ORDER BY log_sequence; --- ---
6)Provide the results in an EXCEL spreadsheet for readability.
Steps for Concurrent Request
1)From a System Administrator responsibility Navigation path: Profile -> System
a)Set the following profile option at SITE level: FND: Diagnostics -> Yes
b)Set the following profile options at USER level: FND: Debug Log Module -> % FND: Debug Log Enabled -> Yes FND: Debug Log Level -> Statement
2)Run the concurrent request.
3)Upload the log and output files which can be found in the following UNIX directories: cd $_TOP/log cd $_TOP/out Both files can be found using the request_id.
4)Upload the spool file of the following script in an EXCEL spreadsheet for readability: --- --- --- SELECT LOG.message_text message FROM FND_LOG_MESSAGES LOG, FND_LOG_TRANSACTION_CONTEXT CON WHERE CON.TRANSACTION_ID = '&con_request_id' AND CON.TRANSACTION_TYPE = 'REQUEST' AND CON.TRANSACTION_CONTEXT_ID = LOG.TRANSACTION_CONTEXT_ID ORDER BY LOG.LOG_SEQUENCE;