Start of Content Area

Procedure documentation Creating Pushbuttons Locate the document in its SAP Library structure

Use

In an interactive form, you can create pushbuttons with which the user can trigger actions at the process runtime.

The following actions are supported:

     Initialization of the entire form

     Triggering of a roundtrip to check the data entered and to calculate dependent fields

For more information, see Creation and Editing of an Interactive Form.

Creating a pushbutton to initialize the form

...

You access the Adobe LiveCycle Designer (Form Builder) through the Customizing for HR Administrative Services:

     Choose Configuration of Forms/Processes ® Configuration of Forms ® Create ISR Scenario.

     Choose Version in the dialog structure.

The Change Versionview appears.

     Choose Generate to create the form or Change Adobe Form to edit an existing form.

Proceed as follows:

       1.      Select the ISR On-form Event Button element from the (ISR) Library and move it to the form using drag and drop.

       2.      Select the pushbutton and change the size and description to suit your requirements.

       3.      Choose Pallets ® Script Editor.

       4.      In the next dialog screen, select the *mouseDown entry in the Display dropdown box.

       5.      Find the following coding:

  $record.CONTROL_PARAM.ISR_EVENT = "CUSTOM_EVENT"

       6.      Replace the CUSTOM_EVENT string with USER_EVENT_INITIALIZE.

Result: You have created a pushbutton to initialize the entire form.

Creating a pushbutton to trigger a roundtrip

If you want to create a pushbutton to check the entered data and calculate derived data, proceed as follows:

...

       1.      Perform steps 1 to 5 as described in the “ Creating a pushbutton to initialize the form” section.

       2.      Replace the CUSTOM_EVENT string with USER_EVENT_CHECK.

Result: You have created a pushbutton to check the entered data and calculate derived data.

 

End of Content Area