Posts

Showing posts from December, 2013

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: 1)  Enable profile option FND: Diagnostics   2)  Add following at the end of existing page URL,    &aflog_level=Statement &aflog_module=* • 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);