HCM Processes and Forms Additional User Interface May 2012
HCM Processes and Forms
Additional User Interface
May 2012
© 2012 SAP AG. All rights reserved. 2 RKT
At the end of this module, you will be able to:
• Understand the need to providing an additional user interface.
• Understand the positioning of the additional user interface.
• Understand how you can use the „Design Time Tool“ to create the
additional user Interface.
• Understand how to use the additional user interface from different
roles.
• Understand how to use the Service layer and how does this help
• Understand how to configure the additional user interface in the
„Design Time Tool“
• Understand consumption of the additional user interface from
ESS(Employee Self Services) and MSS(Manager Self Services).
• Service Layer details
Objectives
© 2012 SAP AG. All rights reserved. 3 RKT
Why Additional User Interface?
• “HCM Processes and Forms” is a
framework which can be used by
customers to create customer
business specific processes.
• The user Interface used by “HCM
Processes and Forms” is Interactive
Adobe by SAP.
• Due to market demands we are now
providing additional user interface
for “HCM Processes and Forms”
framework.
• The additional user interface is
based on web dynpro ABAP
technology .
© 2012 SAP AG. All rights reserved. 4 RKT
Positioning of the new Additional User Interface
New alternative is based on Web Dynpro ABAP technology
New Forms Design Tool
New Presentation Layer
Existing investments in SAP Interactive Forms by Adobe are safe
Project goal is to introduce an additional UI not a replacement. This is a side-by
–side approach .Customers can choose the technology according to their
needs.
Most configuration, other than form layout, is meant to be reusable with Web
Dynpro UI version if you want to switch
© 2012 SAP AG. All rights reserved. 5 RKT
Adobe UI vs. SAP Web Dynpro ABAP UI
SAP Web Dynpro ABAP
Potential Advantages
Lower Total Cost of Infrastructure (TCI)
Leverage existing ABAP skills
Better translation support (i.e., 1 form for
multiple languages)
Improved UI element capabilities like more
robust help values (F4), table object
Supported by traditional SAP mechanisms
(e.g., notes, support packages)
SAP Interactive Forms by Adobe
Potential Advantages
Printing – No additional effort/WSIWYG
Strong forms workbench
Looks like the paper solution you are
already familiar with (i.e., no training)
© 2012 SAP AG. All rights reserved. 6 RKT
The Design Time now Supports the Additional User
Interface
Web Dynpro ABAP Forms
Forms, Lists
At runtime these will
automatically be taken into
considerations by
application
1
1
© 2012 SAP AG. All rights reserved. 7 RKT
Features of the Additional User Interface(1)
We now have an alternative to
Adobe LiveCycle Designer .
The alternative will be based on
web dynpro ABAP 1
1
2
2
© 2012 SAP AG. All rights reserved. 8 RKT
Features of the Additional User Interface(2)
Messages are linked to the
fields that invoked the
error.
The information about the
field that is responsible for
the error should be
provided by the backend
Adobe forms do not have
this feature
1
1
© 2012 SAP AG. All rights reserved. 9 RKT
Features of the Additional User Interface(3)
Drop downs and OVS both
are possible
Customer defined F4‟s are
also possible
1
1
© 2012 SAP AG. All rights reserved. 10 RKT
Features of the Additional User Interface(4)
It is possible to use the translated
data elements in a form.For
example if you use fields on the
form which have translated data
elements then the form will
automatically get translated .
1
1
© 2012 SAP AG. All rights reserved. 11 RKT
Features of the Additional User Interface(5)
The form can use the
properties of fields defined
in the design Time Tool for
example if a field is defined
as „read only‟ , „output field‟
then the form inherits these
properties
1
1
© 2012 SAP AG. All rights reserved. 12 RKT
Launch From ESS Role
Webdynpro ABAP form is
listed in the ESS services
and can be launched and
executed.
1
1
© 2012 SAP AG. All rights reserved. 13 RKT
Launch From MSS Role
The web dynpro
ABAP form can
be launched
from
MSS.(starting
with MSS
ADDON 1.0)
1
1
© 2012 SAP AG. All rights reserved. 14 RKT
Service Layer : What it is and how Does This Help?
“HCM Processes and Forms” also opens up its framework via “service layer”.
The “service layer” can be used if customer wants to consume “HCM Processes
and Forms” backend but a non SAP technology for the user interface.
You can use all the functions including “check data” , “save”, “save draft”,
“forward to expert” etc. on the form
You can also use attachments , link lists and history features.
You can also launch workitems with the help of service layer.
© 2012 SAP AG. All rights reserved. 15 RKT
Configure the Design Time for Additional User Interface
Configure the Web Dynpro ABAP Based Process(1)
1
Form Type
New option in create form
scenario where customer can
select the type of form.
Type Of Forms
Adobe Form – Existing option
to create form based upon
Adobe Interactive Forms
FPM Form – New option to
create form based upon FPM
Web Dynpro ABAP
1
2
2
© 2012 SAP AG. All rights reserved. 16 RKT
Configure the Design Time for Additional User Interface
Configure the Web Dynpro ABAP Based Process(2)
1
Form Type
Customer can change the form scenario Form type from ” Change Form Scenario”
screen. Change of form type is only allowed if the form scenario is not used in any
process.
1
© 2012 SAP AG. All rights reserved. 17 RKT
Configure the Design Time for Additional User Interface
Configure the Form for the Process(1)
1
Form
New tool for creating web dynpro ABAP forms. Here customer can create different
types of configurations which is explained in later slides.
1
© 2012 SAP AG. All rights reserved. 18 RKT
Configure the Design Time for additional user interface
Configure the Form for the Process(2)
Configuration Type
Customer can choose from
following configuration type to
design the layout.
Form – This configuration is use
to create form like layout
List – List configuration is use to
create table like layout
List Complex – Visually it appears
like list but this is used to design
table in case of repeat field and
Time Constraint 3 scenarios.
Composite – Composite
configuration is collection of
configuration. Customer can
include up to three configuration
of any type.
1
2
3 1
Buttons to manage configurations
These buttons are use to create, change or display
configurations. On click of the button user will
navigate to FPM configuration editor.
Reorder configurations
Customer can use this button to reorder the
configurations as while rendering the ui configuration
will appear in same order
2
3
© 2012 SAP AG. All rights reserved. 19 RKT
Configure the Design Time for Additional User Interface
Configure the Form for the Process(3)
1
Field Attribute
Customer can set the field
attribute for the fields of form
scenario. These attributes
will be taken care
automatically while designing
the form layout.
1
© 2012 SAP AG. All rights reserved. 20 RKT
Configure the Design Time for Additional User Interface
Configure the Form for the Process(4)
1
Create Configuration
This button can be use to create configuration. In first column user has to choose the
type of configuration which she would like to create. User can select the
configuration which she would like to create. On click of the button FPM
configuration will be launched to design the layout.
1
© 2012 SAP AG. All rights reserved. 21 RKT
Configure the Design Time for Additional User Interface
Configure the Form for the Process(5)
Fields Repositories
All fields including some additional
fields from form scenario is
available automatically for design
Form Design
This area can be use to design the
layout. Customer can drag and
drop the fields. UI attribute set
while configuring form scenario is
taken automatically.
Attribute of field
Attribute of fields like display type,
position, label, tooltip etc can be
maintained
General Settings
Here layout type and other settings
can be done
1
1
2
3
4
2
3
4
© 2012 SAP AG. All rights reserved. 22 RKT
Configure the Design Time for Additional User Interface
Configure the Form for the Process(6)
Fields Repositories
All fields including some additional
fields from form scenario is
available automatically for design
List/Table Design
This area can be use to design the
layout. Customer can choose the
fields from repositories and add
these as column.
1 1
2 2
© 2012 SAP AG. All rights reserved. 23 RKT
Configure the Design Time for Additional User Interface
Configure the Form for the Process(7)
Actions
Some actions like Add Row,
Delete Row, Check and Initialize is
available as standard actions for
list type
1 1
© 2012 SAP AG. All rights reserved. 24 RKT
Configure the Design Time for Additional User Interface
Configure the Form for the Process(7)
1
Web Dynpro ABAP Value Help
Customer can create their own value help when required. This
web dynpro component has to implement IWD_VALUE_HELP and
IF_FPM_GUIBB_VH
1
© 2012 SAP AG. All rights reserved. 25 RKT
Copy a Form Scenario or a Process
1
Form Type selection in “Copy
Form Scenario” screen
New option is provided to
select form type while copying
form scenario. Customer can
change the form type in this
screen.
1
2
Form Type selection in “Copy
Process with Dependent
Objects” screen
Customer can select new
form type for copied form
scenario.
2
© 2012 SAP AG. All rights reserved. 26 RKT
POWL Inbox Customizing for MSS Role to Launch New
HCM P&F Application for Workitem(1)
1 Defining an action for the inbox:
Maintain view IBO_V_WF_ACC to
create a new action as shown
below:
Application:
MANAGER_MSS_INBOX/MANAG
ER_MSS_INBOX_2
Action: EXECUTETASK
Action Type:
OBJECTNAVIGATIONLAUNCHER
1
2
Associating an action with an OBN target (Action properties):
For the workitem to be launched from the POWL inbox via OBN, action properties must
be maintained in the system. Maintain the action properties in the view
IBO_V_WF_APS.
The following properties must be maintained for the action EXECUTETASK:
Property Name Property Value
OBJECTNAME MSS_WL
OBJECTVALUE WI_ID=${ITEM.EXTERNALID}
OPERATION NAVIGATE_FORM_WD
2
© 2012 SAP AG. All rights reserved. 27 RKT
POWL Inbox Customizing for MSS Role to Launch New
HCM P&F Application for Workitem(2)
1
Associating workflow task
types with actions
Maintain view
IBO_V_WF_TTAC to assign
actions for task types:
For each workflow task
maintain the action to be
executed for the application.
1
2 PFCG changes to the role
In PFCG edit the role menu and add a new application node as shown below
Node Type : WD ABAP Application
Application Name : ASR_PROCESS_EXECUTE_OVP
Application configuration : ASR_PROCESS_EXECUTE_OVP_CFG.
Visibility : Invisible
2
2
© 2012 SAP AG. All rights reserved. 28 RKT
POWL Inbox Customizing for MSS Role to Launch New
HCM P&F Application for Workitem(3)
1
This new node must
implement the method
NAVIGATE_FORM_WD of
the business object
MSS_WL .
Pass the following OBN
parameters:
WI_ID :{WI_ID}
Portal_bo_alias :
SAP_ERP_HumanResour
ces
2
1
© 2012 SAP AG. All rights reserved. 29 RKT
Open Launchpad Customizing using the transaction LPD_CUST.
To add the process to the employee context menu in the MSS, select the following launchpad and click
Change:
Role – MSS
Instance – EMPLOYEE_MENU
Description – Employee Navigation Menu
Create a new application by entering the following details:
Application Type – Web Dynpro ABAP
Name Space – sap
Application – ASR_PROCESS_EXECUTE_OVP
System Alias – SAP_ECC_HumanResources
Click Show Advanced Parameters and enter the following details:
In Target App. Parameters, in addition to the parameters that are already there, enter the parameters as
shown below:
To pass the process enter the following parameters:
PERNR_MEM_ID
&SUBST_CLASSIFICATION=NO_CLASS&PROCESS=<Process_Name>&INITIATOR_ROLE=HRASRB
To pass the process group enter the following parameters:
PERNR_MEM_ID
&SUBST_CLASSIFICATION=NO_CLASS&PROCESS_GROUP=<Proc_Group>&INITIATOR_ROLE=HR
ASRB
Configuration – ASR_PROCESS_EXECUTE_OVP_CFG
Save the configuration.
Assignment of a Process to the Manager Self Service Role
© 2012 SAP AG. All rights reserved. 30 RKT
Assignment of Process to the ESS Scenario
Run transaction PFCG.
Select the single role for employee SAP_EMPLOYEE_XX_ESS_WDA_3 and edit it.
On the Menu tab, under the appropriate node insert the new HCM Process as a Web
Dynpro application.
Enter the following details for the application:
Web Dynpro Application – ASR_PROCESS_EXECUTE_OVP
Description – <Process_Description>
Application Configuration – ASR_PROCESS_EXECUTE_OVP_CFG
In the Parameters table, enter the following in Name and Value:
PROCESS – <Process_Name>
INITIATOR_ROLE – HRASRD
Save the role menu.
Assignment of a Process to the Employee Self Service
Role
© 2012 SAP AG. All rights reserved. 31 RKT
Service Layer Details(1)
RFC Name: HRASR_PROCESS_EXECUTE
Functionality
This function module can be used to execute the HR processes created with the HCM
Processes and Forms (HCM P&F) Design Time Tool (DTT). Processes can be started
programmatically without the aid of the Webdynpro ABAP (WD ABAP) based start
applications. This function module can be invoked from custom applications.
The importing parameter IV_EVENT is very important and must always be passed.
The function module reacts based on the event passed and invokes the
corresponding HCM P&F backend operations to operate on the form data. The
different values for the parameter IV_EVENT are as follows:
INITIALIZE - Initialize form data. The field values returned from the infotype framework
will be passed back.
CHECK - Check form data.
SAVE_DRAFT - Save the form as a draft for processing later. The form data is
submitted to the backend.
SEND - Submit the form data to the HCM P&F backend.
APPROVE - Approve a workitem. The workitem is submitted to the backend for further
processing based on the workflow.
REJECT - Reject a workitem. The workitem is submitted to the backend.
CONTINUE - Submit the form inspite of errors.
© 2012 SAP AG. All rights reserved. 32 RKT
Service Layer Details(2)
FORWARD_TO_EXPERT - Forward the form to an expert for further processing in
case of form errors.
DELETE_DRAFT - Delete a draft workitem
BACK_TO_USER - Send the workitem back to the user.
BACK_TO_AUTHOR - Send the workitem back to the initiator
WITHDRAW - Withdraw a process
ADD_ATTACHMENT - Add an attachment.
DELETE_ATTACHMENT - Delete an attachment which as already been attached.
GET_ATTACHMENT - Get the list of attachments for a particular workitem.
GET_LINK_LISTS - Get the list of link lists.
GET_HISTORY - Get the previous processors of the process's workitems
The typical sequence of events that must be passed to the function module during the
execution of a process is as follows:
1. INITIALIZE
2. CHECK
3. User events
4. SEND
© 2012 SAP AG. All rights reserved. 33 RKT
You should now be able to
Understand why an additional user interface is required.
The positioning of the web dynpro ABAP based forms and the
Adobe forms.
Features possible on the webdynpro ABAP forms.
How to configure a web dynpro ABAP based form.
How to use the „Design Time Tool“ to configure the form.
How to Launch the Form form Employee and Manager role.
Summary
© 2012 SAP AG. All rights reserved. 34 RKT
© 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.