0% found this document useful (0 votes)
161 views

Custom Function

This document provides instructions for setting up a custom function in SSHR. It discusses: 1. The components of a seeded function including parameters, function calls, and responsibilities. 2. How to create a custom function by copying details from a seeded function and modifying parameters and function names. 3. Adding the custom functions to menus to make them accessible within the Employee Self Service and Manager Self Service responsibilities.

Uploaded by

Saqib Rahat
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 PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
161 views

Custom Function

This document provides instructions for setting up a custom function in SSHR. It discusses: 1. The components of a seeded function including parameters, function calls, and responsibilities. 2. How to create a custom function by copying details from a seeded function and modifying parameters and function names. 3. Adding the custom functions to menus to make them accessible within the Employee Self Service and Manager Self Service responsibilities.

Uploaded by

Saqib Rahat
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 PDF, TXT or read online on Scribd
You are on page 1/ 22

SET UP OF A

CUSTOM FUNCTION IN SSHR


Introduction

This presentation is designed to provide you with the knowledge and skills
necessary to create a custom function for SSHR responsibility. This course
covers implementation after the following phases:

A look at the seeded function


Components of a function
Creation of a custom function
Creating a transaction using the custom function

The course consists of brief lecture/discussions followed by related screenshots which provide
opportunity for practice. Because the structures you create for the system are interrelated it is
important that you successfully complete each activity before continuing on to the next step.
Components of a function

Before we create a custom function, we need to understand the set up of a seeded function.
The structure of a function is different when called from Employee Self Service and Manager Self
Service responsibility

Let’s take the Personal Information as an example:

This function can be called via the Employee Self-Service (ESS) and Manager Self-Service
(MSS) responsibilities

Under ESS Personal Information (HR_PERINFO_SS) is called


Check the function parameters on the Form tab and Web HTML tab

The function parameter is :

pAMETranType=SSHRMS&pAMEAppId=800&pProcessName=HR_PERSONAL_INFO_JSP_PR
C&pItemType=HRSSA&pCalledFrom=HR_PERINFO_SS&pPersonID=&pFromMenu=Y

pAMETranType &AMEAppId : Add this parameter to all functions that use AME to process
approvals. The parameter provides the transaction type name of SSHRMS. If you define your
own transaction type provide that transaction type name here
pProcessName : This is the workflow process name used by the function. This can be changed
to the name of the configure process
pItemType : This is the internal name for the predefined HRMS Self Service workflow item type
HRSSA
pCalledFrom : Add this parameter to all the _SS functions that are launched through workflow. It
indicates which function calls the current function

Web HTML call is

OA.jsp?akRegionCode=HR_CREATE_PROCESS_TOP_SS&akRegionApplicationId=800&OAFu
nc=HR_PERINFO_SS
OA.jsp?akRegionCode &akRegionApplicationId: The application calls the HR workflow
service
with a parameter specifying the function’s (Personal Information) workflow process for the
workflow item
type
OAFunc : This parameter points to the function name. This parameter enables you to do
personalization for a specified function

Under MSS Personal Information Mgr (HR_PERINFO_MGR_SS) is called

Function parameter
pCalledFrom=HR_PERINFO_SS&addBreadCrumb=Y

Add this parameter to MGR_SS functions or Enter Process functions if you want to display a
navigation link, or breadcrumb, on the page.
&addBreadCrumb : Add this parameter to MGR_SS functions or Enter Process
functions if you want to display a navigation link, or breadcrumb, on the page.
OA.jsp?akRegionCode=HR_PERSON_TREE_TOP_SS&akRegionApplicationId=800

OA.jsp?akRegionCode : This corresponds to the Person Search page. When the user selects a
person from this page, SSHR calls the AOL function specified by the pCalledFrom parameter,
appending the selected person_id to the pPersonID parameter specified for that function

AkRegionApplicationId : This is the application Id


Creation of a custom function

In this section we will create a custom function based on a seeded function used in ESS and
MSS.
Using Personal Information as the example let’s first create a custom ESS function.

The easiest method to create a new function is to query the seeded function and copy the
Function details and change the Function name

1. Create a new function XX_HR_PERINFO_SS


2. Copy the Properties details
3. In the function parameters, change the parameter pCalledFrom=XX_HR_PERINFO_SS
If you have your own workflow process then you can change the ProcessName.
In this example we will use the seeded workflow process
4. For the new function, copy the HTML call details from the Web HTML – HTM L Call tab.
Change the OAFunc parameter so that it points to the custom function name, in this case
XX_HR_PERINFO_SS

There is nothing to be added under the Web Host and Region tabs

Save and now our custom ESS Personal Information function - XX_HR_PERINFO_SS
function is ready
MSS Function:
1. Create a new function XX_HR_PERINFO_MGR_SS
2. Copy the Function Type from the Properties tab of the seeded function
2. Copy the Parameters of the seeded function and change the pCalledFrom to the ESS
function we have created earlier, i.e XX_HR_PERINFO_SS.

Note: If you are required to create a custom function to be used in Manager Self Service,
you will need to first create the custom function that will be called by Employee Self
Service responsibility.
If you just add any random name in the ‘pCalledFrom=’ then the MSS function will not
work properly.
It is for the same reason that creation of the ESS function has been covered first.

3.Move to the WebHTML tab and copy the HTML Call from the seeded function
Once this is done, Save and you will have the custom MSS Personal Information function -
XX_HR_PERINFO_MGR_SS ready
Creating a transaction using the custom function

Now that the custom functions are created, we need to add them under their respective menus

1. Add XX_HR_PERINFO_SS under the Employee Self Service menu. Ensure that you add
a prompt
2.Add XX_HR_PERINFO_MGR_SS under the Manager Self Service menu. Ensure that you
add a prompt

3. Add the functions under the ‘Global Self Service Functions Custom’ menu
You need to add all your custom functions to be used in Self Service under this menu to
make them assessible.
Log in to Manager Self-Service responsibility
Similarly under Employee Self-Service responsibility

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