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

Offline WF approval in ECC with justification

Hello Workflow Gurus,

I have a Workflow requirement were an user decision has to be made to approve or reject and the business wants the approval to be given from the email, offline from SAP. For this, i was going to follow this guide (any other ways of achieving this please let me know):

Offline Workflow Approval in ECC R/3 without SAP Logon from E-Mail (Outlook)

However, the business requirement has changed a little and if the person chooses to reject they have to be able to provide a justification on why they are rejecting. I know how to do this for when they reject in SAP, however, is there anyway for the management to include a justification when they reject offline from their email?

Please, any help, thoughts, suggestions will be greatly appreciated as this is urgent to start development on monday.

Regards,

Gustavo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 11, 2015 at 10:04 PM

    Hello,

    If you look on page 2 of that link you see:

    *--------------------------------------------------------------------*
    *- Get mail body, here you can read the REJECTION Reason -*
    *--------------------------------------------------------------------*
    TRY.
    l_mail_content = lo_document->get_body_part_content( '1' ).
    CATCH cx_document_bcs.
    ENDTRY.


    Anyway, I think it's a very bad idea to do approvals in this way.

    You are making fraud very easy.


    regards

    Rick

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 12, 2015 at 09:01 AM

    Hello

    You can Pass the rejection reason via FM SAP_WAPI_DECISION_COMPLETE. You can pass the rejection reason in Importing parameter "DECISION_NOTE" . Just check the WHERE USED for this FM to see how to pass the DECSION_NOTE in this FM

    In the link that you have provided, this FM is already used to complete the workitem.

    Refer note 1964571: create note for rejection reason if needed -

    Regards

    sandy

    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.