Ansicht
Dokumentation

MP000000 - Module Pool: Infotype 0000 (Personnel Actions)

MP000000 - Module Pool: Infotype 0000 (Personnel Actions)

TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Description

If you want to enter a check digit procedure for HR number assignment, please proceed as follows.

  1. 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).
  2. Edit the include program MP000042 and make the following changes in the present code:
    1. Activate the lines marked with "<----- ACT."
    2. Deactivate the lines marked with "<----- DEACT."
    3. 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.
    4. In the present code, replace all occurrences of the number range object RP_PREL with the object you redefined.
    5. 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 )