Creating Single Check Classes In the event that your infotype is country-specific, or in the event that only an international version of it exists, then only one check class will exist for it. In other words, if a given infotype has only one screen number in the series from 2000 to 2999, then only one check class will exist for that infotype.
If the structure of the infotype at hand is relatively simple, then the new check class for the infotype can inherit the properties of the standard check class (or “superclass”)
CL_HRPA_INFOTYPE_NNNN
.
Note
Under very limited circumstances discussed in a subsequent
background topic
, it may be appropriate for the check class to write data to the buffer. In such cases, the check class must instead inherit the properties of superclass
CL_HRPA_INFTY_NNNN
, rather than the properties of superclass
CL_HRPA_INFOTYPE_NNNN
.