cancel
Showing results for 
Search instead for 
Did you mean: 

Role approval error

Former Member
0 Kudos

I've implemented the Worklfow for "role approvals" as described in the documentation: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b67ad5-c69a-2c10-9da2-9721b1cf7...

The guide is a bit sketchy.

In the "Check approvers pass" I've just put the following things in the "Destination" tab:

Attribute Value

MSKEYVALUE %MSKEYVALUE%

MX_APPROVERS §FUNCTION.SetDefaultApprover()§§

I'm not sure about that...

I get the following error when I assign a B-Role to a user:

putNextEntry failed storingAdministrator

Exception from Add operation:com.sap.idm.ic.ToPassException: ToIDStore.addEntry failed storing entry 'Administrator'. IDStore returned error message: "Entry already exists" when creating entry

Exception from Modify operation:com.sap.idm.ic.ToPassException: ToIDStore.modEntry failed modifying entry 'Administrator'. IDStore returned error message: "DATABASE EXCEPTION:java.sql.SQLSyntaxErrorException: ORA-01722: Ungültige Zahl ORA-06512: in "MXMC_OPER.MXI_CHECKATTRIBUTE", Zeile 230 ORA-06512: in "MXMC_OPER.MX_UTILSETATTRIBUTE", Zeile 970 ORA-06512: in Zeile 1 " when storing attribute 'MX_APPROVERS=§FUNCTION.SetDefaultApprover()§§'

Warning:

set_IS_Attribute Failed

java.sql.SQLSyntaxErrorException: ORA-01722: Ungültige Zahl ORA-06512: in "MXMC_OPER.MXI_CHECKATTRIBUTE", Zeile 230 ORA-06512: in "MXMC_OPER.MX_UTILSETATTRIBUTE", Zeile 970 ORA-06512: in Zeile 1

Administrator is my Role Owner.

I'm sure I've made ​​a mistake or have forgotten something...

would be great if you would tell me how it all works properly;-)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The value for the MX_APPROVERS should be the MSKEYs of the approver users.

If you're using a role to contain all the users who can act as approvers you can assign the MSKEY of that role to MX_APPROVERS.

martin_voros
Active Contributor
0 Kudos

Hi,

what value is returned by function SetDefaultApprover(). Oracle error message ORA-01722 is for failed conversion from string to integer.

Cheers