PA-Dynamic Actions in SAP HR
PA-Dynamic Actions in SAP HR
PA-Dynamic Actions in SAP HR
Overview
Dynamic actions are really useful in SAP and allow you to automate certain activities between different infotypes.
For example, when one infotype is created, another unrelated infotype can be automatically created at the same
time and values can be pre-populated from another infotype.
An example of this is that when a maternity absence is created in infotype 2001 the SMP master record in infotype
0088 can also be created without the user having to manually create the infotype 0088 record separately.
Access to the set-up of Dynamic actions is via the IMG in a number of different application areas search for the
text Dynamic Actions. In addition you can modify the table T588Z using the transaction code SM30 for table
maintenance.
Each separate process of the dynamic action is held on a separate line number and has an operation specified for
that line e.g. check conditions, maintain an infotype, set the value of field(s) within an infotype etc.
to only put the /D in at the very end once you have thoroughly tested your dynamic action and are happy that it
works 100%.
Remember that if you find that your dynamic action is not meeting your requirements, you can always get your
dynamic action to call a user programme which will be far more flexible than the functionality offered by standard
dynamic actions.
If you are writing away values for infotype 0000 Actions then you need to use P0000-xxxx. This is unlikely to
happen often as infotype 0000 is always saved first and will in most cases be used to set off other dynamic actions.
If you are wanting to check a certain action type or action reason, then use the field PSPAR-MASSN (action type)
and PSPAR-MASSG (action reason).