Viewing entries tagged
infotype

SAP HCM Tip: Dynamic Actions for Infotype 41

Comment

SAP HCM Tip: Dynamic Actions for Infotype 41

Creating dynamic actions to update infotype 41 is a challenge due to the fact that any given date type can exist in any one of the twelve available positions on the infotype. For example, one personnel number might have date type ‘XY’ in position two while another personnel number has the same date type in position four. There is also the possibility of one personnel number already having the desired date type while another is missing it. Because of this very real possibility of variation, a dynamic action to update infotype 41 cannot be configured using commands regarding explicit positions for the date types.

So now the question becomes how can a dynamic action be written to update infotype 41. The solution requires using ABAP form routines to determine the existing positions of the date types already stored on the current infotype 41 records and additional routines to either update an existing value or create a new date type entirely.  The below dynamic action (Fig 1) is configured to update infotype 41 with the help of the custom ABAP form routines. Read more.

Comment