SAP-WUG Digest, Vol 112, Issue 30

siva krishna sivakrishnan11 at gmail.com
Wed Apr 2 07:46:39 EDT 2014


Hi Loren,


Are you maintaining the approval decision text mandatory in the workflow
approval process. How is the approval process happening. Is it through the
transaction or some othe process.

1. Approval at transaction : In this process ask the user to maintain the
decision  texts in the transaction during approving or rejection. Then you
can user FM READ_TEXT for reading the same. Also as you mentioned, you are
reading the workflow texts. I would suggest to read the current status of
the workflow and then run the above logic.

Thanks.






SIVA KRISHNA
+91-9000008083



On Fri, Mar 28, 2014 at 8:02 PM, <sap-wug-request at mit.edu> wrote:

> Send SAP-WUG mailing list submissions to
>         sap-wug at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
>         sap-wug-request at mit.edu
>
> You can reach the person managing the list at
>         sap-wug-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
>
>
> Today's Topics:
>
>    1. RE: How Can I Get Text of Workitem Result ? (Bratzler, Loren)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 28 Mar 2014 09:24:19 -0400
> From: "Bratzler, Loren" <loren.bratzler at nscorp.com>
> Subject: RE: How Can I Get Text of Workitem Result ?
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
>         <
> D093F74E504B0745917E905C9FC31F2D1170FE1E60 at GATUCEXCH07ASV.nscorp.ad.nscorp.com
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Rick,
>
> Thanks for the reply.  The function module you pointed out gets me close
> to what I am looking for but not quite.  For example, if I run that FM
> against my test work-item I get these results:
>
> [cid:image003.png at 01CF4A62.713EDF70]
>
> The text that this brought back is the text that appears on the user
> decision buttons.
>
> I realize now that what I am really looking for is the Outcome Name as
> defined in the Decision Options:
>
> [cid:image001.png at 01CF4A62.CF7ED540]
>
>
> Loren
>
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of Rick Bakker
> Sent: Thursday, March 27, 2014 8:09 PM
> To: SAP Workflow Users' Group
> Subject: Re: How Can I Get Text of Workitem Result ?
>
> Hi Loren,
>
> The text is in table SWD_TEXT but it's probably easier (and better) to go
> via FM SWU_INTERN_GET_DECISION_TEXT.
>
> regards
> Rick Bakker
>
> On Fri, Mar 28, 2014 at 3:47 AM, Bratzler, Loren <
> loren.bratzler at nscorp.com<mailto:loren.bratzler at nscorp.com>> wrote:
> I am exploring the possibilities of creating a custom report where I can
> pass in a long list of invoices and get back a listing that shows the
> workflow approval information for each invoice.  We want to see who
> approved the invoice, the date and time of the approval, and the result of
> the user's decision.
>
> I can easily identify the dialog steps from the workflow and I know that I
> can use SAP_WAPI_READ_CONTAINER to get the WI_RESULT field value as shown
> here:
>
> [cid:image004.png at 01CF4A62.713EDF70]
>
> But displaying a value of "0001" on the report as the user's decision is
> not going to be helpful.  I want to be able to translate the numeric
> decision value to the text value that was assigned in the workflow
> definition.  We want to be able to see the value "APPROVED" as it shows up
> in the workflow log:
>
> [cid:image005.png at 01CF4A62.713EDF70]
>
> Is there a table somewhere in the system that I could query with the
> numeric WI_RESULT and get the text value back?
>
> Loren Bratzler
> Norfolk Southern Corporation
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20140328/a7078081/attachment-0002.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image003.png
> Type: image/png
> Size: 12940 bytes
> Desc: image003.png
> Url :
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20140328/a7078081/attachment-0008.png
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image004.png
> Type: image/png
> Size: 18567 bytes
> Desc: image004.png
> Url :
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20140328/a7078081/attachment-0009.png
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image005.png
> Type: image/png
> Size: 14085 bytes
> Desc: image005.png
> Url :
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20140328/a7078081/attachment-0010.png
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image001.png
> Type: image/png
> Size: 13224 bytes
> Desc: image001.png
> Url :
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20140328/a7078081/attachment-0011.png
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 112, Issue 30
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20140402/0f62f97f/attachment.htm


More information about the SAP-WUG mailing list