Skip to Content
avatar image
Former Member

SAP Fiori - Approve Leave Request (Version 2) issue

Hi Experts,

I have a problem with my SAP Fiori App "Approve Leave Requests (Version 2)".

The app opens without any problem and all work-items are displayed.

But if I want to approve or reject the request of leave, an error pop-up appears and says "User decision 000005111282 has no alternative to index 0000"

Our workflow differs a little bit from the SAP standard workflow. We added a user decision, where the workflow waits for the decision in the SAP Fiori App. 

In the SAP Fiori My Inbox App the approval/rejection of the request of leave works without any problems.

Have you any ideas?

Thank you!

Best regards,

Maximilian Haala

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 29, 2015 at 05:17 AM

    Hi Maximilian,

    I'm a little confused about what you are doing with that extra user decision?  Approval/Rejection should behave the same regardless of which inbox you are in.  There shouldn't be a need to wait for the Fiori approval...unless you have a competing way that the leave requests can be approved.

    Or are you trying to add additional levels of approval? (In which case just adding it in the workflow may not be enough - it still needs to respect the leave request application behaviour).

    Can you clarify what you are trying to achieve?

    From a workflow perspective... do you mean that have you have added an extra user decision before? or after? the approval?

    What answers (i.e. decision keys) have you added to your user decision?

    Every user decision is a question with a selection of answers. The way I would read that error message is either:

    a) the system can't work out what are the answers on your user decision - I assume it's not that otherwise it wouldn't work in My Inbox

    b) there are answers but the system can't work out which one to choose - which would you mean you are somehow processing the user decision in background?

    c) by adding a user decision it's possible the approve requests app can't interpret whether the request has been correctly approved or rejected, because the expected values aren't being set in the workflow &/or on the leave request. This is the most likely situation.

    Fiori My Inbox automatically converts user decision answers into buttons which is why the user decision would work... but that doesn't necessarily mean the leave request is being approved or rejected as that would need to be handled separately.

    It would help to know what if any impact on the workflow you are seeing in the workflow log.

    Rgds,

    Jocelyn

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Jocelyn Dart

      Thanks for the explanation!
      I will try to fix the problem in the next days. If it didn`t work I would like to get in touch with you here again, because I write my diploma project about SAP Fiori and SAP is still knew for me 😊