Hi All,
I am trying to call a Oracle function:
PACKAGE USER_ACCTS AS
FUNCTION ADD_USER (p_employee_number NUMBER,
p_user_id VARCHAR2,
P_INITIAL_PASSWORD VARCHAR2,
P_DISCONTINUED_FLAG VARCHAR2,
p_last_name VARCHAR2,
p_first_name VARCHAR2,
RETURN NUMBER;
I am getting below error:
{
"error": "Failed to deliver synchronous message: senderChannel '77be1349ee3a3f6f9638f3bcd9473beb': Catching exception calling messaging system: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'USER_ACCTS.ADD_USER' (structure 'Statement'): java.sql.SQLException: ORA-06550: line 1, column 7:\nPLS-00201: identifier 'USER_ACCTS.ADD_USER' must be declared\nORA-06550: line 1, column 7:\nPL/SQL: Statement ignored\n (Software version: 1.0.10)"
}
This is my SAP PI request on JDBC side:
<ns0:MT_UserDBRequest>
<Statement>
<ADD_USER action="EXECUTE">
<table>AGN_IAM_USER_ACCTS.ADD_USER</table>
<p_employee_number isOutput="true" isInput="false" type="VARCHAR">1</p_employee_number>
<p_user_id isOutput="true" isInput="true" type="VARCHAR">Ravijeet123</p_user_id>
<p_initial_password isOutput="true" isInput="true" type="VARCHAR">abc321</p_initial_password>
<p_discontinued_flag isOutput="true" isInput="true" type="VARCHAR">active</p_discontinued_flag>
<p_last_name isOutput="true" isInput="true" type="VARCHAR">DAS</p_last_name>
<p_first_name isOutput="true" isInput="true" type="VARCHAR">RAVIJEET</p_first_name>
<p_response_code isOutput="true" isInput="true" type="VARCHAR">x</p_response_code>
<p_response_msg isOutput="true" isInput="true" type="VARCHAR">x</p_response_msg>
</ADD_USER></Statement>
</ns0:MT_UserDBRequest>
Regards
RJ