comparision of subtypes of the infotypes
We have a requirement which says,
If the last updated date of PA0008-SUBTY (11) is greater than PA0008-SUBTY (0) and the u2018valid reason for change of recordu2019 is one of the following, then
a) Copy the wage types from PA0008-SUBTY (11) to PA0008-SUBTY (0)
b) Read Infotype PA0000 for the period selected and check for the new records. If new records exist, then process further.
A list of reasons that currently exists is available. The program reads data from the Subtype of Infotype 0008 that has the latest record.
Any pointers or sample code in this regard will be of great help.
Thanks & Regards,