HCM Process and Forms - Tutorial Part 2

By Philip Johnston

Create: Form Scenario: ZFS6, Process: ZPR6, Form: Z_ISR_FORM_ZFS6, Backend Service: SAP_PA

Example: Read I.T. 0001 and Change I.T. 0006, S.T. 4

Use a customizing client. 

Part 1:

This is a very basic HCM Process and Forms scenario which uses the PA model and reads one additional InfoType 0001 field for displaying on the form.

Part 2:

Address Type 0006, Subtype 4 is included into the form for allowing employees to change address details.

Note: Part 1 was covered in Document:  Process and Forms Scenario – Tutorial Part 1”.  Complete the steps from Part 1 and proceed with the following steps.

Let’s make the Form Process more functional by allowing the change of address.  We will use Subtype 4 from InfoType 0006 for this example.  

Now click on Fields (within our Scenario) and add the following fields:

Add the following Fields:

Field Name:      LAND1

Name:               Country

Data Binding:    LAND1

Field Name:      STRAS

Name:               Address Line 1

Data Binding:    PAD_STRAS

Field Name:      LOCAT

Name:               Address Line 2

Data Binding:    PAD_LOCAT

Field Name:      NAME2

Name:               Contact Name

Data Binding:    PAD_CONAM

Field Name:      ORT01

Name:               City

Data Binding:    PAD_ORT01

Field Name:      STATE

Name:               State

Data Binding:    REGIO

Field Name:      PSTLZ

Name:               Zip

Data Binding:    PSTLZ_HR

Field Name:      ORT02

Name:               County

Data Binding:    PAD_ORT02

Result of adding all fields:

We now need to add these fields to our Back-End Service SAP_PA.  Double Click on Back-End Services -> SAP_PA -> Fields:

 

Add the following Field information and hit enter:  

Field Name:      LAND1

Name:               Country

InfoType:          0006

Subtype:           4

ScreenStruct:    HCMT_BSP_PA_US_R0006

Field Name:      LAND1

Field Name:      STRAS

Name:               Address Line 1

InfoType:          0006

Subtype:           4

ScreenStruct:    HCMT_BSP_PA_US_R0006

Field Name:      STRAS

Field Name:      LOCAT

Name:               Address Line 2

InfoType:          0006

Subtype:           4

ScreenStruct:    HCMT_BSP_PA_US_R0006

Field Name:      LOCAT

Field Name:      NAME2

Name:               Contact Name

InfoType:          0006

Subtype:           4

ScreenStruct:    HCMT_BSP_PA_US_R0006

Field Name:      NAME2

 

Field Name:      ORT01

Name:               City

InfoType:          0006

Subtype:           4

ScreenStruct:    HCMT_BSP_PA_US_R0006

Field Name:      ORT01

Field Name:      STATE

Name:               State

InfoType:          0006

Subtype:           4

ScreenStruct:    HCMT_BSP_PA_US_R0006

Field Name:      STATE

Field Name:      PSTLZ

Name:               Zip

InfoType:          0006

Subtype:           4

ScreenStruct:    HCMT_BSP_PA_US_R0006

Field Name:      PSTLZ

Field Name:      ORT02

Name:               County

InfoType:          0006

Subtype:           4

ScreenStruct:    HCMT_BSP_PA_US_R0006

Field Name:      ORT02

Result of all Fields added:

 

We want to default in the employee’s current address (subtype 4) if they have one on record.  To do this, double click the column “Default” on each of the field’s row and select “CUR”.  Result:

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image