www.nicx.co.uk Page 1 of 29 ABAP Web Dynpro Forms Background You can migrate from Adobe into Web Dynpro ABAP forms. You create the Web Dynpro ABAP form and all the existing configuration can be inherited. You might need to make some changes to workflow but other than this, the other configuration remains the same. Two sample forms, Change of Working Time which can be launched from ESS and Special Payment which can be launched from MSS, are delivered. Once Web Dynpro ABAP forms have been created, they can be used from ESS and MSS. The service layer opens up the whole framework. The Generate a PDF utility enables you to create an Adobe-based template. The data is transferred from the Web Dynpro ABAP form to the Adobe-based form and the form can be generated as a PDF and printed. Additional Information: Release Information Note for HR Renewal : Refer to SAP Note 1701634. SAP Library: Roadmap Form (Application Help from SAP Library): http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/8e/d3dc53b5ef424de10000000a174cb4/co ntent.htm?current_toc=/en/b9/d3dc53b5ef424de10000000a174cb4/plain.htm&show_children=true Developing an Infotype in Personnel Administration : http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/d52552575e11d189270000e8322f96/conten t.htm Migrating an Infotype (Application Help from SAP Library): http://help.sap.com/saphelp_afs64/helpdata/en/43/a75f72bc4f1bbce10000000a1553f7/content.htm Blogg : http://scn.sap.com/community/erp/hcm/blog/2013/05/07/hr-renewal-10-hcm-pf-a-basic-fpm- form-in-fifteen-minutes Technical Requirements: FPM forms were delivered with HR renewal 1.0 FP1 in September 2012. Roadmap forms have been available since HR renewal 1.0 FP4 – RTC was July, 2013. The Dynamic processing rules were delivered with HR renewal 2.0 FP1 in July 2014. HR renewal 2.0 is based on EhP7. HR renewal 1.0 is based on EhP6. A down port of the HR renewal 2.0 functionality to EhP6 is planned for November 2014 so all customers who have implemented HR renewal 1.0 based on EhP6 can also get the great new functionality of Dynamic Processing Rules in the near future. Business Functions (go to transaction code SFW5):
29
Embed
ABAP Web Dynpro Forms - · PDF fileABAP Web Dynpro Forms ... Process name, Process Description ... SAP HELP on Roadmap Forms: o
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
www.nicx.co.uk
Page 1 of 29
ABAP Web Dynpro Forms
Background You can migrate from Adobe into Web Dynpro ABAP forms. You create the Web Dynpro ABAP form and all the existing configuration can be inherited. You might need to make some changes to workflow but other than this, the other configuration remains the same. Two sample forms, Change of Working Time which can be launched from ESS and Special Payment which can be launched from MSS, are delivered. Once Web Dynpro ABAP forms have been created, they can be used from ESS and MSS. The service layer opens up the whole framework. The Generate a PDF utility enables you to create an Adobe-based template. The data is transferred from the Web Dynpro ABAP form to the Adobe-based form and the form can be generated as a PDF and printed. Additional Information:
Release Information Note for HR Renewal: Refer to SAP Note 1701634.
SAP Library: Roadmap Form (Application Help from SAP Library): http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/8e/d3dc53b5ef424de10000000a174cb4/content.htm?current_toc=/en/b9/d3dc53b5ef424de10000000a174cb4/plain.htm&show_children=true
Developing an Infotype in Personnel Administration: http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/d52552575e11d189270000e8322f96/content.htm
Migrating an Infotype (Application Help from SAP Library): http://help.sap.com/saphelp_afs64/helpdata/en/43/a75f72bc4f1bbce10000000a1553f7/content.htm
FPM forms were delivered with HR renewal 1.0 FP1 in September 2012.
Roadmap forms have been available since HR renewal 1.0 FP4 – RTC was July, 2013.
The Dynamic processing rules were delivered with HR renewal 2.0 FP1 in July 2014.
HR renewal 2.0 is based on EhP7. HR renewal 1.0 is based on EhP6. A down port of the HR renewal 2.0 functionality to EhP6 is planned for November 2014 so all customers who have implemented HR renewal 1.0 based on EhP6 can also get the great new functionality of Dynamic Processing Rules in the near future.
Customizing settings for HR Administrative Services are entered as parameter and parameter values on table T5ASRSETTINGS.To configure these parameters and parameter IDs, in Customizing choose: Personnel Management → HR Administrative Services → Node text not found → Settings for HCM Processes and Forms Creating a Form
Transaction Code: HRASR_DT
When creating a form you have the following choices. You can use multiple types in one form as shown in the diagram above:
Form – You use this when you want to display data using a form.
List – You use this when you want to display fields of a single infotype record. E.g. Salary History (as
above)
List Complex – You use this when you want to display or perform operations on multiple records of a
single infotype.
Composite – You use this to group multiple UIBBs within a single UIBB.
Roadmap - You use this when you want to create a sequence of infotypes
Action - You use this when you want to run a Personnel Action e.g. Hiring
Procedure To Create a 'Form':
Tip: Reference the sample forms to provide you with examples.
Go to transaction code HRASR_DT
Process: HR_PA_XX_CHANGE_WORKINGTIME_1_WD
www.nicx.co.uk
Page 3 of 29
Copy the standard form: Menu Path: Process > Copy with Dependent Objects
Change: Process name, Process Description, Form Scenario 'FPM', new form scenario and click on [enter]:
Now select the form:
Select Fields: E.G. Time Status
www.nicx.co.uk
Page 4 of 29
[Save]:
Create the Form:
FPM Configuration = Form
Configuration: ZXX_XXXX & description of your choice
Click on the [Create] button.
The following screen will appear:
www.nicx.co.uk
Page 5 of 29
Click on the 'Add Group' button [+ Group]:
Enter a title e.g. 'Adrian's Change of Working Time'
Click on the attributes button at top of screen:
www.nicx.co.uk
Page 6 of 29
Click on [Element] > Add Element
Select the field 'Time Management Status':
The field appears on the form:
www.nicx.co.uk
Page 7 of 29
Click on the [Attributes] button to display more details of the field:
Adding Buttons to a Form
Click Repositories. The Repositories panel is displayed on the left.
In the Buttons section of Repositories panel, choose a button, and drag it onto the Preview panel.
Click Attributes. The Attributes panel is displayed below the Preview panel.
In the Attributes panel, set the attributes for the button, such as the position of the field on the form,
the label and display type.
Making Changes Using the Form UIBB Schema Panel
This panel outlines the structure of the form UIBB, and displays its UI elements. You can make the following
changes in the Form UIBB Schema panel:
Select a row containing an individual element of the UIBB and edit its attributes in the Attributes
panel.
www.nicx.co.uk
Page 8 of 29
Add additional, UIBB-specific elements to the UIBB by choosing buttons on the toolbar or by dragging
existing ones from the Repositories panel.
In the Attributes panel, set the attributes for the field, such as the position of the field on the form,
the label and display type.
Move individual elements within the schema by using the Up and Down buttons, or by dragging them
to a new location.
Add elements or buttons.
Select elements in the schema and edit their attributes in the Attributes panel.
Drag elements between the Repositories panel and the Schema panel.
www.nicx.co.uk
Page 9 of 29
Test the Form
Go to the 'Process' side of HRASR_DT
To make it easy to test, put 'NO_WORKFLOW' in the field below:
Menu Path: Process > Test
Select an example employee, role of the initiator and the 'Web Dynpro Screen' option:
The Form will appear as it would to the user:
www.nicx.co.uk
Page 10 of 29
Change the 'Time Management Status' and click on [Send] and check the change in PA30.
www.nicx.co.uk
Page 11 of 29
Other Types of Form
Let's have a look at the other types of forms:
List – You use this when you want to display or perform operations on repeat fields of a single
infotype record
List Complex – You use this when you want to display or perform operations on multiple records of a
single infotype.
Composite – You use this to group multiple UIBBs within a single UIBB.
Roadmap - You use this when you want to create a sequence of infotypes
Action - You use this when you want to run a Personnel Action e.g. Hiring
Below is an example form containing some of the
above:
List Forms
SAP Help: http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/62/82914917a54e7ba45bddce3732c01c/content.htm
Add the form type 'list' to your form and click on [create]:
SAP Help: http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/ed/95f88fc8dd44569c607caa16355111/content.htm?frameset=/en/40/96f51796ca40479b7fee8dfcfafdb7/frameset.htm¤t_toc=/en/b9/d3dc53b5ef424de10000000a174cb4/plain.htm&node_id=40
As above, add the form type 'composite' to your form and click on [create]
This type of form is similar to a screen in MSS. It can consist of Lists, input areas, searches and charts.
The 'Family/Related Person' screen dynamically appears
www.nicx.co.uk
Page 21 of 29
Configuration of Dynamic Actions
The screenshot below shows where rules are defined:
The screenshot below is called the "rules manager" where you can check, activate and deactivate the rules:
www.nicx.co.uk
Page 22 of 29
Printing Abap Web Dynpro Forms
Form Utilities enable users to print forms:
Prerequisites
You have made the following settings: You have activated the business Function HCM_ASR_CI_5.
You have maintained and activated the event linkage for DPF in transaction SWETYPV for processes
with the status Complete.
You have set entry GEN_PDF with the value 'X’ in the customizing activity for Settings Settings for
HCM Processes and Forms under HR Administrative Services
www.nicx.co.uk
Page 23 of 29
The system creates digital personnel files when the process status is set to Complete; it triggers an event which generates a PDF file with the data from the last step of the process.
A form template is required to generate a printable PDF format:
You can create a template in the Edit mode.
You have to define and manage the layout for the form template using the Form Builder application
(transaction SFP):
www.nicx.co.uk
Page 24 of 29
Adding a Form to the HR Administrator Launchpad
Transaction Code: LPD_CUST
Role: HRASR / Instance: PROCESSES
Note that the 'Target App. Parameters' are: PROCESS=Z_00_CHANGE_OF_WORKING_TIME&OTYPE=P
There are other ways of achieving this, for example, the form can be called through an iview.
Test the Form: Using PFCG to assign the role SAP_ASR_HRADMIN_SR_HCM_CI_4 to your user.
Log on to the HR Administrator Role using transaction code NWBC. Search for an employee. You will see the new process below:
www.nicx.co.uk
Page 25 of 29
The HR Administrator Application
Follow the instructions below to find the HR Administrator Application that is displayed above:
SAP Help: http://help.sap.com/saphelp_dimp50/helpdata/EN/5e/af4aee901a11d2a6120000e83ddb11/content.htm?frameset=/EN/60/d8bd47576311d189270000e8322f96/frameset.htm¤t_toc=/en/fa/38e0343734cf72e10000009b38f83b/plain.htm&node_id=3
Start by copying an example form:
Start with the Background:
www.nicx.co.uk
Page 27 of 29
Click on the [Next Page] button
Put in the single fields:
Click on the [Next Page] button:
Put in the windows:
Click on the [Next Page] button:
Define the line types:
www.nicx.co.uk
Page 28 of 29
Assign Wage Types and Line Types to Groups in the Window:
Try not to use individual wage types on the payslip, try using Evaluation Class 02 (e.g. **02):