0% found this document useful (0 votes)
2K views

Configuration of Leave Request Workflow For ESS

The document outlines the steps to configure a custom leave request workflow for an ESS/MSS application in SAP, which includes copying the standard workflow, modifying agent assignments, and configuring SPRO settings to trigger the custom workflow for leave request types instead of the standard one, allowing testing of leave request submission and approval via the workflow.

Uploaded by

maheshdba
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

Configuration of Leave Request Workflow For ESS

The document outlines the steps to configure a custom leave request workflow for an ESS/MSS application in SAP, which includes copying the standard workflow, modifying agent assignments, and configuring SPRO settings to trigger the custom workflow for leave request types instead of the standard one, allowing testing of leave request submission and approval via the workflow.

Uploaded by

maheshdba
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 9

Configuration of Leave request workflow for ESS/MSS

By Suresh Kumar Parvathaneni, YASH Technologies


Scenario: Need to customize the SAP leave request workflow for ESS application. Approach: Following are the activities that need to be performed to achieve the above requirement: 1. Workflow part 2. SPRO Configurations 3. Testing from R/3 side Workflow Part: Before you proceed with the leave application, ensure that the workflow settings are in place (Transaction SWU3). The standard workflow provided by SAP for the leave application is WS12300111. To customize this to our requirement, it is recommended to take a copy of the workflow instead of modifying the standard one. To copy the standard workflow, go to transaction PFTC.

Select the task type Workflow template and enter the workflow number in the task number. Click on Copy task.

Following popup appears. Click on Copy task

Assign the object to the required package and the request. Now open the custom workflow definition created above.

Now go to Basic data Agent assignment for task (see the screenshot below):

Select the task as General task

Now ensure that the agent assignment for all the steps in the workflow is as per your requirement. If not, you can modify the same to meet your requirements. (Please take a copy of the standard tasks as well, if they are to be modified). Configuration Settings: The configuration settings are to make the standard SAP leave application to trigger the custom workflow application for the leave requests instead of standard workflow. Please note that the configuration settings are covered only from a Workflow perspective and not elaborative.

Go to transaction PTARQ.

Click here to continue...

Configuration of Leave request workflow for ESS/MSS


...Previous
Click on Customizing (this is a short route instead of going through SPRO). Now navigate to Specify Processing Processes for Types of Leave as shown below:

Following popup appears. Click on Define Absences/Processing Processes

Now double-click the leave request types for which we need to trigger the custom workflow.

The following screen appears:

Now to have the workflow to process the leave request, check the check box as highlighted in the above screenshot. When the checkbox is highlighted, following fields appear:

Here enter the custom workflow we have created earlier.

Click on Save. Testing: To test the application, we need to create a leave request from the portal. Alternatively, we can use the transaction PTARQ to create a leave application. Click on Test Application in the transaction PTARQ.

Enter the Employee number (PERNR) and click on the tab Create Request

Enter the Infotype number 2001, the sub-type (leave type), Date and other information as required.

Save your leave request. Tip: Please note that the work item generated by this workflow, for approving the leave request, cannot be directly executed from the SAP inbox. SAP issues the following message when we try to execute the work item from R/3 (Following is the only code in the method attached to the task):

For testing purpose, you can use the function module PT_ARQ_REQUEST_EXECUTE to approve the leave request and to complete the work item.

IM_REQUEST_ID is the unique leave request identifier (Document ID).

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy