Hi
I have a workflow that will ask a Reviewer whether to approve a Requisition - if they Reject then they are prompted to provide a justification reason.
I want that justification reason sent back to the creator of the Requisition.
In the Review User Decision I have bound the DECISION_NOTE to my container object "JustificationNotes" ( a BOR Object of type SOFM).
In the subsequent Reject email step I have the &JUSTIFICATIONNOTES.DESCRIPTION& - and this works but it is only the justification subject line. I would like to show the "JustificationNotes" reason texts. - how can I do this?
Here is the binding on the Review User Decision

Here is the what the Reviewer will see and do.

Here is the Reject Email step - The Reviewers Title does work and appears OK. But how to get at the Review comments ?

See that the Inbox has the Justification Reason title - BUT How can I put in the Reason texts ??

Request clarification before answering.
Hi
I have solved this by making a subtype of SOFM with method to_string_table
Basically reading the note with function module SO_NOTE_READ
it puts it in table type SOLI_TAB
then for each line using function module SWA_STRING_SPLIT which is added to a table type swastrtab
from table I get the swastrtab-str into a structure typetline (into TDLINE) and add all those lines into a table type SWNTTEXTLINE
From the method I get a task and I can use the returned table in my text
I hope this will help
Cheers
Stephane
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry but following on from this - my requirement has changed. I now need to have the Reason for Rejection attached to the email. I have managed to do this but I have a problem with it !.
The Workflow will remain in a Loop until fully approved or cancelled - that is fine.
So if the Requisition has been rejected a number of times - I can only get the FIRST Rejection reason Attachment on my email. I want the LATEST Rejection reason attachment.
How can I do this ?
See the Email Step with the &JUSTIFICATIONNOTES& (my container object of SOFM) into the &ATTACHMENTS&

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.