Employee terminate.Std workflow
Hi Friends
Is there any std. workflow to send a notification when an employee terminate? We are in Ecc 6. Let me know which business object to be used.
Thank a lot in advance
Nash
WS 01000041 Delimit Vacancy for Position
You can check through pftc Tcode.
Most probably configure the HR Event in SWEHR3 Tcode.
<b>Reward points if useful</b>
Similar Messages
-
Std Workflow events for HR Scenarios
Hi I am looking for standard workflows for the following scenarios. Can someone tell me if there are any standard workflow events or should I go for creating a new WF event.
1.Legal Name change---Is there a Wf that triggers some notification.
2.Hire Action in SAP--Is there a Wf that triggers some notification to HR team and Dept mgr.
3.Hire Action in SAP--Is there a Wf that triggers some notification to HR team and Dept mgr.
4.Leave of Absence--Sap notifying HR team.
5.Initial change(IT 105)--Payroll Admin sends notification to associate as well as security team.
6.Marital Status Change.
7.Termination(Voluntary and Involuntary)--Notification to Security team.
8.Probation--Sap reminds the HR team that date is due for employee to return.
I was thinking that for every scenario we have to create a new wf event. I may be wrong but is there a standard wf for the above.
Thanks in advance.There are std. workflows for this, but it will depend upon your configuration. You can trace whether a workflow is getting triggered from txn: SWEL.
The better option is to use the MAIL feature of dynamic actions. Here's the process:
Enter the name of the feature which defines the characteristics of the mail.
Example
Infotype Field ..... Ind. Var.function part
0001 SACHP M M0001
A mail is sent when the field SACHP is changed. The characteristics of the mail are defined in feature M0001.
In the standard system, feature M0001 is provided as a model. The documentation on feature M0001 explains how to define the characteristics of a mail.
Thanks
Sankhadip
<b>Reminder: Points should be awarded on answers</b> -
Std workflow for Parked Invoices?
hi guys
are there any std workflows for parked invoices? Our requirement is that once the Finance clerk creates a customer or vendor invoice he should only be able to park it and not post the invoice. Once the invoice is parked then the system should trigger a workflow and a notification neeeds to be sent to the approver to approve the invoice. Once it is done the finance clerk will post the invoice.
I switched on the event trace and did a trace on while creating a parked invoice. No event is triggered when the document is parked. If i post the document the event POSTED of object FIPP is triggerd. So since we dont have any std events raised when a document is parked is it possible to have a workflow?Hi,
The event FIPP.CREATED is raise via the customizing (SPRO)
Financial Accounting -> Financial Accounting global setting -> document -> document parking -> create workflow variant for parking documents.
Assign co.code to a workflow variant for parking documents.
Have a look at ws10000051.
Regards,
Ronit. -
How to search for std workflows
hi
what is the best way to search for std workflows in SAP. I tried the tcode SWDM( Business Workflow Explorer ) but it does not bring correct results.
can any one guide me on which is the best way to search for std workflows?
thanks
SameerHi,
SWDM should yield the correct results, make sure you're defining your search correctly.
Another way is to look directly in table HRS1201 (I think, im not in an SAP environment now).
But here you also have to know the business objects related to the functional area where you are looking for standard workflows.
Another thing is to use the search functionality in SDN with your query ike "standard workflow for ..."
Kind regards, Rob Dielemans -
Hi MM Gurus
Could any one share the Std Workflow Values available in MM. Ex: 9, 1, etc., and uses of the same
ThanksHi,
Chekc on it:-
www.erphome.net/wdb/upload/forum26_f_21.pdf
http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
pherasath -
Std workflow for document distribution.
Hi Gurus,
Scenario is I donot have a workflow resource for customization. I need to send the document for Approval to a list of 4 Approvers after I set the status to "For Approval". Can we achieve it through document distribution with any std workflow avalaible which can be triggered after I set the status to " For Approval"?
Thanks
PadHi Sri,
Thanks for the reply. I had the Workflow WS 20000104 inserted at the " For Approval " status. Then I created a new DIR and before setting this status I created the receipient list with my user Id . After I set the status "For Approval" I cannot see any work item in SBWP. Am I missing any step?
If in case its because of the Workflow linkage inactive, could any of the Workflow experts guide me
on how to do that.
Thanks,
Paddy -
Changes to Std Workflow - WS14500015
Hi friends,
I want to make changes to std workflow WS14500015. Before approval process I want to first send a workitem to a person say 'manager1' who will change a SC field. Only when he changes it and approves, then only should the remaining wfl process continue otherwise the workitem should be sent to creator for resubmission. Can anyone please help me out with this???its very urgent.
Please help out!!!Hi,
See the foll code for reference:
method if_ex_bbp_wfl_approv_badi~get_remaing_approvers.
Business objects (local)
constants:
c_shop type crmt_subobject_category_db value 'BUS2121',
c_step1 type bbp_step_description value 'First approval step',
c_step2 type bbp_step_description value 'Second approval step'.
*variables for holding the runtime SC values
data : w_total type reqhead-total_value_long,
w_group type zgroup-zprodgrp,
w_category type zgroup-zprodcat,
w_ccenter type zapprovers-zccnetre.
data:
*Header data table
wa_header type bbp_pds_sc_header_d,
*approver structure
wa_approver type bbp_wfl_approval_table_badi,
item structures
it_item type table of bbp_pds_sc_item_d,
wa_it_item like line of it_item,
accounting structures
it_account type table of bbp_pds_acc,
wa_it_account like line of it_account.
*tables for holding the final list of approvers bsed on the SC criteria.
data : it_rule type standard table of zrule,
wa_it_rule like line of it_rule,
it_approvers type standard table of zapprovers,
wa_it_approvers like line of it_approvers.
case object_type.
when c_shop.
----------------------------- shopping cart-------------------------------- *
*get the details of the shopping cart
call function 'BBP_PD_SC_GETDETAIL'
exporting
i_object_id = object_id
importing
e_header = wa_header
tables
e_item = it_item
e_account = it_account.
clear w_total.
if sy-subrc = 0.
*move the total value fo SC to w_total.
move wa_header-total_value to w_total.
endif.
clear : w_category,
w_ccenter,
w_group.
*reading the item table for the Product category
*Here the first record is read only since all the items will necessarily
*have the same Product category
read table it_item into wa_it_item index 1.
if sy-subrc = 0.
*set the product category
move wa_it_item-category_id to w_category.
endif.
Found out to which cost center the items belong
read table it_account into wa_it_account
with key p_guid = wa_it_item-guid.
if sy-subrc = 0.
move wa_it_account-cost_ctr to w_ccenter.
endif.
*to select the Proper Product Group from the maintained Z-table
*ZGROUP for the Product category of the SC items.
select single zprodgrp
from zgroup
into w_group
where zprodcat = w_category.
if sy-subrc = 0.
clear it_rule.
refresh it_rule.
*selecting the proper approval Levels for the Product Group retrieved from
*the previous step as well as based on the range in which the total value
*of the shopping cart falls in form the maintained Z-table ZRULE
select zrule
zprodgrp
zlevel
into corresponding fields of table it_rule
from zrule
where zprodgrp = w_group
and zval1 le w_total
and zval2 ge w_total.
if sy-subrc = 0.
clear it_approvers.
refresh it_approvers.
*selecting the List of Approvers based on the previously retrieved
*Product Group,Approval Level and the Cost Center value from the
*maintained Z-table ZAPPROVERS
if it_rule[] is not initial.
select zindex
zrule
zprodgrp
zlevel
zccnetre
zuser
zname
into corresponding fields of table it_approvers
from zapprovers
for all entries in it_rule
where zrule = it_rule-zrule
and zprodgrp = it_rule-zprodgrp
and zlevel = it_rule-zlevel
and zccnetre = w_ccenter.
endif.
endif.
endif.
if w_total eq 0.
no_further_approval_needed = 'X'.
endif.
*Based on the Current approval step,the values for the corresponding
*Approvers is exported
clear approval_table.
refresh approval_table.
*Actual approval index represents the current WF approval step
case actual_approval_index.
*WF not started
when 0.
*At each and every approval step we need to pass the Approvers from that step onwards
loop at it_approvers into wa_it_approvers where zindex = 1.
wa_approver-approval_index = 1.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step1.
append wa_approver to approval_table.
endloop.
loop at it_approvers into wa_it_approvers where zindex = 2.
wa_approver-approval_index = 2.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step2.
append wa_approver to approval_table.
endloop.
*1st step approval
when 1.
loop at it_approvers into wa_it_approvers where zindex = 1.
wa_approver-approval_index = 1.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step1.
append wa_approver to approval_table.
endloop.
loop at it_approvers into wa_it_approvers where zindex = 2.
wa_approver-approval_index = 2.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step2.
append wa_approver to approval_table.
endloop.
2nd step approval
when 2.
loop at it_approvers into wa_it_approvers where zindex = 2.
wa_approver-approval_index = 2.
wa_approver-approval_agent = wa_it_approvers-zuser.
wa_approver-name = wa_it_approvers-zname.
wa_approver-approval_description = c_step2.
append wa_approver to approval_table.
endloop.
when others .
no_further_approval_needed = 'X'.
endcase .
endcase.
endmethod.
The above code is for the header level approval but in your case you will have to modify the code for item level approval.
The field "actual_approval_index" is the Approval step while the field "approval_index" is the levels of approval for each approval step.i.e. Total no of approvals can be 3 but at each indidvidual aproval step there can be 2 approvals.
Also you just need to populate the APPROVAL_TABLE and not the approval_administrators table for Approvers.
BR,
Disha.
P. S. Pls reward points for useful answers. -
Hi All
We are on R12.1.3.
We have a requirement to terminate the workflow when no action has taken on notification for few days.
Is there any API or the methods to terminate the workflow after the notification timeout.
Any help is appreciated.
Regards,
SanjayPlease see these docs.
Workflow Java Mailer & Notifications FAQ [ID 562551.1] -- "How to Cancel Email Notifications for Particular Workflow Type?" and "How To Cancel Workflow Item Keys In Bulk?"
How to Identify and Abort Items in a Workflow Queue using Oracle Applications Manager OAM [ID 393460.1]
You can also use wf_engine.abortProcess API -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ENGINE&c_owner=APPS&c_type=PACKAGE
Thanks,
Hussein -
Doubt in std workflow WS20000104
Hi Experts,
I have the scenario like when ever the staus change in document, the mail should go to SAP Inbox. Business object is DRAW - Changed.
Actually its a support project and I checked in workflow template. But there is no step type or code to send a mail to iniatior. But it sends mails for some departments and didn't send mail for some departments.
I checked in workflow log. Some successfull workitems called the std WS20000104 and failured work items didnt called this standard workflow.
I dont know the use of this workflow. I checked in SAP help but it wont help. This workflow used BO BUS1082. I just want to know about the workflow. Is it used for sending mails to distribution list?
If anybody worked on this means, please help me.
Thanks in Advance,
Helps will be Appreciated.Hi,
These are some features of WS2000014:
- Distribution order being initiated or restarted.
- Distribution order Id determined when order is initiated.
- Subsequent check possible to determine whether you really want distribution
to take place.
- Partial orders are grouped together in a package that
is created for each recipient and communication type.
- A sub-workflow is started for each package that the SAP mail
to be sent is generated in and the physical distribution
is started in.
- After all packages have been successfully sent, the main
Workflow is terminated.
Regards, -
I would like to create a FormsCentral employee time off form. Our currently form is a PDF that has 3 submission buttons - each submission button is used by a different person in the work flow chain.
1st submission is done by the employee requesting time off, when pressed it attaches itself to an e-mail and is then the employee enters the supervisors email.
2nd submission is for the supervisor to approve the time off and once the submit button is pressed it again attaches itself to an e-amil and is sent to human resources.
3rd submission is to human resources which then records it and is then sent back to the employee for the employee to keep as a record of approval.
Basically -
Employee > Supervisor > Human Resources > Employee
How can I replicate this or would there be a better way to handle this with Forms Central?
ThanksHi;
FormsCentral does not have any sort of a "workflow" for forms. We just released a feature that could be used for something like you've described but is not what the feature is designed for.
The new feature is "Save Web Form" which is turned on and configured by the author of the form and allows the form filler to "Save" their progress and Email a URL to the partially completed form to themselves (or to someone else). You could accomplish a "workflow" using this feature. The Human Resources person in the chain would probably "Submit' the form and with "Email Reciepts" turned on the Employee could recieve an email confirmation that the process was completed.
The "Save Web Form" feature is enabled on the Options tab, under "Save Web Form".
Thanks,
Josh -
Cancel or terminate a workflow instance
Hi,
I have developed a workflow, which will be initiated each time when the item is edted.
I want to Cancel or terminate a previous workflow instance when the new instance is initiated (i.e when editing list item the workflow associated with that item will be cancelled as the new workflow instance going to be initiated.
Please let me know how to achieve this.
I have developed the workflow using Designed.
It will be fine if we use sandbox solution as well.Well you can use the event receiver on ItemUpdated. In this event receiver you can cancel the current running workflow and then start the new instance of the workflow.
If you want to use this in sandbox solution then check you another thread that you have opened where I have replied. You will have to rely on full trust proxies for that.
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d83df5b7-8b05-4f89-8ca1-7dece20cd319/stop-and-restart-workflow-on-item-edit?forum=sharepointdevelopmentprevious
Amit -
Linkage between Employee No. and Workflow
Hi all,
I have a requirement of Identifying all the workflows initiated by a particular employee, which are still "In Process" state. There are a few workflow tables that I have identified but for some reason, unable to find the linkage. My requirement is: to cancel all the workflows of a particular employee, on the basis of a particular condition. Any inputs would be helpful.Thanks.You can get all the workitems with respect to a particular user by using the FM SAP_WAPI_CREATE_WORKLIST by passing SY_UNAME to the USER parameter and staus as INPROCESS to IM_STATUS_FILTER parameter this will give you all the workitesm with status in process with respect to the user you have mentioned.
And to cancel the all the workitems, firstly make sure that you want to cancel then , by uisng the above FM entries you can get the Parent workitem ID of each workitem present in the user's inbox, then pass the parent workitem ID to the FM SAP_WAPI_ADM_WORKFLOW_CANCEL , which will logically delete the entire instance of the workflow. -
PO Std Workflow stuck "In Process" status
Dear Experts,
I have a case where a PO workflow is stuck "In Process" for over 8hrs. The background step - that has the underlining method to set status of PO to released is stuck and has not completed. (WS14000145)
I am not sure of what could have been the problem - possible locking or anything else?
Could you please suggest me a way out?
Do I have kill the workflow (logically delete) and restart it again or have any other way around?
Many thanks!
VjWell, it appears to be a locking issue.
I found entries in SM58 and SM12. However I released them but the workflow still continued to be in Hanged - IN Process status.
I then cancelled the workflow and then manually set released the PO documents.
Then the PO documents were fine and were possible to edit.
Thank you. -
Can we terminate a workflow?
Hello All,
I am creating a Demand Intake workflow using Visual Studio 2012. So my question is can we terimate a workflow in midst of stages and come out? If yes, then how ? Please help.
Thanks and Regards,
ShanilaTerminate activity can be used for this.
Result - the workflow will be still in progress, but submit button will be cancelled and it wont advance to next stage. -
Hi Frds
How to copy standard workflow?
Can anyone tell me step by step.
By
Pariyou can also choose to go to PFTC
select workflow template and enter template id without WS. Click the copy icon.
regards,
Imran
Maybe you are looking for
-
Elapse days - calculation from month and year
Duplicate thread ... coding required for converting month into days I have Month and year field in my DSO --Year( 2009), Month(4) I want below logic to calculate - MTD qty % = (qty * elapse days) / no of days in month so from the above, I want to kn
-
Disable autoupdate for the flash player
Within the MSI files that are provided, do we know a way to stop the flash player trying to auto update?
-
Convert varchar in db to boolean
The dba's have modelled a field as a varchar(1), with valid values being 'Y' and 'N'. Can i map this as boolean within the Java class? thanks, craig
-
Hi, Is there any option to mask the password entered in the Selection screen with a special character like '*'.
-
hi, we have downloaded bw content in zip format while unzipping 3 folders are created 35,36,37 in cu36 we imported all data and cofiles but for ifiles in program RSIRTRIM it is asking a task request. we created a workben