!--a11y-->
1.1.4 Processing Form Scenario for Infotypes
(Service SAP_PA) 
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.
Example of an InfoObject
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.
...
...
1. Select the ZTFS form scenario.
2. Choose Transfer.
3. Select version 0.
4. In the dialog structure choose Operations and then New Entries.
5. Enter 0006 (Addresses) as the infotype.
6. Enter 1 as the subtype for Permanent Residence.
7. Enter Change as the operation.
8. Save your entries.
...
1. In the dialog structure choose Assignment of Fields.
2. Choose New Entries.
3. Use the input values from the tables below.

The following tables schematically represent the input values and do not represent the complete Customizing table columns.
Input Values for Assigning Specific Form Fields for Changing Data
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 |
Input Values for Assigning Display Form Fields
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 that you do not need to assign fields to a back-end service for the mandatory fields of a form scenario.
4. 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.
