Leave request workflow
Hi all,
I want to make a workflow for leave request. This workflow would have to start from EP (enterprise portal) and would have two level approval. Please let me know what business object and what event to use. Also let me know the functional transaction, where the employee would aply for leave - in SAP R/3. Would there have to be any special configuration in the system if the triggering event have to start from EP?
Please help.
Thanks.
Hi ,
The business object used for Leave is "FORMABSENC" and the event is "CREATED".
You can refer the demo workflow template 20000011 and make a copy and carry out the changes which you required.
To know whether the object is getting triggered or not , use the tcode SWEL ( event Logging ). To turn on event logging use tcode SWELS.
Please lemme know for any further help.......
Regards,
K Vijayasekar
Similar Messages
-
ESS Leave Request workflow customization
Hi Guys,
We are trying to customize the standard Leave Request Workflow WS12300111 in the ESS application for ECC6. The standard workflow passes the data to the workflow via the object REQ of type CL_PT_REQ_WF_ATTRIBS. I need to extract the leave information from the object.
I tried creating an enhancement implementation for the Class CL_PT_REQ_WF_ATTRIBS and added my own method. But I can't see this method when I create a workflow task.
I also tried copying the whole class and adding my code, but am not sure how to instantiate the new class in workflow. Pls help .Hi,
Can you tell me the requirement.
Do you want to change the Agent using a BADI ??
or you want to send the leave request for another approval ??
If you want to send the leave for another approval then just reset the status of the leave to SENT again using same class and using following code
CALL METHOD cl_pt_req_badi=>initiate_state_transition
EXPORTING
im_request = request
im_event = 'SENT'
IM_RET_VALUE = 0
IMPORTING
ex_new_status = me->status.
After this, u can send this workitem to another processor..
Another scenario could be:
U want to determine a new agent for your workitem.
In this case, u will have to implement BADI "PT_GEN_REQ"
Read the documentation of this BADI.. this might help.
And please tell me the requirement once again.. what you want to achieve.
Regards
Ashutosh -
ESS Leave Request Workflow Issue
Hi Every one,
Our client is using ESS/Portal Leave Request workflow(ZWorkflow template which is configured to the portal) which is working fine up to the last month.Recently i developed 3 level Escalation functionaly which is working fine and we tested and finally transported to production in the last month .And recently i got an issue when the leave request is aproved after escallation is not setting the workflow status completed and keep on escalating to the next levels.
Note:When the 1st manager approves the leave request without escallation the workflow status is going to be completed which is fine and only there is an issue when escallated and approved the status of that specific leave request is approved but the workflow is not going to the status completed and keep on escalating to the next levels.
i checked the log and found there is condition based wait event step which have a condition when
Req.status = Approved&
Req.status = Withdrawn&
Req.status = Error.
must raise the event and complete the workflow only working fine when the escalation does'nt takes place and the direct manager reacted without escalating to another manager.
Please help e what might be the problem is.
Thanks,
Raja.Hi,
Where is this event called? And more over is it an AND condition between those statements?
regards
Krishna -
ESS leave request workflow -WS12300111
Hello Experts
I need to develop ESS leave request workflow by making copy from WS12300111. We are using SAP 4.7 and EP 6.0. And ESS and MSS is not yet deployed in EP.I tried to open this workflow in Workflow builder. Its saying that the task 12300111 does not exist. I have seen this workflow in ECC 6.0.
Is WS12300111 not available in SAP 4.7? or after deploying ESS,will it be available in SAP 4.7?
Please help me out...
Thanks&Regards,
Hemalathahi Hemalatha
I think in 4.7 you can't get that workflow. In ECC6 you can see the workflow. In EP you can't the visual see the workflow like that ECC6. i have developed multileve ESS workflow. take the copy of the standard workflow ws12300111 and do the customization according to your need. Check with the support pack with the portal and basis team. ESS will support only more that sp18 i guess. check with your basis team.
Regards
vijay -
ESS leave request workflow WS04200009...error-u r not one of the possible a
hi all
i m working on ESS leave request workflow WS04200009....but when i create a leave request from user's A/c i got an error at that leave req create screen that's-- u r not one of the possible agent of the task...
pls do help if anyone no solution.
thanks in advance .
RajTry making this task a General Task..use tcode PFTC and change the attribute of this task to a general task. That might help solve the issue.
-
ESS Leave request workflow : ws12300111 : Customizing
Dear experts,
I need to customoze ESS leave request workflow WS12300111.
Can you please tell me do I need to Copy this to a NEW workflow generating a new WF no or can I simply generate a new version for this only ? What is ideal ?
1. Can anyone tell me step by step process(config) in ESS leave application workflow?.(SWFVISU????)
2. Is workflow WS12300111, the only workflow that I need to look for leave application ?.
3. If it is WS12300111 I dont see any start event for this workflow. So how is it getting triggered?
4. For the approval task TS12300097, agent determination is done by expression &Agent_0001.Agents&. How does it interact with Org.Structure.
5. In my scenario, approver should be supervisor of the employee applying for leave. If it is pending with this approver for 5 days it should go to the next up level manager.
For identifying first level approver is &Agent_0001.Agents& enough.? For identifying 2nd level approval do I need to write a rule ?
Kindly help.Hi Sourav,
Try this step by step process(config) in ESS leave application workflow.
ESS Scenario
Workflow Process 20000081 u2013 Create Leave Request with HTML
Steps for triggering the workflow:
1) The employee logs with his user name in the ESS web page.
2) The employee creates a leave request with an optional note and sends it to the appropriate approver (usually his supervisor). The approveru2019s name is automatically displayed in the leave request form and the employee can replace him with another if such a change is needed.
3) The approver (us approver) logs on to sap system or to ESS
web pages and reads his mails in the SAP Business Workplace. The employeeu2019s leave request form appears in the workflow inbox with approve and reject options.
A) If the us approver approves the leave request, he pushes the
button approve from his mailbox (processing status A with
approve). A screen is appeared with a box (Table entry: 0001)
and the approver must push the button continue in order that
the workflow is continued. Then the form is sent to the
employeeu2019s mailbox in Sap. When the employee opens his mails, he receives a note in his inbox that u201Cthe absence from u2026. To u2026..has been approved byu2026.u201D.After that the absence is
automatically created in the sap system. Then the approver gets a mail (notification of completion & Return u2026u2026).
B) When the approver cancels a leave request, he pushes the
button reject and the processing status changes to u201CRu201D.
Then the same form appears
Realative OSS Notes:588262, 480103, 717560, 452841, 359197, 321439, 428394, 321439, 693368, 451998 (ITS), 197746 (ITS), 419297 (ITS)
ITS - ESS stand-alone solution for 4.7
This solution allows customers to schedule the 4.6C or 470
install / upgrade independently from the Enterprise Portal or
mySAP Workplace implementation and will be supported at least as long as SAP R/3 4.6C and R/3 Enterprise is supported.
This ESS stand-alone menu is intended solely to allow independent scheduling of the 4.6C or 470 upgrade and the Enterprise Portal / mySAP Workplace installation. To use this solution, you have to take the following steps:
1. If you do not already have R/3 4.6C, HR support package 8,
please import HR support packages to at least this level. From
HR support package 8 and above, the correct services are
implemented. For 470, the corresponding recommended HR SP is 16 (See note 621589)
2. Verify that the ITS you want to use does not contain a service or service-related files (HTML templates, MIME files) for the services PZLE, PZM3 or PZM3_start. If you find these files,
delete them.
3. Publish the services PZLE, PZM3 and PZM3_start from your R/3 4.6C system (or R/3 470 system whichever is the case) to your ITS using the SAP@Web Studio or the IACOR service.
4. Maintain the username-employeenumber assignment in your system by customizing Infotype 0105, Subtype 0001 of those employees, who should be able to use ESS.
5. Verify that your users have proper authorizations for
executing RFCs (that is, authorization object S_RFC) from the
function group EH08. If you run into problems, this is most
likely due to missing RFC authorizations to start the service
PZM3.
6. Your users should now be able to access ESS by starting the service PZM3. They can do this by entering a URL like
http://<ITS server>:<http port>/scripts/wgate/pzm3/!
(the ! at the end is essential).
7. ESS 4.70 Unicode System ITS 6.10 patch level 29 and above (With IE and Netscape). ITS 6.20, patch level 6 and above (With IE only).
The ESS development tested these ITS versions.
8. For Release 4.6C, ESS has the same browser requirements as the HTML (see also note 178788) and the mySAP Workplace 2.11 (if ESS is accessed through the mySAP Workplace 2.11).
Hope it helps.Do award points if found helpful.
Regards,
Gourav -
Not able to trigger the Leave Request Workflow from EP
Hi,
There is a problem that I am getting as follows and I need an urgent help :
I am using the Leave Request Workflow WS20000081 in R/3 4.7. The problem that I am getting when I login as "A" who is a boss of "B" and got the mail in inbox in corresponding workflow for Approve or Reject the Leave Request. Now when I "Approve" the Leave Request from R/3 Inbox, then the workflow move for the processing, but if the same Leave Request is to be "Approve" from EP having either the SAP Transaction iView or IAC iView, it doesn't process the Workflow further neither for Approval nor for Rejection. And the workitem remains as such in EP Inbox.
Can someone tell me what to do so that it will trigger from EP too.
Regards
DeepHi,
If u have no authorization, even the job log finishes the request won't be deleted.
Once chk the log step by step.....to have some more inf reg authoriations...
Or once goto RSRQ and give the request no there and chk the status of the request whether it is deleted or not?
Atlast try to log-off and refresh the session completely and try.
rgds, -
Issue with ESS Leave request workflow - Deleting a leave request
Hi friends,
This is my scenario: An employee has created a leave request from ESS - Leave Request Workflow(Copy of WS12300111) gets triggered and work item gets created in manager's UWL. After that the employee realizes he has created a wrong leave request so he deletes that leave request from ESS. In this case the workflow instance which got triggered when he created the leave request is under process and the work item stays in the Manager's UWL( there is no terminating event or wait for event step in the approval step of workflow WS12300111), when the Manger opens that work item it shows a blank column, ideally speaking when the leave request is deleted by the employee the work item in the manger's UWL should be logically deleted and the workflow should complete, but this part is not handled in the standard workflow WS12300111as well. How to handle this case. I can put a wait for event or a condition to complete a work item at the approval step but i would like to know how the standard ESS leave request framework works in this case. Please advice.Hi sapient
This is not handled in std. You have clear the next processor in your in method then only the work item will get vanished from the UWL. For clearting the next processor either you can create a method in your BOR and get the request id. For the request id get the max version and clear the next processor or in the BADI you have wirte your own logic when the change happens what you have to do. This logic has to be written in you BADI. I thing BADI will start with PT_ check with that name in se18
You cannot use wait for event or terminating event since its not R/3 workflow its ESS workflow you cannot use ternminating event or wait step.
Regards
vijay -
Leave Request Workflow using SharePoint Designer
Hi Support,
Can you give me a link or specific procedure on how to make leave request using sharepoint designer connected to sharepoint foundation 2013. This is my first time to make it, s there's something doubt in my mind. Please help me as soon as possible.
Thanks
Best Regards,
Bishelp :)Hi Bishelp,
Besides the article which cool_anurag suggested, Here is a video about Leave request Workflow please check whether it is helpful:
https://www.youtube.com/watch?v=9IYI8xHpBPE
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
Leave Requests : Workflow status ?
Hi ,
Looking for a SAP report with the status of all the Leave Requests Workflow .
Thank you .Hi,
Go to Tcode PTARQ, click display documents and enter the personnel number to which you want to check the workflow status.
Regards,
Suhasini -
Leave request Workflow WS12300111 not working
Hello All,
We have ESS/MSS portal and ECC6.0. I have started with pilot ESS leave request project
When i create the leave request from ESS, i am getting message ' The leave request has been sent.'
Evne i am able to the see the task in UWL(MSS) in tracking tab. But if log in as a manager to approve the leave request, its not displaying the task. I have checked the workflow, its getting stuck. Then i have checked leave process(test application) in R/3 alone in transaction PTARQ. I have given my person number and mode 'R'. Its throwing error message " No document created : HRTIM_ABS_REQ 124 conflict with absences/relocation (IT2001/0330)
But i have customized workflow properly in 1. SWU3 ; all are green except guided procedures
2. Maintained the WS12300111 in workflow template for all
3. Request have to approved
4. task is generated
5. line manager as agent (OM maintained properly)
Kindly help .
Regards,
VenkatHi ,
I have changed the pernr ,date and working fine now.Moreover task is also general. But the workflow started but stuck in the step 'Approvel Process.
Its stops at Node number 38 . I have checeked the step history :
Green (Sub)workflow created
Green Background Processing Started
Green Execution started
Green Error Message Created for Admin
Red Exception occurred Error handling for work item 000000390153
I just want to execute the leave request workflow from PTARQ, keeping as me as requestor and approver. If its success , i want to test with ESS. But now its stuck in R/3 test itself. Please help.
Regards,
Venkat -
Problem with ESS Leave Request Workflow
We had configured ESS Leave request, which is working fine with Leave request approval.
1) Cancellation of Leave Request using the workflow WS12400005.
Workflow is not getting triggered when we try to delete the leave request.
2) Quota Overview
While displaying the Casual Leaves (CL) I need to deduct the Paternity leaves (PL) also.
Remaining CLu2019s = quota CLu2019s u2013 ( used CLu2019s + used PLu2019s).hi kishore. how did you resolve the issue of workflow not being triggered?
-
ESS leave request workflow : not able to approve request
Hi experts,
When i create leave request, work item for approving request is not coming in the approver's bussiness workplace. I am using std workflow WS12300111. Is there any customization needs to be done ??
please help me
Pointes will be rewarded
Regards,
SameerHi Samee,
Did you select General Task in the steps of workflow you have an agent?
Sónia
You have a chief position on the Organization Unit where you have the employees?
Sometimes it's possible to forget this one:
Transaction SWDD, select the workflow WS12300111 and press CTRL+F8 (Basic Data)
there's another button "Agent assignment for task" (SHIFT+F9)
set task to "General task" with the "Attributes..." Button. (EVERY user can start this task).
And check this to:
Using transaction SWFVISU, check the following entries and correct these where required:
TS12300097 Java WebDynpro APPLICATION LeaveRequestApprover
PACKAGE sap.com/ess~lea
TS12300116 Java WebDynpro
APPLICATION LeaveRequest
PACKAGE sap.com/ess~lea
(check this, because usually you have an error, instead of sap.com you have com.sap)
Register the work items again. Additional information about registering work items is available in the UWL documentation.
After re-register the System Alias again in the UWL - THIS IS VERY IMPORTANT
Edited by: Sonia Santos on Jan 28, 2008 12:49 PM
Edited by: Sonia Santos on Jan 28, 2008 12:51 PM -
Leave request Workflow ids Ids WS12300111 ,WS12400005
hi
I am on ECC 50 and Portal 7.0. I am using the copy of standard workflows
1) WS12300111 copied to WS90100002 ( Create Leave request)
2) WS12400005 copied to WS 90100003( Cancel leave request)
in ESS.
My questions are as below
1) In Processing process for types of leave in IMG, which worklfows do i enter in each section
a) WF ID of New Request ( i have entered ZWS12300111 )
b) WF ID of Cancellation Request ( i have entered ZWS12400005 )
c) WF ID of Change Request( i dont know what to enter here, should it be same as ZWS12300111 )
2) Secondly the workflow ZWS12400005 does not get triggered when i delete the leave request ( approved, rejected) though i have set up the leave for approvals for cancellation.
3) When i reject the leaves, the work item "Process requeest by employee" comes and sits in UWL. If i click, it open the leave request screen, where in the old values are not present ( like dates for which i had applied leave). If i change the dates and send for approval, the workitem goes to managers inbox, but the work item "process request by employee" still sits in employee inbox. This is happening only in case of rejected leaves when employee uses the same workitem to re apply for leave.
Apprecaite your help
Regards
PNHi
I have the same problem how did you sort it out?
Thanks
Rendani -
ESS Leave Request Workflow Configuration
Hi Experts,
I Have ESS & MSS setup with mySAP ERP 2005 ECC 6.0, i have made the required configuration for absences, i assumed that leave requests should automatically be forwarded to the person with cheif position in the department, Now hwen an employee applies for a leave request i check the MSS UWL and nothing is appearing.
My question is do i have to maintain any configuration in terms of workflow or is it automatically configured if PA & Om integration is active ?
Points will be rewarded for any help..
Regards,
Ahmed SalahOk follow this path
Tools --> Business Workflow --> Development --> Tasks/Task Groups --> Change
Task type = Workflow template
Task = 12300111
Click on Change
Click on Workflow Builder.
Click on Process request by Employee.
Click on Task Properties (Agent assignment)
In Maintain Agent assignment,
See for Process Leave Request by Employee , add General Task.
Then click on the Update Index.
Hope this works for you.
Cheers!!!
Sanjay Sharma.
Maybe you are looking for
-
Hi experts, Our client's free goods management utilizes Catalyst WBS control budget. Once the sales/mktg promotion activity is set up and place limited budget on WBS, it's been noted that WBS budget cannot control free goods if it is consumed as sale
-
ITunes10 lost my music library. How do I get it back?
It looks like iTunes has lost the linds to about half of my 1,630-song music library. When I try to play the missing songs I get an error message that says: "Thesong "African Skies" could not be used because the original file could not befound. Would
-
Not able to connect the application.
Hi DBA's PLease help me to resolve this issue, I am not able to connect the application. Actually i changed apps user before becuase of some reasons, now i changed as old to APPLSYS,APPS,APPLSYSPUB by following note.160337.1 Now i am not able to open
-
My calculator icon has vanished, how do i get it back?
My calculator icon has vanished, i have restored my ipad etc. how do i get it back. very weird? please help as i use it often.
-
Hi, From which report shall i get the number of orders created in a month. cheers, Sumith