Debug OAF Page
How to Debug OAF Page
We can enable logging by setting the below profile option:-
Option: 1)
• FND: Debug Log Enabled profile set to ‘Yes’
• Turn on low level statement logging for a single user to monitor
• FND: Debug Log Level= Statement
Option: 1)
Another way of gathering the same info is the following:
• FND: Debug Log Enabled profile set to ‘Yes’
• Turn on low level statement logging for a single user to monitor
• FND: Debug Log Level= Statement
Option: 1)
Another way of gathering the same info is the following:
1) Enable profile option FND: Diagnostics
2) Add following at the end of existing page URL, &aflog_level=Statement
• Use '*' for wildcard, not '%'. '%' is a special URL character)
Example:
• http://host:port/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE&aflog_level=STATEMENT&aflog_module=pa
You can see the log on screen by using by below code in your controller OR in Application ModuleImpl
For AM
getOADBTransaction().writeDiagnostics(this, "I am in the Application Module", 1);
For Controller
pageContext.writeDiagnostics(this, "I am in Controller PFR", 1);
Hi…
ReplyDeleteThank you for posting this useful information.
I think it is mostly helpful to who are ready to learn Oracle OAF.