Skip to Content
author's profile photo Former Member
Former Member

Role approval error

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-9721b1cf749c

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;-)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 03, 2011 at 12:39 AM

    Hi,

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

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2011 at 09:47 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.