Skip to Content
avatar image
Former Member

Making reject comment mandatory in Approve Purchase Orders Fiori app

Hi

I come to know that by extending the standard Fiori app and making the code changes in the relevant controller it can be solved, but can I get more technical which controller need to be extend the logic

Please can you help me on this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 20, 2017 at 05:36 PM

    You can do it by extending S3.controller, method 'openApproveRejectDialog'.

    Upon pressign the 'beginButton' you can do the validation.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 15, 2017 at 03:16 PM

    Hi Krishna

    Thank you for the Info

    One more thing is that we are using item level approval and there is no approve/reject button, only send button is available. Can i add same logic that if any Item is rejected so that note will be mandatory

    Can I get the controller name to extend, also forward button should disable which view need to be extended.

    Please can you help me on this.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Bhaskar,

      Just a comment.

      Item level approval for PO does not make a sense from business process point of view.

      It should be handed before creating PO. Shopping Cart or Purchase Requisition.

      Regards,

      Masa / SAP Technology RIG

  • avatar image
    Former Member
    Feb 16, 2017 at 04:38 AM

    Hi

    Yes I am referring to Shopping Cart approval application. There is a send button. While sending it will ask the Note to enter and this will be header note.

    We need to make the Note field mandatory for rejected items.

    Can we do the extension of S3.controller or is there any other. Also we need to disable forward button.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 20, 2017 at 01:43 PM

    Hi

    Please can any one help on this..

    Shopping Cart approval application send note need to make mandatory. Let me know is there any extention menthods for this.

    Add comment
    10|10000 characters needed characters exceeded