Dynamic Actions
Dynamic Actions
Here, Figure 1 shows the Marital status being updated as “Married” using transaction
code PA30 (Maintain HR master data).
On saving the record, the Create Family Member/Dependents screen is automatically displayed,
as you can see in Figure 2. The subtype proposed is ‘Spouse’.
Personnel Management – Personnel Administration – Customizing Procedures – Dynamic
Actions
To see the configuration of the dynamic action explained in the previous section, click on the
‘Position
Now, one question that may arise here is, which infotype should one enter in the above
screenshot? The answer is this – we need to search for the infotype that triggers the action, not
the infotype being triggered by the action. So, in our example, we should search for Infotype
0002 (Personal data).
These columns respectively contain the Infotype, subtype and field that trigger the
Dynamic action.
The column ‘Infotype’ is mandatory, as a dynamic action is triggered only on saving an
infotype.
The column ‘Subtype’ is optional and must be filled only if the Dynamic action should be
triggered on saving a particular subtype of the infotype.
The column ‘Field’ is also optional, and should be filled only if the Dynamic action
should be triggered on saving a particular field of the infotype.
Now, in our example, the Dynamic action is triggered on saving the ‘Marital status’ field
in the infotype. Hence let us further refine our search based on this field. Before doing
this, we should find out the technical name of the field. To do this, execute transaction
code SE11 and enter PA0002 as the Database table. PA0002 is the table that
corresponds to infotype 0002 (Personal data).
Search the Short description column for the Marital status field, we have highlighted it in the
screenshot. You can see the field name is FAMST.
that is, Infotype 0002 (Personal data) and Field name FAMST (Marital status),
Function Character – This column is highlighted in Figure 13. This indicates the infotype
processing type for which the dynamic action should be triggered.
Of all the above values, just the values ‘P’, ‘I’ and ‘W’ are relevant to our example and these will
be explained in detail.