IF_SWF_IFS_WORKITEM_EXIT exception

Oleg Mayorov oleg.mayorov at gmail.com
Tue Jun 15 08:58:10 EDT 2010


Hi, All!

I'm using method   if_swf_ifs_workitem_exit~ event_raised  for
checking workitems after execusion, if errors occurs - i'm raising my own
message:

   data: st100 type swf_t100ms.
              message e000(zsrm_app) with text-001 into dummy.
              move-corresponding sy to st100.
              raise exception type cx_swf_ifs_workitem_exit_error exporting
 t100_msg = st100.

But when i look into Workflow log,  i don't see this message, instead of
this,  i see standard message (SWF_RUN 646 ).
Can anybody advice me how can i see my message in Workflow log? The system
is SAP SRM 7.0.
Thanx!

Regards,
Mayorov Oleg.

2010/6/15 <sap-wug-request at mit.edu>

> 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: Substitution not working (Adam Kheil)
>   2. RE: Table where Decission's are stored (Dart, Jocelyn)
>   3. BUS1012 OBJECT-KEY not being populated when using converting
>      function  (SWED) (Kyle McCarter)
>   4. Why an already executed Workitem must be manually set to
>      "executed" (Mintchev Alexander, Mag.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 14 Jun 2010 14:16:35 -0400
> From: Adam Kheil <adam_kheil at live.com>
> Subject: RE: Substitution not working
> To: Workflow group <sap-wug at mit.edu>
> Message-ID: <BAY147-w3CBA4CDB8C8A26819D70496DC0 at phx.gbl>
> Content-Type: text/plain; charset="windows-1252"
>
>
> Thanks Eddie, checked BAdI WF_BWP_SELECT_FILTER  and it is not implemented.
>
> Adam
>
>
>
> From: eddie.morris at sap.com
> To: sap-wug at MIT.EDU
> Date: Mon, 14 Jun 2010 11:42:41 +0200
> Subject: RE: Substitution not working
>
>
>
>
>
>
>
> Hi Adam,
>
> Please check if the user has a filter setup in their inbox.
>
> Also check if the BAdI WF_BWP_SELECT_FILTER has been implemented?.maybe the
> code is filtering work items from certain users.
>
> Regards,
> Eddie
>
>
>
> From: sap-wug-bounces at MIT.EDU [mailto:sap-wug-bounces at MIT.EDU] On Behalf
> Of Adam Kheil
> Sent: 11 June 2010 19:51
> To: Workflow group
> Subject: Substitution not working
>
> hi All,
> We are on ECC6. User has ceated and activated a substitute. I see the
> entries in the table HRUS_D2 and active field is checked with the substitute
> profile 'ALL' and the date range is set correctly too. But substitute is not
> getting workitems!! Can any one suggest what can be an issue?
>
> Thanks in advance
> Adam
>
>
>
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with
> Hotmail. Get busy.
> _________________________________________________________________
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with
> Hotmail.
>
> http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100614/bfad5f4e/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Tue, 15 Jun 2010 01:41:47 +0200
> From: "Dart, Jocelyn" <jocelyn.dart at sap.com>
> Subject: RE: Table where Decission's are stored
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
>        <8C507B5E0BA5114E933C3C6E2E9729E00665E5BBAF at DEWDFECCR01.wdf.sap.corp
> >
> Content-Type: text/plain; charset="us-ascii"
>
> Folks, You can see what number has been assigned to a particular decision
> result by double-clicking on the result line after the workflow step in the
> workflow flowchart.  Alternatively running SAP_WAPI_DECISION_READ can save
> you a lot of grief.
> Regards,
> Jocelyn
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of Keohan, Susan - 1140 - MITLL
> Sent: Friday, 11 June 2010 11:52 PM
> To: SAP Workflow Users' Group
> Subject: RE: Table where Decission's are stored
>
> If it is a standard decision task, the container element _WI_Result (or
> _RESULT) will be 0001 if Approved is your first decision,
> 0002 if Rejected is your second decision.  So that value of _WI_RESULT will
> depend on the number of decisions, and the order in which you define them.
>
> ----
> Susan R. Keohan
> SAP Workflow Specialist
> Enterprise Applications
> Information Services Department
> MIT Lincoln Laboratory
> 244 Wood Street, LI-200
> Lexington, MA. 02420
> 781-981-3561
> keohan at LL.MIT.EDU
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of srinivas
> Sent: Friday, June 11, 2010 8:33 AM
> To: SAP Workflow Users' Group
> Subject: Re: Table where Decission's are stored
>
> Hi Rick,
>
> Thanks for your reply.The FM:SAP_WAPI_GET_WORKITEM_DETAIL is returning all
> the details but how to know when the particular workitem got APPROVED or
> REJECTED??The status is showing completed for both REJECTED workitems and
> APPROVED workitems.How to get the result???
> On Fri, Jun 11, 2010 at 5:42 PM, Rick Bakker <rbakker at gmail.com<mailto:
> rbakker at gmail.com>> wrote:
> Hello,
>
> Try SWW_CONT.
> Or if you want to use functions (you should, if you can) try
> SAP_WAPI_GET_WORKITEM_DETAIL.
>
> regards
> Rick Bakker
> Hanabi Technology
>
> On Fri, Jun 11, 2010 at 6:06 PM, srinivas <ootasrinivasreddy at gmail.com
> <mailto:ootasrinivasreddy at gmail.com>> wrote:
> >
> > Hi Experts,
> >
> > Can some one help in finding the table where the decission step (APPROVE
> or
> > REJECT) results are stored.What are required fields to get this data.
> > --
> > Thanks and Regards
> > Srini..
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> >
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
> --
> Thanks and Regards
> Srini..
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100615/afa8ad7f/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Mon, 14 Jun 2010 21:16:02 -0700
> From: Kyle McCarter <kmccarter at csc.com>
> Subject: BUS1012 OBJECT-KEY not being populated when using converting
>        function        (SWED)
> To: Ayoob Khan <akhan3 at csc.com>, Maurice Greenfield
>        <mgreenfield at csc.com>,  sap-wug at mit.edu, Sheldon Oxenberg
>        <soxenber at csc.com>
> Message-ID:
>        <OF5ED9A12C.D9127895-ON85257743.00165AAF-07257743.001785A4 at csc.com>
> Content-Type: text/plain; charset="utf-8"
>
> Greetings WUGgers!
>
> I am triggering a workflow via change documents to Routings. The change
> document object I am using is PLAN, and needed to create a function for
> converting the object key to match BUS1012. This is indicated via SWED,
> and I used SAP template function 'SWE_CD_TEMPLATE_OBJKEY_FB_2'. I have
> debugged into the function, and am updating the CHANGING parameter
> OBJECT_POR as expected.
>
> However, the object key values I expected to see in my business object
> (OBJECT-KEY-GROUP & OBJECT-KEY-GROUPCOUNTER) are not there. These
> variables are in their initial state.
>
> Any ideas?
>
> Regards,
>
> Kyle McCarter
> Principal Leader
> CSC
>
> 9000 S Rita Road, Tucson AZ
> Global Outsourcing Services | p: 520.663.9234 | m: 913.244.2283 |
> kmccarter at csc.com | www.csc.com
>
>
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery.
> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
> any order or other contract unless pursuant to explicit written agreement
> or government initiative expressly permitting the use of e-mail for such
> purpose.
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  ?
> Computer Sciences Corporation
> Registered Office: 3170 Fairview Park Drive, Falls Church, Virginia 22042,
> USA
> Registered in Nevada, USA No: C-489-59
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100614/8e356e1a/attachment-0001.htm
>
> ------------------------------
>
> Message: 4
> Date: Tue, 15 Jun 2010 10:01:00 +0200
> From: "Mintchev Alexander, Mag." <Alexander.Mintchev at biac.at>
> Subject: Why an already executed Workitem must be manually set to
>        "executed"
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
>        <3D68DCBE389FBC4EA9C7AD075EFA265B08F84623 at R-EXS-WI-265.corpnet.at>
> Content-Type: text/plain; charset="us-ascii"
>
> Dear WUGgers!
>
> I have the following problem with a Workitem: In the table SWWUSERWI the
> work item 4626526 is shown as relevant for a particular user. At the
> same time, with the transaction swi1  I get the message "The work item
> has the status executed and must be set to the status completed
> manually"
>
> I have the following questions:
>
>
>
> (a) How is it possible that the Workitem 4626526 has the status
> "executed", but at the same time is NOT shown in the table SWWUSERWI as
> irrelevant?
>
> (b) Why should the status of the Work Item 4626526 be manually set to
> executed now that it has already been executed?
>
> (c) Do you know the reason why the situation above has occurred?
>
>
>
>
>
> Please find the detailed problem description, incl, screenshots in the
> attached Word document.
>
>
>
>
>
> Thank You!
>
>
>
> Kind regards: Alexander Mintchev
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100615/abbfe825/attachment.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: FRAGE_WUG.doc
> Type: application/msword
> Size: 144896 bytes
> Desc: FRAGE_WUG.doc
> Url :
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100615/abbfe825/FRAGE_WUG.doc
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 67, Issue 40
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100615/07896319/attachment.htm


More information about the SAP-WUG mailing list