Programme SAP REHSH_X_CONVERT_PERSON_ID - EHS: Convert PERSON_ID Field in T7EHS00_MAPPERNR

Purpose
From the releases listed below, any values of the field PERSON_ID (
Person Identification) in the table T7EHS00_MAPPERNR (
Conversion Table: BP Number/HR PersNo. to Internal Number) thatare purely numerical are filled with leading zeros, and are displayedthis way too in the Occupational Health (EHS-HEA) component.
With this report program you can convert any existing legacy data thathas a different format to the new format, independent of the client.
You must run this report program for the following releases:

  • If you install a Support Package with which the report program was
  • shipped in Release 2.7B of the component Environment, Health andSafety (EHS).
    • If you install a Support Package with which the report program was
    • shipped in SAP R/3 Enterprise PLM Extension 1.10 for thecomponent Environment, Health and Safety (EHS).
      • If you upgrade to Environment, Health and Safety (EHS) in SAP
      • R/3 Enterprise PLM Extension 2.00.

        Features
        The conversion is client-independent, meaning it is run for allclients of the system on which the report program is executed.
        During conversion, the system checks whether the value of the fieldPERSON_ID is a numeric value that consists only of numbers, possiblypreceded and/or followed by blanks. If it is, the number series isconverted to be right-aligned and filled to the left with zeros ("0").Otherwise, the character string remains unchanged.
        The report program can be executed more than once, for example, iferrors have occurred.

        Activities
        If you change to one of the releases listed above, you must convert yourlegacy data to the new format using this report program beforecalling the transactions in Occupational Health for the firsttime.

        Example
        "72" becomes "0000000072".

636848Conversion of field PERSON_ID into T7EHS00_MAPPERNR