Skip to Content

Reject button is disabled in Approve Service Entry Sheet App

Hello,

The Reject button in the Approve Service Entry Sheet App is disabled even though my SES has not been released.

Can you please help me why the Reject button in the SES fiori app is disabled? Is there something I am missing.

Approve button is working fine.

Thanks

Sundeep

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 12, 2015 at 06:29 PM

    Hi Sundeep,

    I was able to do this.

    You need to:

    • Implement BADI_MMSRV_APPROVAL_APP in your backend.
    • Change table CT_WORKITEM_INBOX in method CHANGE_WORKITEM_INBOX.
    • In this table you need to assign a value to NEXT_REJECT_CODE column (in my case I used '01'). Then REJECT button will be enabled.
    • Sample code

        FIELD-SYMBOLS: <fs_worktiem> LIKE LINE OF ct_workitem_inbox.

        LOOP AT ct_workitem_inbox ASSIGNING <fs_worktiem>.

          <fs_worktiem>-next_reject_code = '01'.

        ENDLOOP.

    After that, in the same BADI, you can customize actions for Approve/Reject by using methods CHANGE_APPROVE_ACTION / CHANGE_REJECT_ACTION

    Hope this works for you too...

    Regards,

    Oscar


    Add comment
    10|10000 characters needed characters exceeded

  • Oct 26, 2015 at 11:24 AM

    you want to enable the approve button?

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sarabjeet,

      I am using the app based on lower backend release (not EHP7), the relevant notes 2222714 , 2162702 , 2199079 mentioned in the note 2035394 are already applied.

      Also the last acceptance step has not been performed. The SES is not approved for Release, at this stage the Reject button should be enabled.

      In SBWP it is enabled for the SES, while for the same SES Reject button is disabled in fiori.

      Thanks

      Sundeep

  • avatar image
    Former Member
    Nov 04, 2015 at 07:18 PM

    Hi Sundeep, I'm facing the same issue. Were you able to fix it?

    Thank you

    Amanda

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Sundeep Sethi

      So probably it will be necessary to make an extension of the app to fix it. I have checked with the functional team and they told me that the reject option is possible in ECC transaction for all entries.

      If you have any news, please, let me know. I also keep you posted about that.

      Thank you so much!

      Regards

      Amanda

  • avatar image
    Former Member
    Nov 10, 2015 at 11:20 AM

    Hi Sundeep & Amanda,

    We're dealing with the same issue!

    Please, can you give us a hint to solve this problem? What did you do to solve it?

    Thanks in advance.

    Emi.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 12, 2015 at 06:48 PM

    Hi All,

    I am having the same issue with the Reject button. It will be of great help to update this thread upon finding a solution. Appreciate the updates so far, it has saved me a lot of time alreday.

    Thanks & regards,

    Add comment
    10|10000 characters needed characters exceeded