<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Take a look at this link http://help.sap.com/erp2005_ehp_03/helpdata/EN/04/928d9f46f311d189470000e829fbbd/frameset.htm.<br><br>Secodnly the task TS30000016 is not triggered directly, it is one of the step after the WS30000015 gets triggered. Now check the WF log to see where the WI is sitting.<br><br><div><font color="#003366">Regards,</font><BR><font color="#003366">Imthiaz Ahmed<br></font><font color="#0066ff">'Putting things right between two people is charity' - Hadith</font><BR></div><br><br>&gt; From: sap-wug-request@mit.edu<br>&gt; Subject: SAP-WUG Digest, Vol 44, Issue 25<br>&gt; To: sap-wug@mit.edu<br>&gt; Date: Thu, 10 Jul 2008 19:55:22 -0400<br>&gt; <br>&gt; Send SAP-WUG mailing list submissions to<br>&gt;         sap-wug@mit.edu<br>&gt; <br>&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>&gt;         http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; or, via email, send a message with subject or body 'help' to<br>&gt;         sap-wug-request@mit.edu<br>&gt; <br>&gt; You can reach the person managing the list at<br>&gt;         sap-wug-owner@mit.edu<br>&gt; <br>&gt; When replying, please edit your Subject line so it is more specific<br>&gt; than "Re: Contents of SAP-WUG digest..."<br>&gt; <br>&gt; <br>&gt; Today's Topics:<br>&gt; <br>&gt;    1. Issue triggering a  workflow using a BAPI. (Harshita Nersu)<br>&gt;    2. Work Items Processing on Blackberry (shaurya jain)<br>&gt;    3. RE: Work Items Processing on Blackberry (Alon Raskin)<br>&gt;    4. Re: Training and Event Management - Booked (Cristiana D'Agosto)<br>&gt;    5. Re: Training and Event Management - Booked (Rick Bakker)<br>&gt; <br>&gt; <br>&gt; ----------------------------------------------------------------------<br>&gt; <br>&gt; Message: 1<br>&gt; Date: Thu, 10 Jul 2008 17:30:44 +0100<br>&gt; From: Harshita Nersu &lt;harshita.nersu@ie.ibm.com&gt;<br>&gt; Subject: Issue triggering a  workflow using a BAPI.<br>&gt; To: SAP-WUG@mit.edu<br>&gt; Message-ID:<br>&gt;         &lt;OFF488E896.BD9C27CA-ON80257482.00595BD3-80257482.005AAF06@ie.ibm.com&gt;<br>&gt; Content-Type: text/plain; charset=US-ASCII<br>&gt; <br>&gt; <br>&gt; Hi All,<br>&gt; <br>&gt; Please help me fill the missing bits, where i am going wrong to achieve a<br>&gt; certain use case.<br>&gt; The requirement is for a custom portlet..<br>&gt; <br>&gt; Usecase: Employee submits a Absense or Attendance Record&gt;Goes for approval<br>&gt; to the manager&gt;Manager is able to approve/reject.<br>&gt; <br>&gt; The below are the BAPIs  that i am to work with.I have put together a<br>&gt; process flow how it must be working But have issues triggering a workflow.<br>&gt; I HAVE to make use of that workflow task only and that Bapi to create<br>&gt; records.<br>&gt; <br>&gt; Step 1: Create Absence/attendance using BAPI_PTMGRATTABS_MNGCREATION.( i am<br>&gt; succesfully able to create a Absence Record aswell as Attendance record)<br>&gt; <br>&gt; Step2: Some how by doing the above the workflow TS30000016 is getting<br>&gt; triggered. (i dont see it getting executed..coz i dont see anything in SBWP<br>&gt; of manager)<br>&gt; <br>&gt; Step3: Assuming The workflow indeed gets triggered, then it goes and<br>&gt; creates a task for manager to approve or reject in SAP inbox.(which i dont<br>&gt; see)<br>&gt; <br>&gt; Step4:Read Inbox using SAP_WAPI_CREATE_WORKLIST<br>&gt; <br>&gt; Step5:Get Details of a work item  using SAP_WAPI_GET_WORKITEM_DETAIL<br>&gt; <br>&gt; Step6:Execute SAP_WAPI_GET_OBJECTS to get an object ID<br>&gt; <br>&gt; Step7: Call SWX_FORMABS_READ passing this object ID<br>&gt; <br>&gt; Step8:Approve / Reject using SWX_FORMABS_UPDATE_DB (this again i have doubt<br>&gt; if SWX_FORMABS_APPROVE is being used somewhere)<br>&gt; <br>&gt; Step9: call SAP_WAPI_WORKITEM_COMPLETE<br>&gt; <br>&gt; Step10: Call SAP_WAPI_WRITE_CONTAINER<br>&gt; <br>&gt; Step 11:Call SAP_WAPI_WORKITEM_CONFIRM<br>&gt; <br>&gt; I have concerns with first 2 steps and the relation between them. i dont<br>&gt; see how TS30000016 is getting triggered when BAPI_PTMGRATTABS_MNGCREATION<br>&gt; is executed.<br>&gt; I want to know what is the triggering evets for  TS30000016. I tried by<br>&gt; adding Business objects Absence and also Attendance with Event Create.<br>&gt; It did not trigger any workflow nor did any workitem reach the managers<br>&gt; Inbox.<br>&gt; also tried buss obj:PTManagerAttAbsence/BUS7007 it doesnt allow me to add<br>&gt; it to my task.<br>&gt; <br>&gt; <br>&gt; is there anything i need to do on SAP side that would establish<br>&gt; relationship between BAPI_PTMGRATTABS_MNGCREATION and the workflow task<br>&gt; 30000016. Or if i am missing any step.<br>&gt; what else shld i check for to get my use case working. Pls advice.<br>&gt; <br>&gt; Also if any BAPI is missed in the above list that may need.<br>&gt; <br>&gt; Thanks &amp; Regards<br>&gt; Harshita<br>&gt;                                                                             <br>&gt;  Harshita Nersu | SAP Certified HCM Consultant | Lotus Workforce Management <br>&gt;  | IBM SWG | Dublin Software Lab | harshita.nersu@ie.ibm.com | Ph+353 1 815 <br>&gt;  5721                                                                       <br>&gt;  IBM Ireland Product Distribution Limited registered in Ireland with number <br>&gt;  92815. Registered office: Oldbrook House, 24-32 Pembroke Road,             <br>&gt;  Ballsbridge, Dublin 4                                                      <br>&gt;  P Please consider the environment before printing this e-mail              <br>&gt;                                                                             <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 2<br>&gt; Date: Thu, 10 Jul 2008 15:33:18 -0700<br>&gt; From: "shaurya jain" &lt;jain.shaurya@gmail.com&gt;<br>&gt; Subject: Work Items Processing on Blackberry<br>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Message-ID:<br>&gt;         &lt;4f6198f00807101533s37d6f391ncae3f2e6808481b@mail.gmail.com&gt;<br>&gt; Content-Type: text/plain; charset="iso-8859-1"<br>&gt; <br>&gt; Hi Experts,<br>&gt; <br>&gt; I have a requirement that user can approve or reject PO's or PRs on their<br>&gt; handheld mobile devices (like Blackberry). In other words, user/approver can<br>&gt; process work items directly from their blackberry without logging into the<br>&gt; SAP system &amp; then the SAP backend can be synchronized automatically.<br>&gt; <br>&gt; I have gone through lot of douments &amp; links on web but couldn't find a<br>&gt; relevant solution to this.<br>&gt; <br>&gt; If anyone of you have done this before or has any idea of the same<br>&gt; then inputs would be greatly appreciated.<br>&gt; <br>&gt; Thanks &amp; Regards,<br>&gt; Shaurya Jain<br>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080710/c2186056/attachment-0001.htm<br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 3<br>&gt; Date: Thu, 10 Jul 2008 18:20:30 -0400<br>&gt; From: "Alon Raskin" &lt;araskin@3i-consulting.com&gt;<br>&gt; Subject: RE: Work Items Processing on Blackberry<br>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Message-ID:<br>&gt;         &lt;BAB6A5007023804690A6EB3C9A24942ECF1E98@msportal.exchange.corefusion.net&gt;<br>&gt;         <br>&gt; Content-Type: text/plain; charset="us-ascii"<br>&gt; <br>&gt; There is a third party tool that does this. Please email me directly for<br>&gt; more information.<br>&gt; <br>&gt;  <br>&gt; <br>&gt; ________________________________<br>&gt; <br>&gt; From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf<br>&gt; Of shaurya jain<br>&gt; Sent: Thursday, July 10, 2008 5:33 PM<br>&gt; To: SAP Workflow Users' Group<br>&gt; Subject: Work Items Processing on Blackberry<br>&gt; <br>&gt;  <br>&gt; <br>&gt; Hi Experts,<br>&gt; <br>&gt;  <br>&gt; <br>&gt; I have a requirement that user can approve or reject PO's or PRs on<br>&gt; their handheld mobile devices (like Blackberry). In other words,<br>&gt; user/approver can process work items directly from their blackberry<br>&gt; without logging into the SAP system &amp; then the SAP backend can be<br>&gt; synchronized automatically.<br>&gt; <br>&gt;  <br>&gt; <br>&gt; I have gone through lot of douments &amp; links on web but couldn't find a<br>&gt; relevant solution to this.<br>&gt; <br>&gt;  <br>&gt; <br>&gt; If anyone of you have done this before or has any idea of the same then<br>&gt; inputs would be greatly appreciated.<br>&gt; <br>&gt;  <br>&gt; <br>&gt; Thanks &amp; Regards,<br>&gt; <br>&gt; Shaurya Jain<br>&gt; <br>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080710/4e702a9b/attachment-0001.htm<br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 4<br>&gt; Date: Fri, 11 Jul 2008 08:46:57 +1000<br>&gt; From: "Cristiana D'Agosto" &lt;cristiana.dagosto@au1.ibm.com&gt;<br>&gt; Subject: Re: Training and Event Management - Booked<br>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Message-ID:<br>&gt;         &lt;OFFE269FBC.EC7A53CE-ONCA257482.007CE72B-CA257482.007D27C1@au1.ibm.com&gt;<br>&gt;         <br>&gt; Content-Type: text/plain; charset="us-ascii"<br>&gt; <br>&gt; Hi Carmen,<br>&gt; <br>&gt; I don't know which SAP version you are using.<br>&gt; <br>&gt; In order to start my own workflows I had to implement BAdI <br>&gt; HRTEM00NET_ACTIVITY - method HRTEM_GET_WF_EVENTS<br>&gt; <br>&gt; * T&amp;E - Approve Attendance Workflow<br>&gt;   cs_wf_event_book-otype = 'WS'.<br>&gt;   cs_wf_event_book-objid = '99000006'.<br>&gt; <br>&gt; * T&amp;E - Approve Employee's Attendance Cancellation<br>&gt;   cs_wf_event_delete-otype = 'WS'.<br>&gt;   cs_wf_event_delete-objid = '99000008'.<br>&gt; <br>&gt; <br>&gt; * T&amp;E - Approve Employee's Attendance Rebooking<br>&gt;   cs_wf_event_move-otype = 'WS'.<br>&gt;   cs_wf_event_move-objid = '99000007'.<br>&gt; <br>&gt; <br>&gt; <br>&gt; Regards,<br>&gt; <br>&gt; Cristiana<br>&gt; _________________________________<br>&gt; Cristiana d'Agosto<br>&gt; IBM Global Business Services<br>&gt; Mobile:  +61 417 927 224<br>&gt; cristiana.dagosto@au1.ibm.com<br>&gt; <br>&gt; <br>&gt; <br>&gt; "Carmen Cheung, ROC - the SAP HCM Specialists" <br>&gt; &lt;carmen.cheung@roc-group.com&gt; <br>&gt; Sent by: sap-wug-bounces@mit.edu<br>&gt; 11/07/2008 12:45 AM<br>&gt; Please respond to<br>&gt; "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; <br>&gt; <br>&gt; To<br>&gt; sap-wug@mit.edu<br>&gt; cc<br>&gt; <br>&gt; Subject<br>&gt; Training and Event Management - Booked<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Hi Everyone,<br>&gt;  <br>&gt; I'm trying to publish an event to start a workflow that will notify <br>&gt; managers that their employee has been booked on a business event via PSV1.<br>&gt;  <br>&gt; I have configured SWEHR1 to include entry:<br>&gt;  <br>&gt; Object Type: P<br>&gt; Infotype: 1001 <br>&gt; Business Object: PDRELA_025<br>&gt;  <br>&gt; In SWEHR3 I have reference the entry:<br>&gt;  <br>&gt; Object Type: P<br>&gt; Infotype: 1001 <br>&gt; Update Operation: Insert<br>&gt; Business Object: PDRELA_025<br>&gt; Event: Requested<br>&gt;  <br>&gt; * I have also tried with the same record adding entry Relationships:  B025<br>&gt;  <br>&gt; There are new entries in the HRP1001 table however no relevant events are <br>&gt; published in the system when I execute PSV1.<br>&gt;  <br>&gt; Am I referencing the correct objects/relationships?<br>&gt;  <br>&gt; Appreciate any advice.<br>&gt;  <br>&gt; Many thanks,<br>&gt;  <br>&gt; Carmen_______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080711/cd09e985/attachment-0001.htm<br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 5<br>&gt; Date: Fri, 11 Jul 2008 09:54:52 +1000<br>&gt; From: "Rick Bakker" &lt;rbakker@gmail.com&gt;<br>&gt; Subject: Re: Training and Event Management - Booked<br>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<br>&gt; Message-ID:<br>&gt;         &lt;7a3a922f0807101654w41dee50blea232c4ccefe25b5@mail.gmail.com&gt;<br>&gt; Content-Type: text/plain; charset="iso-8859-1"<br>&gt; <br>&gt; Hello Carmen,<br>&gt; <br>&gt; I think you should be looking at triggering event PDRELA_025.CREATED instead<br>&gt; of PDRELA_025.REQUESTED - the latter is for when the employee tries to book<br>&gt; himself into a business event and it requires approval (in 4.6C).<br>&gt; <br>&gt; cheers<br>&gt; Rick Bakker<br>&gt; Hanabi Technology<br>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080711/0ec5baa7/attachment.htm<br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; SAP-WUG@mit.edu<br>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>&gt; <br>&gt; <br>&gt; End of SAP-WUG Digest, Vol 44, Issue 25<br>&gt; ***************************************<br><br /><hr />Need to know now? Get instant answers with Windows Live Messenger. <a href='http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008' target='_new'>IM on your terms.</a></body>
</html>