My Oracle Support Banner

Error when adding a Role to a Compensation Plan (Doc ID 1326790.1)

Last updated on DECEMBER 03, 2019

Applies to:

Oracle Incentive Compensation - Version 12 and later
Information in this document applies to any platform.


When attempting to add a Role to a Compensation Plan, get a page error: Error Page "You have encountered an unexpected error. Please contact the System Administrator for assistance"

1. Log in with "Plan Administrator" responsibility
2. Navigate to Maintain Compensation Plans, then

Search on Name - Select the Found Name
Select the Eligibiliy Tab at Top of Screen
Select Add Another Row
Select the Search Icon (Magnifying Glass)
Select Search by Role Name
Enter % and Select Go, get Java Error

Error Page
Exception Details.

oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT ROLE_ID,NAME AS ROLE_NAME,ROLE_CODE,DESCRIPTION FROM CN_ROLES WHERE ROLE_ID<>54 AND ACTIVE_FLAG=DECODE(NVL(fnd_profile.VALUE('CN_ROLE_CHECK_IF_ACTIVE'),'N'),'N',ACTIVE_FLAG, 'Y')
at oracle.apps.fnd.framework.OAException.wrapperException(
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(
at _OA._jspService(
at com.orionserver.http.OrionHttpJspPage.service(


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.