Unable To Change Managerial Approver Second Time

(Doc ID 2316648.1)

Last updated on OCTOBER 11, 2017

Applies to:

Oracle iProcurement - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

When attempting to perform Manage Approvals, the following error occurs.
Please note!!!: AME is working perfectly fine in getting the required approvers for the first time, only when Requester overrides the Approver via Change Manger, we encounter issue. That too, the error is raised while changing the Approver for the second time.


ERROR
-----------------------
Approval List could not be generated Please contact your system administrator to review AME rules setup.

-- Log File --

.
.
po.plsql.POR_AME_APPROVAL_LIST.change_first_approver 12630419 Retrieved the list of approvers from AME using ame_api2.getAllApprovers7()
po.plsql.POR_AME_APPROVAL_LIST.change_first_approver 12630420 First record is of type Emp-Sup Hierarchy...
po.plsql.POR_AME_APPROVAL_LIST.change_first_approver 12630421 Invoking ame_api2.setFirstAuthorityApprover()...
po.plsql.POR_AME_APPROVAL_LIST.change_first_approver.others_exception 12630422 ORA-20321: First authority can be set only for chain-of-authority action types. Ensure that approver's action type is chain-of-authority action types.
icx.por.approval.server.ApprovalListAMImpl 12630423 Successfully Executed CHANGE_FIRST_AME_APPLIST_STR with the output params..
icx.por.approval.server.ApprovalListAMImpl 12630424 appListStr: EXCEPTION:ORA-20321: First authority can be set only for chain-of-authority action types. Ensure that approver's action type is chain-of-authority action types.
icx.por.approval.server.ApprovalListAMImpl 12630425 approversCount : 0
icx.por.approval.server.ApprovalListAMImpl 12630426 Approval List could not be generated.
icx.por.approval.server.ApprovalListAMImpl 12630427 OAException:ICX_POR_AME_EXCEPTION errorCode=0
icx.por.approval.server.ApprovalListAMImpl 12630428 changeAMEFirstApprover.end:
icx.por.common.webui.ClientUtil 12630429 retrieveAppsContextFromTxn.begin
.
.
fnd.common.WebAppsContext 12630446 oracle.apps.fnd.common.WebAppsContext.getJDBCConnection: END: returning weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection@1c3b7
fnd.common.DBResourceStore 12630447 Added to Cache: mResText=Approval List could not be generated. Please contact your System Administrator to review AME rules setup.; mResID=0; mResType=null; mLogSeverity=0; mAlertCategory=null; mAlertSeverity=null
fnd.common.WebAppsContext 12630448 oracle.apps.fnd.common.WebAppsContext.releaseLocalJDBCConnection(weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection@1c3b7): : BEGIN
fnd.common.WebAppsContext 12630449 oracle.apps.fnd.common.WebAppsContext.releaseLocalJDBCConnection: END
fnd.framework.OAException 12630450 Approval List could not be generated. Please contact your System Administrator to review AME rules setup.
fnd.framework.webui.OAPageErrorHandler 12630451 OAF LOG: Event : Check Errors, in: oracle.apps.fnd.framework.webui.OAPageErrorHandler: Exception: Approval List could not be generated. Please contact your System Administrator to review AME rules setup. ,In VO: null
fnd.framework.webui.OAPageErrorHandler 12630452 OAF LOG: Event : Check Errors, in: oracle.apps.fnd.framework.webui.OAPageErrorHandler: Exception: Approval List could not be generated. Please contact your System Administrator to review AME rules setup.

.
.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Step 1: Create Requisition from user 101990224 PR 5019007
Step 2: Click Manage Approvals and Change Managerial Approver
Step 3: Submit
Step 4: Again Click Manage Approvals and Change Managerial Approver
 System Throws the error Approval List could not be generated Please contact your system administrator to review AME rules setup.


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms