Skip to Content
avatar image
Former Member

How to pass Approve/Reject Comment of Approve Request Application into Workflow

Hi,

We have implemented Approve request Application in Fiori , in launchpad when Approver is rejecting the request he is giving some rejection comments .which we can see is getting stored as an attachment in R3 System,now we want to read this rejected reason  from attachment and pass it to a simple variable which workflow team has created for storing rejection comments.

Kindly advice how we can read rejected reason and pass it to simple variable of workflow.

Regards,

Trilochan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 20, 2015 at 11:56 AM

    Hi Prem,

    Thanks for the reply,As we can see comments entred in fiori is coming as an attachment in workflow but we want to pass it into a simple container variable for that we have created a variable in Workflow now  we want to pass value from Fiori reject box to this Container variable but we don't know how to achieve this for Approve request Application.

    Regards,

    Trilochan

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 09, 2015 at 02:30 AM

    Hi Trilochan,

    Please take a look .

    Regards,

    Masa

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 11, 2015 at 05:44 AM

    Hi Trilochan,

    What are you trying to achieve by customizing the approve / reject button currently?

    Are you currently providing a pop up feature for user in standard system when they approve/reject PR?

    If so, you can change the logic to point to the standard Text (08 for PR).

    For example, in case of PR, if you add an entry under MM->Purchasing->PR->Text for PR->Define Text type, (the code should be 08 here) the same will appear in your SAP PR Item Text screen. Fiori will automatically fetch the data entered in this screen. If you try to approve/reject a PR from Fiori, the comments added by user will be stored over here. If somebody put any comment, the higher / next level user can see this as a note when they open this PR. (Extra icon will appear).

    So, better to configure 08 text type for PR and use the same.

    If you are using some logic currently for standard ECC, the same can point to the new text.

    In case of PO, the code is 18.

    Thanks,

    Prem

    Add comment
    10|10000 characters needed characters exceeded