Show TOC

 Removing Existing Check Methods

It is slightly more difficult to remove check methods from country-specific infotype versions than it is to insert them. In creating the country-specific version, one could falsely assume that it is correct to copy the properties of the international version of the Personal Data infotype (0002) into the country-specific name range, then remove the check method(s) that the country version does not require. 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.

Suppose that a country-specific infotype version requires all of the check methods that are found in the international version, except one: the method CHECK_POSITION . In this situation, the best approach is not to re-define the (superordinate) method SPECIFIC_COMPUTATIONS , but rather the (subordinate) method call itself: CHECK_POSITION . To this end, define CHECK_POSITION as IS_OK = TRUE , because if you do not wish to check the position, then you can just as easily write your source code, via this definition, to disregard it.