OTL Workflows for Employees
Hi All
I have a requirement to customise the OTL Workflows for Employees, what I need to do is change the workflow to send notifications to the task manager in a project. If the task has no Task Manager then the notification must go to the project manager. I am new to workflow, I just to find which process actually groups the time card entries so I can be able to manipulate that process into splitting on task Level not notproject level.
Please any info will be greatly appreciated
Dumisani
Denise,
Based on the profile value, (If it is set to yes), it will always go into 'Deferred status' and then when you run 'WF background process' for OTL workflow for
employees, it will get picked up.
Sometimes, the time that the WF sits in Deferred status may be longer and even WF background process will NOT pick them up (during that time)
and one quick solution to bounce the DB(yes, database),
Hope this helps.
Thanks
arul
Similar Messages
-
OTL Workflow for Employees starting in Deferred Status
Suddenly the OTL Workflows for Employees went to Deferred status. It was necessary to manually start each one. I have checked all other worklfows and they are fine. Only the Timecard Approval does not start. We have stopped and restarted the concurrent managers as well as bounced the Apache server. Nothing is kick strating this workflow process.
Any ideas would be appreciated.Denise,
Based on the profile value, (If it is set to yes), it will always go into 'Deferred status' and then when you run 'WF background process' for OTL workflow for
employees, it will get picked up.
Sometimes, the time that the WF sits in Deferred status may be longer and even WF background process will NOT pick them up (during that time)
and one quick solution to bounce the DB(yes, database),
Hope this helps.
Thanks
arul -
Dear Freind
I customized this work flow and add sub process and it works fine but the notification returns error
Message Not Found : Application HXC HXC_NO_LAYOUT_PREF_FOR_PAGE
Can Any one help me track this problem???
Thank you
Hesham AlyHi Hesham Aly,
This error occurs because there is a missing layout preference
Metalink note 342862.1 gives further details on this
Thanks,
Pragati -
Workflow for Employees (HXCEMP) customization
Hello all,
I have customized process 'Apply Rules and Notify Approvers' in a copy of HXCEMP and now i want to upload it to the server and use it instead of the orginal.
Is there a way i can setup or configure the copy of HXCEMP and use it instead of the original?
Tnx in advance,
RonaldOS HP-UX Titanium
DB 11g
EBS R12.1.2
More specific: i know how i can upload the customized workflow. What i mean is is there a way to start de customized workflow XXHXCEMP (Workflows for Employees) from EBS instead of the original HXCEMP.
In PO you can do it with doctypes setup. Here you can define the customized workflow to be used.
Kind regards,
Ronald -
Business object and standard workflow for employee training
Hi All,
I have a requirement, where an employee nominates himself to attend a business event type(training) and it goes to his supervisor for approval.
I want to know the business object which can be used for this scenario and any standard workflow.
Thanks and Regards
Balaji E.If you would have done a little searching you would have found it. You can find all the relevant BOR's in the repository. You can find examples of linkages in SWEHR2 and if the right one isn't there you can create yours in SWEHR3.
Please put in a little effort of your own in stead off taking the easy way out and ask for everything here. Also let us know what you already did to solve your problem so you don't get the answers you already tried.
Regards,
Martin -
Want to deactivate Workflow for single Employee
Hi Team,
We have a requriement to deactivate T&E (Trip Approvals) workflow for a
Personnel number, Basically he is a director of the company who doesn't want to
and allow his Assitant to do it on his behalf with out him receiving the
approval.
Currently we are following the below process
Trip created by Employee --> Checked and Approved by Manager --> If
not approved by 5 days, it will go to Manager's Manager (Senior level).
Now for this specific case, we need an exception process as below, where we
need to deactivate the Workflow only for Director, if not possible then the
trip's Wrokflow can be generated as below.
Trip created by Director --> Approved by Assistant.
Please guide me.
Regards,
SandeepHello
You can use a standard functionnality in workflow which is substitution/delegation. The director can delegate for a specific task (trip approval) and for a period of time to another user.
So he will delegates to his assistant and the assistant will do the validation on his behalf.
It is a common requirement and delegation is often used for high level managers.
Regards
Mathieu -
Mass update the OTL rotation plan for employees
Hi All,
I am trying to find a way to mass update the rotation plan for employees .I could not find any API or easy way to do it.
Do we have any easy way to do it.
ThanksIf you cannot find an API, why don't you try one of the data-load tools.
http://www.dataload.com/
Cheers,
Vignesh -
Regarding workflow for OM infotype 1000,1001
Hi all,
i am having one scenerio.
i have to trigger a mail when there in any create,delete,change in infotype 1000,1001.
it should trigger a mail to the personal admin which is stored in 0001 infotype of that employee.
how this can be achived?
is there any workflow exists for this one or thrgh dynmaic action.
Please suggest any solution for this one....
Regards,
ManjunathHi Manjunath,
I think there is a standard workflow for that, otherwise you could create one. I think you will need to make sure for which changes exactly you need to trigger this workflow.
You need an event raised when a change is done, and then the workflow will start and you can send the e-mail. You probably need to create a new rule to determine the personal admin from infotype 0001.
Regards,
Martin -
How to create workflow for this scenerio
HI Gurus,
I am new to workflow.
I have to create a workflow. But I have a problem what the object type I have to choose. It may be simple but i dont know do it.
Scenerio of the workflow given is...
This workflow gets pernr and benefit plan information from portal.
this workflow is a one step approval mail
In the workflow three steps are there.
In the first step i have to derive basic hourly salary of the person by using infotype --- 008 and company code for the pernr from the 0001 and benefit plan he enrolled
Second step ---
there are two company codes, I have to use condition step,
if one company code I have to send to one hr department mail for approval
and the other for another hr department step.
in the workitem i have to pass salary information, pernr information.
third step, after approval I have to update the respective infotype.
My question is for the above scenerio, what object type I have to use.
For the first step is there any method I have to create which calls function module.
if so for which object type i have to add method.
third how do I create the workflow container for this.
I am new to workflow. Please help me friends.
RaviI think you should create your own Business Object or you can refer to Business Object EMPSALPACK.
Now Company Code should be an Attribute that you should do the Coding For.
Use this attribute in the Condition Step of Workflow Template.
Workflow Container will contain the Business Object that you will be creating. The Business object should have Key Field Pernr and may be anything relevant that you will do for Coding. I think you might have to trigger the Event of the Business Object through code.
Check the Code below.
<b>Reward Appropriate Point if useful</b>
INCLUDE <cntn01> .
DATA:i_emp_details TYPE STANDARD TABLE OF p0001, "Employee Details
wa_request TYPE p0001, "Workarea for Employee details
v_country_grp TYPE molga, "Country SubGrouping
v_object_key TYPE sweinstcou-objkey. "Key for the buisness object ZWOBUSTRIP
CONSTANTS: c_bo_trip TYPE swo_objtyp VALUE 'ZWOBUSTRIP',
c_event_trip TYPE swo_event VALUE 'TripCreate',
c_infy_type_1 TYPE infty VALUE '0001'.
Event Container declaration
swc_container i_event_cont.
swc_create_container i_event_cont.
Reading the INFO TYPE 0001 to obtain the
Employee details
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = i_emp_number
infty = c_infy_type_1
begda = sy-datum
endda = sy-datum
TABLES
infty_tab = i_emp_details
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
SY-SUBRC check is not required as the error
handelling will be done by WorkFlow rule
resolution.
CLEAR wa_request.
READ TABLE i_emp_details INTO wa_request INDEX 1.
IF sy-subrc = 0.
Retrieving the Country SubGrouping for the employee
SELECT SINGLE molga
FROM t001p
INTO v_country_grp
WHERE werks = wa_request-werks
AND btrtl = wa_request-persk.
ENDIF.
Sending the relevant data to event container
swc_set_element i_event_cont 'EmpId' i_emp_number.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'PersonnelArea' wa_request-werks.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpSubGrp' wa_request-persk.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpTripId' i_emp_trip.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
Raising the event to trigger the workflow
v_object_key = i_emp_number.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = c_bo_trip
objkey = v_object_key
event = c_event_trip
TABLES
event_container = i_event_cont
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
COMMIT WORK.
ENDFUNCTION.
Thanks
Arghadip -
How to create workflow for this simple scienerio
HI Gurus,
I have to create a simple workflow. But I have a problem what the object type I have to choose.
Scenerio of the workflow is ..
This workflow gets pernr and benefit plan information from portal.
this workflow is a one step approval mail
In the workflow three steps are there.
In the first step i have to derive basic hourly salary of the person by using infotype --- 008 and company code for the pernr from the 0001 and benefit plan he enrolled
Second step ---
there are two company codes, I have to use condition step,
if one company code I have to send to one hr department mail for approval
and the other for another hr department step.
in the workitem i have to pass salary information, pernr information.
third step, after approval I have to update the respective infotype.
My question is for the above scenerio, what object type I have to use.
For the first step is there any method I have to create which calls function module.
if so for which object type i have to add method.
third how do I create the workflow container for this.
I am new to workflow. I know scenerio is simple but I dont know how to do it.
Please help me friends.
Ravithink you should create your own Business Object or you can refer to Business Object EMPSALPACK.
Now Company Code should be an Attribute that you should do the Coding For.
Use this attribute in the Condition Step of Workflow Template.
Workflow Container will contain the Business Object that you will be creating. The Business object should have Key Field Pernr and may be anything relevant that you will do for Coding. I think you might have to trigger the Event of the Business Object through code.
Check the Code below.
<b>Reward Appropriate Point if useful</b>
INCLUDE <cntn01> .
DATA:i_emp_details TYPE STANDARD TABLE OF p0001, "Employee Details
wa_request TYPE p0001, "Workarea for Employee details
v_country_grp TYPE molga, "Country SubGrouping
v_object_key TYPE sweinstcou-objkey. "Key for the buisness object ZWOBUSTRIP
CONSTANTS: c_bo_trip TYPE swo_objtyp VALUE 'ZWOBUSTRIP',
c_event_trip TYPE swo_event VALUE 'TripCreate',
c_infy_type_1 TYPE infty VALUE '0001'.
Event Container declaration
swc_container i_event_cont.
swc_create_container i_event_cont.
Reading the INFO TYPE 0001 to obtain the
Employee details
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = i_emp_number
infty = c_infy_type_1
begda = sy-datum
endda = sy-datum
TABLES
infty_tab = i_emp_details
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
SY-SUBRC check is not required as the error
handelling will be done by WorkFlow rule
resolution.
CLEAR wa_request.
READ TABLE i_emp_details INTO wa_request INDEX 1.
IF sy-subrc = 0.
Retrieving the Country SubGrouping for the employee
SELECT SINGLE molga
FROM t001p
INTO v_country_grp
WHERE werks = wa_request-werks
AND btrtl = wa_request-persk.
ENDIF.
Sending the relevant data to event container
swc_set_element i_event_cont 'EmpId' i_emp_number.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'PersonnelArea' wa_request-werks.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpSubGrp' wa_request-persk.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpTripId' i_emp_trip.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
Raising the event to trigger the workflow
v_object_key = i_emp_number.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = c_bo_trip
objkey = v_object_key
event = c_event_trip
TABLES
event_container = i_event_cont
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
COMMIT WORK.
ENDFUNCTION.
Thanks
Arghadip -
Workflow for Cat2 Time approval
Hi All,
I am new to workflow, We need to trigger a workflow when employee fills time in Tcode CAT2. Standard workflow WS40001001 is working fine.
Here in workitem text it is displaying Approval for 00000000 instead it should display (Approval for Personal no and Name) which is assigned in standard task.
Example:
This how we wanted:
Approval for 00001234 SAPDEMO
This is was happening:
Approval for 00000000
Work item text : Approval for &TS_PERNR& &TS_ENAME& and standard task is TS20000460.
Kindly let me have some idea on this
Thanks in advance
Arun .Hi linganna,
This is standard task and it is binding when we assign the task.
And i am using org unit and made it as general task. Would i need to assign org unit yo task,
how to bind wokflow container element to Business object CATS?
Work item text I CHANGED : Approval for &TS_PERNR& &TS_ENAME& and standard task is TS20000460.
I DEBUGED AND FOUND THAT IN FM CATS_WF_APPROVAL VALUES ARE NOT POPULATING FOR PERNR AND ENAME
WHAT WOULD BE THE PROBLEM HERE?
SWC_GET_ELEMENT CONT_IMP 'TS_PERNR' PERNR_WF.
SWC_GET_ELEMENT CONT_IMP 'TS_ENAME' ENAME.
SWC_GET_ELEMENT CONT_IMP 'TS_DATE' DATE.
SWC_GET_ELEMENT CONT_IMP 'TS_TIME' TIME.
SWC_GET_ELEMENT CONT_IMP 'TS_UNAME' UNAME.
Regards,
Arun.
Edited by: Arun Kumaran on May 31, 2010 1:14 PM
Edited by: Arun Kumaran on May 31, 2010 1:36 PM -
Workflow for Predefined Performance Management Process
Hi All,
We are in process of implementing Predefined Performance Management to our client, as I know we donu2019t have workflow for predefined performance management, but I saw below thread:
Performance Management Process - Workflow between participants
Please give me more clarification about configuration of Workflow for PMP, we need e-mail notifications only when ever manager is going to do some status change like approve planning phase, reject planning phase etc.
We are expecting these notifications not through portal only employees e-mail account, can you tell me where the location of the configuration is?
Thanks in advance.
-AbhiHi,
The pre-defined is not ment for changing by anyone. The template is generated and the settings are as is. You would need to go to the phap_catalog to change the template (but that option is disabled for PMP templates). Theoritically you would need to change the status flow tab and select the correct workflow there. The information workflow is standard delivered for use in the flexible one.
So, yes you probably are able with tricks to get it working in PMP but it is not supported by SAP.
Regards and Groetjes,
Maurice Hagen -
Approval Workflow for Self Registration
Hi ,
I have a requirement where I have to develop an approval workflow for self registration.
My requirement is If the user type is Employee the user must not go through approval, but if the user type is contractor they must go to some admin user for approval.
How can I achieve this.
RegardsHi,
You can refer this link "Create a Custom Approval Process for Self Registration" it might clear your doubts. Also you can create rule as said in below post. For that you can refer "http://codigoctm.files.wordpress.com/2012/11/lab-06-access-policy.pdf".
Regards,
Sunil -
Workflow for self registration
Hi Folks,
I need to know the exact workflow used for user self registration, i.e., the workflow where in the mail to the registration approver to approve the new user request is triggered.
Can you please let me know.
Regards
RajeevHi Rajeev,
All Workflow on SRM can be found on the page
http://help.sap.com/saphelp_srm30/helpdata/en/8b/4fa9585db211d2b404006094b92d37/content.htm
Click on details New User (WS10000192)
Approval Workflow for Creating Internal Users Use
When an employee requests a user master record and Customizing has been configured such that a user needs to be approved, the users manager receives a work item.
· If the manager approves the request, the user is released. The employee receives an e-mail with an automatically generated password at the address that he or she entered when making the request.
· If the manager rejects the request, the employee is also notified by e-mail.
Prerequisites
· You have activated approval by the manager.
Menu path in the Implementation Guide (IMG):
Supplier Relationship Management ® SRM Server ® Master Data ® Create Users ® Set Approval Indicator
· You have included the manager in the organizational plan.
Menu path in the Implementation Guide (IMG):
Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® Organizational Management ® Change Organizational Plan
· You have activated event linkage for the event Created for workflow WS10000192.
Menu path in the Implementation Guide (IMG):
Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® SAP Business Workflow ® Perform Task-Specific Customizing
Regards,Nishant
Please reward if this helps. -
Creating Workflows for a Corporation with Different Company Codes
Hi,
We have just done a roll-out for Company A which is part of a big corporation (group of companies).
The system version implemented is ECC 6.0 with modules (HR,MM,FI,DBM)
I have implemented and rolled out several workflows (Leave,PR,PO, Payment approval)for Company A and am now expected to do the same workflows for Company B,the business processes as per flowcharts remain the same as for Company A.
Company A uses company code 1000, while company B will use company code 2000.
Users in Company B will log in to the same PRD servers.
Some approvers of workflow in company A will be responsible for some workflow approvals for staff in company B though HR have completed implementing an org structure for company B.
Is it possible to use the same workflow templates by saving them in a different name and change the agents to reflect company B org,if so how do I go about it?
In future we will also roll-out to Company C.
What is the best way to do it and save time as well.
Thank you.
MissaHi
Consider a scenario like EMPB who belongs to CMP B has applied a leave and EMPA manager of EMPB who belongs to CMP A,
Now in order to send the leave request for approval to EMPA you can define or create a rule from PFAC transaction. in such a way that
1. First try to get the initiator details like his personnel number.
2. Once you have the Employee number , by using it you can read hi Org Assignment details from PA0001 to get employee sepecifc compnay code.
3. BAsed on the employee group and sub group you might have to decide who is manager I hope this would be defined already in the org structure.
4. Once you know who is the manager , get his position details and from it get holder and his communications info from PA0105.
IN this way if you define a rule by calling a function module. You can make use of the same workflow. but based on the initiator details you need to dort out the manager.
The simple way is to define and impement the Rules dynamically to fetch the agents based on the Personel are/sub are and employee group and sub group.
Regards
Pavan
Maybe you are looking for
-
Leopard "kind of" detects my LCD TV, but doesn't work ( DVI-to-HDMI )
I recently bought a new LG 32" (32LG5000) and was hoping to hook it up to my laptop. When I connect the DVI-to-HDMI cable (DVI on macbook, HDMI on TV port), Leopard's screen turns "blue" for a sec, like if it was detecting/adjusting/whatever the exte
-
Need Help in Flat File Reconcilation
Hi All, I have following req. to achieve: Assume on Day 1, I received a flat file (AD or NT or CSL) from which a total of 100 accounts were reconciled. Of this, 20 were managed and 80 were unmanaged. Further assume that on Day 2, the next version of
-
Hello lovely people. I'm crashing as I go to bounce. This is the first work I've done to picture (DV file) since being forced to upgrade to this macpro after my G5 died. Done plenty of other work, no problems. No reason to think it is the movie file,
-
10.9.x no backlit keyboard with FileVault 2 enabled
I adopted 10.9.x (Mavericks) from 10.6.x (Snow Leopard) several MacBook Pro's 13" and 15" a like, with or without retina displays dating from 2010 to 2014. In 10.6.x even with FileVault enabled when you first boot the computer the backlit keyboard wo
-
I leave my BB on all the time,
I heard it was bad for battery life. I almost never turn it off. I plug it in every night at bedtime regardless of battery strength.