It can be done through a function call (F as indicator for step; call a routine or form in a program - where you can validate, get any related infotype record, then return values in RP50D structure - if necessary, this structure can be extended with user fields). This line is followed by lines
P to check a condition (e.g., P RP50D-FLAG1="X" - FLAG1 is a check-box; here to indicate if IT 2006 is to be created)
I to insert IT 2006 with a sub type, begda & endda,
W with other values returned by the routine in RP50D structure fields -e.g., DATE1, DATE2, and other user extended fields.
The insertion can be in the foreground for a user to save the record; or in the background without user intervention.
This can be also achieved through time evaluation, where a time type is passed to QUOTA to generate abs quota - as configured in V_T559L. This is more commonly used rather than dynamic actions.