Ansicht
Dokumentation

HRAS_PARTIALINIT - Create Operations for Groups of Form Fields

HRAS_PARTIALINIT - Create Operations for Groups of Form Fields

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this IMG activity, you create operations for subsets of form fields.

You can define several areas for a form; each area corresponds to a field group with several fields. For each area you can provide a pushbutton that triggers an operation. The operation checks, for example, the field contents of the area and simultaneously initializes the fields of the subsequent area.

During the initialization, based on the field contents of the previous area(s), the system provides information for the subsequent area, such as default values and input help.

In Adobe LiveCycle-Designer, you have created a pushbutton for the form and, in the script editor of Adobe LiveCycle-Designer, you have defined a name for the event that is to trigger this pushbutton. For more information, see SAP Library under HR Administrative Services -> HCM Processes and Forms -> ISR Scenario -> Configuration of ISR Scenario -> Creation and Processing of an Interactive Form -> Create Pushbuttons.

  1. Create field groups.
  2. Assign form fields to the field groups.
Note
If you do not specify fields for a field group, the system uses all fields of the form scenario step that the user is currently in.
  1. Create operations.
Note
The name of the operation must correspond to the name of the event that you have specified for the pushbutton in Adobe LiveCycle-Designer.
  1. Assign the field groups to the operations.
Also define whether the operation is to check or initialize the field group and whether, in the case of an error, relevant error messages are to be displayed or not.

You want to create a form with three areas. Each area should cover several fields. The first two areas should each contain a Derive Default Values pushbutton; the third area a Check pushbutton.

In Adobe LiveCycle-Designer, first create the relevant pushbuttons for the form. Name the events triggered by the pushbuttons USER_EVENT_OP1, USER_EVENT_OP2, and USER_EVENT_OP3.

Then, in this IMG activity, create the field groups FG1, FG2, and FG3. Assign the following fields to the field groups:

Field Group Fields
FG1 FF1A, FF1B, FF1C, FF1D
FG2 FF2A, FF2B, FF2C
FG3 FF3A, FF3B, FF3C, FF3D, FF3E

Create the operations USER_EVENT_OP1 and USER_EVENT_OP2 and assign the field groups as follows:

Operation Sequence Number Field Group Processing Type Ignore Errors
USER_EVENT_OP1 1 FG1 Check X
USER_EVENT_OP1 2 FG2 Initialize X
USER_EVENT_OP2 1 FG1 Check
USER_EVENT_OP2 2 FG2 Check
USER_EVENT_OP2 3 FG3 Initialize

In this case, the user first fills out the first area of the form and chooses the Derive Default Values pushbutton that triggers the operation USER_EVENT_OP1. The operation checks the field contents in FG1 and provides default values and input help for the second area of the form, that is, for the fields of field group FG2.

The user now fills out the second area of the form and again chooses the Derive Default Values pushbutton. In this case, the pushbutton triggers the operation USER_EVENT_O2. The operation checks the field contents in FG1 and FG2 and provides default values and input help for the third area of the form, that is, for the fields of field group FG3.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5214 Date: 20240523 Time: 213917     sap01-206 ( 76 ms )