Ansicht
Dokumentation
MP000000 - Module Pool: Infotype 0000 (Personnel Actions)
TXBHW - Original Tax Base Amount in Local Currency BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
Description
If you want to enter a check digit procedure for HR number assignment, please proceed as follows.
- Create a new number range object with the transaction SNRO. Take the number range object RP_PREL as a reference. The number length must amount to the number of digits of a personnel number without check digit(s).
- Edit the include program MP000042 and make the following changes in the present code:
- Activate the lines marked with "<----- ACT."
- Deactivate the lines marked with "<----- DEACT."
- In the field NUMBER_LN, determine the number of digits of a personnel number without check digit(s). The length of the field PZ equals the number of the check digits. NUMBER_LN now generally has the value 7, that is, only the last digit of the personnel number is a check digit; PZ has the length 1.
- In the present code, replace all occurrences of the number range object RP_PREL with the object you redefined.
- In this member, program a routine GET_PZ in which the check digit is determined. In the routine CHECK_PZ, the check digit PZ is added in case of an internal number assignment in PSPAR-PERNR; in case of an external number assignment, the personnel number entered by the user is checked against PZ.
PERFORM Short Reference BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 1415 Date: 20240531 Time: 233241 sap01-206 ( 30 ms )