In this sublesson you configure the SAP_PA back-end service for form scenario ZTFS.
You make the following settings:
You define the operation that runs when the form data is sent to the back-end system.
You define the assignment of form scenario fields to infotype fields of the SAP_PA back-end service.
You use operations to define how the form data is processed in the back-end system.
Operations are not defined directly on infotypes. Back-end services are based on what are known as InfoObjects
.
An InfoObject is an infotype that can be restricted by a subtype and object identification.
InfoObject |
Description |
||
---|---|---|---|
Infotype |
Subtype |
Object ID |
|
0006 |
1 |
<BLANK> |
Permanent residence |
You always enter an operation if you want to modify the InfoObject on the database. The SAP_PA back-end service enables data records of Personnel Administration infotypes to be created, changed, and deleted.
If you want to run the
Create, Change, Delete
, or
Change Without Delimiting
operations on the InfoObjects, you must provide the data for the new data records to be created. You do this by assigning form fields to InfoObjects. Access to the InfoObjects is enabled by screen structures. At least one screen structure exists for each infotype.
If the infotype is country-specific, more than one screen structure exists.
You cannot make assignments to more than one screen structure.
Each screen structure contains all infotype fields that are relevant for the user interface. These can be input fields or output fields (for example, for related texts or calculated fields).
Perform the
Edit Form Scenario for Personnel Administration Infotypes (Service SAP_PA)
IMG activity.
Select the ZTFS form scenario.
Choose
Transfer
.
Select version
0
.
In the dialog structure choose
Operations
and then
New Entries
.
Enter
0006
(
Addresses
) as the infotype.
Enter
1
as the subtype for
Permanent Residence
.
Enter
Change
as the operation.
Save your entries.
In the dialog structure choose
Assignment of Fields
.
Choose
New Entries
.
Use the input values from the tables below.
Note
The following tables schematically represent the input values and do not represent the complete Customizing table columns.
Field Name |
Number |
Infotype |
Subtype |
Screen Structure |
Field Name |
Data Index |
---|---|---|---|---|---|---|
STREET |
1 |
0006 |
1 |
HCMT_BSP_PA_DE_R0006 |
STRAS |
1 |
POST_CODE |
1 |
0006 |
1 |
HCMT_BSP_PA_DE_R0006 |
PSTLZ |
1 |
CITY |
1 |
0006 |
1 |
HCMT_BSP_PA_DE_R0006 |
ORT01 |
1 |
COUNTRY |
1 |
0006 |
1 |
HCMT_BSP_PA_DE_R0006 |
LAND1 |
1 |
Field Name |
No. |
Type of Default Value Determination |
Infotype |
Screen Structure |
Field Name |
Data Index |
---|---|---|---|---|---|---|
EMPLOYEE_NAME |
1 |
Value for Effective Date |
0001 |
HCMT_BSP_PA_XX_R0001 |
ENAME |
1 |
PERSA_TEXT |
1 |
Value for Effective Date |
0001 |
HCMT_BSP_PA_XX_R0001 |
NAME1 |
1 |
POSITION |
1 |
Value for Effective Date |
0001 |
HCMT_BSP_PA_XX_R0001 |
PLSTX |
1 |
Note
Note that you do not need to assign fields to a back-end service for the mandatory fields of a form scenario.
Save your entries and exit processing.
You have defined the operation that runs when the form data is sent to the back-end system.
You have assigned infotype fields to the form fields.