Configuring Substitution in MSS
Objectives At the end of this module, you will be able to: Configure Substitution Functionality in MSS Set up Authorizations for Substitutes Configure E-Recruitment and Travel Management Substitutions so that managers can start it from the Manage Substitution Rules Modify the content of E-mail sent to the substitutes once a substitution rule is created 2
Configuring Substitution Task is to: 1) Add a new Substitution Profile Leave and Time Recording 2) Ensure Leave and Time recording approvals is configured for this Profile 3) Ensure that Team page and Time Recording Dashboard is configured for this Profile under Team applications 4) Ensure that all Time management on behalf applications are configured under employee applications 5) Ensure no applications are visible under Org and Position view
Configuring Substitution Maintaining Task Classifications Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management-> Manager Self- Service (Web Dynpro ABAP )->Substitution->Maintain task classes. 4
Configuring Substitution Maintaining Task Classifications Click on New Entries 5
Configuring Substitution Maintaining Task Classifications Enter Classification of tasks and save the entry. You can classify tasks and therefore group them together according to your own criteria. For the non-workflow items displayed on POWL ensure that standard POWL queries application id is passed as Leave Approval - SAPARQ, Time Recording approval - SAPTR, Clock- In/ Out approval - SAPCICO, Task Monitoring - SAPROD, Birthdays and Anniversaries - SAPBDAY. For workflow based items to be displayed ensure that correct Task IDs are maintained. Task classes describe individual tasks. 6
Configuring Substitution Adding Profiles Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management- > Manager Self-Service (Web Dynpro ABAP )->Substitution->Substitution Profile->Define Substitution Profile. 7
Configuring Substitution Adding Profiles Click on New Entries 8
Configuring Substitution Adding Profiles Enter Substitute Profile and save the entry. Determine which proxy profiles should exist. Create new proxy profiles to meet the requirements. 9
Configuring Substitution Mapping Profiles to Applications Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management- > Manager Self-Service (Web Dynpro ABAP )- >Substitution->Substitution Profile->Assign Substitution Profile. 10
Configuring Substitution Mapping Profiles to Applications Click on New Entries 11
Configuring Substitution Mapping Profiles to Applications Enter Substitute Profile and Classification of task and save the entry. Determine which task classes are to be grouped together in a proxy profile 12
Configuring Substitution Configuring Substitution Launchpad Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management- > Manager Self-Service (Web Dynpro ABAP )- >Substitution->Configure Substitution Launchpad. 13
Configuring Substitution Configuring Substitution Launchpad Navigate to MSS Role and SUBSTITUTION Instance and click on Edit for Team specific applications. For Employee applications: Role: MSS Instance: EMPLOYEE_MENU For Organization applications: Role: MSS Instance: ORGANIZATION_MENU For Position applications: Role: MSS Instance: POSITION_MENU 14
Configuring Substitution Configuring Substitution Launchpad Select Team Page under the Team folder. Add ZSAP_LEAVE to SUBST_CLASSIFICATION for Target App Parameters and save the changes. 15
Configuring Substitution Configuring Substitution Launchpad Navigate to MSS Role and EMPLOYEE_MENU Instance and click on Edit 16
Configuring Substitution Configuring Substitution Launchpad Select Create Leave Request under the Time Management On Behalf of Employee folder. Add ZSAP_LEAVE to SUBST_CLASSIFICATION for Target App Parameters and save the changes. 17
Configuring Substitution Configuring Substitution Launchpad Similarly add ZSAP_LEAVE for SUBST_CLASSIFICATION for the highlighted applications. 18
Configuring Substitution Steps: 1, Launch Manager Self- Service Role 2, Click on Manage Substitution Rules under Substitution component in the Home Page. 19
Configuring Substitution Click on Create Rule button in Manage Substitution Rules application. In the Create a Substitution Rule window a new entry Leave and Time Recording is visible. Enter the Assignee and select the profile Leave and Time Recording. Specify the validity for the substitution rule and click on OK. 20
Configuring Substitution A new rule for profile Leave and Time Recording has been created. 21
Configuring Substitution Login as substitute and select the substituting manager. 22
Configuring Substitution The Substitute can launch Leave and Time related processes for employees. 23
Setting up Authorization Task is to: For the Leave and Time Recording Profile created earlier ensure the substitute has access to data for employees only of substituting manager s. He/she should not have access to data of employees of any other managers in the organization
Setting up Authorization Create Structural authorization profile Assign to the user Note: Copy the substitution role and make required changes Make sure that the structural authorization is activated in the system 25
Setting up Authorization Creating Structural Authorization Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management Manager Self-Service (Web Dynpro ABAP ) Substitution Authorization Management Structural Authorization Create Authorization Profile 26
Setting up Authorization Creating Structural Authorization Steps: 1. Click on New Entries to create new authorization profile 2. Enter EMP_PROFILE and click on Enter to save the profile 3. Select Authorization profile maintenance to maintain authorization parameters 27
Setting up Authorization Creating Structural Authorization Steps: 1,Click on new entry to maintain profile parameters to the authorization profile EMP_PROFILE 2, Enter parameters as mentioned in the screenshot 3, Enter Function module HRMSS_SUBST_GET_OR G_ASSIGNEMENT 28
Setting up Authorization Assigning Authorization Profile to the User Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management Manager Self- Service (Web Dynpro ABAP ) Substitution Authorization Management Structural Authorization Assign Authorization Profile to Users 29
Setting up Authorization Assigning Authorization Profile to the User Steps: 1. Click on New Entries to assign authorization profile to the user 2. Assign authorization profile to the user Tester5 30
Setting up Authorization Setting up the Role Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management Manager Self-Service (Web Dynpro ABAP ) Substitution Authorization Management Maintain Roles 31
Setting up Authorization Setting up the Role Steps: 1. Open Substitution single role SAP_MANAGER_MSS_SUB ST_SR_NWBC and click on copy. 2. Enter the new role and click on copy all 32
Setting up Authorization Setting up the Role Steps: 1. Open the copied role and click on Authorization tab to maintain authorization for the single role 2. Click on Change Authorization Data to change the authorization 33
Setting up Authorization Setting up the Role Make required changes and generate the authorization profile 34
Setting up Authorization Setting up the Role 35
Setting up Authorization Setting up the Role Steps: 1. Goto transaction SU01 2. Search for the user as TESTER5 and click on edit button 3. Select role tab and add the copied role 4. Click on save button 36
Activating Substitution for Travel and E-Recruitment
Activating the Substitution for Travel and E-Recruitment Steps: Create a BAdI Implementation for the BAdI WF_SUBSTITUTE. If E-recruitment exists in a different system, ensure that an implementation is created in that system as well. In this case ensure that Multibackend is enabled and system connections are maintained correctly. A sample implementation has been provided which is inactive. You can refer to this implementation. In the Interface method IF_EX_WF_SUBSTITUTE~MAINTAIN_SUBSTITUTE there are flags for subscribing to functionalities like Travel, E-recruitment and substitution mailers. Set these flags as per the requirements. 38
Activating the Substitution for Travel and E-recruitment Click on create to create a new BAdI Implementation for the BAdI WF_SUBSTITUTE 39
Activating the Substitution for Travel and E-recruitment Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management- > Manager Self-Service (Web Dynpro ABAP )- >Substitution->BAdI: Determine Substitution Rules and Application for User. 40
Activating the Substitution for Travel and E-recruitment Enter Enhancement Implementation name and short text and click on OK button 41
Activating the Substitution for Travel and E-recruitment Enter BAdI Implementation name and Implementation Class name. Select BAdI Definition name as WF_SUBSTITUTE and click on OK button 42
Activating the Substitution for Travel and E-recruitment Select Empty Class. 43
Activating the Substitution for Travel and E-recruitment Double Click on Implementing Class 44
Activating the Substitution for Travel and E-recruitment Double Click on the interface method IF_EX_WF_SUBSTITUTE~MAINTAIN_SUBSTITUTE. 45
Activating the Substitution for Travel and E-recruitment In the subsequent pop-up screen click on Yes button. 46
Activating the Substitution for Travel and E-recruitment Refer to the standard BAdI Implementation HRMSS_SUBSTITUTION_BADI_MAIL. Copy the existing implementation or create a new one as per the requirements. Save and Activate the interface method. 47
Activating the Substitution for Travel and E-recruitment Double Click on the interface method IF_EX_WF_SUBSTITUTE~DELETE_SUBSTITUTE 48
Activating the Substitution for Travel and E-recruitment In the subsequent pop-up screen click on Yes button. 49
Activating the Substitution for Travel and E-recruitment Refer to the standard BAdI Implementation HRMSS_SUBSTITUTION_BADI_MAIL. Copy the existing implementation or create a new one as per the requirements. Save and Activate the interface method. 50
Activating the Substitution for Travel and E-recruitment Save and Activate the implementation class. 51
Activating the Substitution for Travel and E-recruitment Save and Activate the enhancement implementation. 52
Activating the Substitution for Travel and E-recruitment Check the checkbox Implementation is active. 53
Activating the Substitution for Travel and E-recruitment For assigning Connected system to Inbox, follow the below steps: Steps: 1, Go to transaction- SPRO 2, Navigate to SAP Customizing Implementation Guide- >Cross-Application Components->Processes and Tools for Enterprise Applications->Inbox- >Assign Connected Back- End Systems to Inbox 54
Activating the Substitution for Travel and E-recruitment Enter POWL Application ID and the Source System*. *Ensure that an RFC Destination exists in the system. 55
Change E-mail Content in Substitution Task is to: Change the e-mail format that is sent on substitute when a substitution rule is created by the manager
Change E-Mail Content in Substitution Steps: 1, Go to transaction- SPRO 2, Navigate to Personnel Management- > Manager Self-Service (Web Dynpro ABAP )->Settings for E-mail Update->BAdI: Modify E-mail Content. 57
Change E-Mail Content in Substitution Click on create to create a new BAdI Implementation. 58
Change E-Mail Content in Substitution Enter the Enhancement Implementation name and click on OK. 59
Change E-Mail Content in Substitution Enter Enhancement Implementation name and Click on OK. Enter BAdI Implementation name and Implementing Class name and Click on OK. 60
Change E-Mail Content in Substitution Double Click on Implementing Class. 61
Change E-Mail Content in Substitution Implement the interface method IF_HRMSS_MODIFY_EMAIL_CONTENT~GET_EMAIL_CONTENT by double clicking on it. 62
Change E-Mail Content in Substitution In the Create Method Implementation pop-up screen click on Yes. 63
Change E-Mail Content in Substitution Refer to the standard BAdI Implementation HRMSS_COMPETENCY_SEND_MAIL. Copy the existing implementation or create as per the requirements. Save and activate the interface method. 64
Change E-Mail Content in Substitution Save and Activate the implementation class. 65
Change E-Mail Content in Substitution Since this is a Filter Dependent BAdI we have to pass the Filter value. Select Filter Value and click on Create Combination button. 66
Change E-Mail Content in Substitution Enter the value SUBSTITUTION for Value 1 and = for Comparator 1.Click on OK. 67
Change E-Mail Content in Substitution Save and Activate the Enhancement Implementation. 68
Change E-Mail Content in Substitution Check the checkbox Implementation is active. 69
2012 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, z10, z/vm, z/os, OS/390, zenterprise, PowerVM, Power Architecture, Power Systems, POWER7, POWER6+, POWER6, POWER, PowerHA, purescale, PowerPC, BladeCenter, System Storage, Storwize, XIV, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, AIX, Intelligent Miner, WebSphere, Tivoli, Informix, and Smarter Planet are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the United States and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks or registered trademarks of Adobe Systems Incorporated in the United States and other countries. Oracle and Java are registered trademarks of Oracle and its affiliates. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems Inc. HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Apple, App Store, ibooks, ipad, iphone, iphoto, ipod, itunes, Multi-Touch, Objective-C, Retina, Safari, Siri, and Xcode are trademarks or registered trademarks of Apple Inc. IOS is a registered trademark of Cisco Systems Inc. RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl, BlackBerry Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App World are trademarks or registered trademarks of Research in Motion Limited. Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps, Google Mobile Ads, Google Mobile Updater, Google Mobile, Google Store, Google Sync, Google Updater, Google Voice, Google Mail, Gmail, YouTube, Dalvik and Android are trademarks or registered trademarks of Google Inc. INTERMEC is a registered trademark of Intermec Technologies Corporation. Wi-Fi is a registered trademark of Wi-Fi Alliance. Bluetooth is a registered trademark of Bluetooth SIG Inc. Motorola is a registered trademark of Motorola Trademark Holdings LLC. Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, ianywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase Inc. Sybase is an SAP company. Crossgate, m@gic EDDY, B2B 360, and B2B 360 Services are registered trademarks of Crossgate AG in Germany and other countries. Crossgate is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG. 70