The
Relocation
process (ZTPR) is now enhanced with one more step. After the employee starts the process, the superior responsible is able to request a relocation benefit for his or her employee. You must enhance form scenario ZTFS with the following fields from the
Additional Payments
(0015) infotype:
Relocation benefit (wage type)
This field has a default value and is not displayed on the form.
Amount
Currency
This field has a default value and is for display only.
The superior enters an amount for the relocation benefit and forwards the form.
In this lesson you perform the following activities:
You define the required form fields for enhancing the process and configure the default values. You assign the form fields to the back-end service.
You define two additional scenario steps. Step FSS_3 (Approve/Reject Bonus) is in preparation for Unit 3).
You synchronize the changed form scenario with the ISR scenario.
Open
Design Time for Processes and Forms
. In the object selection area, choose
Form Scenario
.
Choose form scenario ZTFS and ensure you are in
Change Mode.
Double-click
Fields
in the object hierarchy area.
Choose
Service Fields
and select the fields for infotype I0015 using the following settings:
Infotype
I0015
Screenstructure Type
:
MAIN
Infotype Version
:
99 International
Screen Structure
:
HCMT_BSP_PA_XX_R0015
Operation
:
Create
Choose
Determine Fields
to update the field list in the dialog box and select the fields from Infotype I0015 in the table below.
For each field, proceed as follows:
Scroll to the appropriate
Name
or
Service Field
Select the corresponding
Transfer
column checkbox
Enter the
Field Name
using the values in the following table
The following table schematically represents the input values and does not represent the complete Customizing table columns.
Field Name |
Service Field |
Name |
Default Value |
---|---|---|---|
I0015_AMOUNT |
BETRG |
Amount |
<BLANK> |
I0015_CURRENCY |
WAERS |
Currency |
EUR |
I0015_WAGE TYPE |
LGART |
Wage Type |
M130 |
Choose
Confirm
to transfer your entries to the form scenario.
To add the default value for
Currency
, proceed as follows:
Double-click the
Currency Default Value
cell. The
Default Value Determination
dialog box appears.
Select the
Origin of Default Value
=
Manually
and enterEUR in the corresponding
Default Value
cell.
To enter the default value for
Wage Type
, repeat the previous step.
In the object hierarchy area, double-click
Scenario Steps
.
Create the following scenario steps:
Scenario step:FSS_2 Name:Insert Bonus Data
Scenario step:FSS_3 Name:Approve/Reject Bonus
Note that the scenario steps FSS_1 (Request) and FSS_4 (Department Check) are already visible. You add FSS_3 to the workflow in Unit 3.
Save your entries and form scenario.
The system reads the newly created form fields of the linked form scenario and automatically generates the form fields (Characteristics) in the ISR scenario. You must synchronize to be able to enhance the interactive form with the newly created form fields.
After you have added the new infotype fields to the form scenario, save your entries. The system automatically synchronizes the form scenario with the ISR scenario. In other words, the system generates the newly created form fields in the ISR scenario.
You have enhanced the form scenario with the required form fields for requesting a relocation benefit payment, and have created the necessary scenario steps for enhancing the process. You have synchronized the enhanced form scenario with the ISR scenario.