Show TOC

 Inserting New Check Methods

The international version of the Personal Data infotype (0002) contains the method SPECIFIC_COMPUTATIONS , which in turn calls several other subordinate check methods that are smaller than SPECIFIC_COMPUTATIONS .

Suppose that a country-specific version of the Personal Data infotype (0002) requires more check methods than are offered in the international version. In creating the country-specific version, one could falsely assume that it is correct to re-define the method SPECIFIC_COMPUTATIONS to call all of the smaller subordinate check methods, along with the new check method(s) that the country version requires. Although this approach is incorrect, you could easily achieve such an action by copying the properties of the international version of the Personal Data infotype (0002) into the country-specific name range. The drawback of this approach, however, lies in the fact that any subsequent changes to the method SPECIFIC_COMPUTATIONS would not be inherited in the country-specific version of the infotype.

Therefore, to ensure that the properties of the international version are considered (and inherited) in the country-specific version, we recommend that you re-define method SPECIFIC_COMPUTATIONS in your country-specific version to call the superordinate method SUPER->SPECIFIC_COMPUTATIONS . After this call is complete, simply add the additional country-specific method(s) that you require.