Programme SAP RC1XPRVPNUMDEC - EHS: Filling Fields ESTVP_COMPAVGDEC, -LOWDEC, -UPPDEC (2.5->2.7)

Title
Conversion Program (XPRA) to Fill the Fields ESTVP-COMPAVGDEC,ESTVP-COMPLOWDEC, and ESTVP-COMPUPPDEC When Upgrading from SAP EH&SRelease 2.5 to SAP EH&S 2.7

Purpose
INCLUDE EHS_SAF_27A_DEZ OBJECT DOKU ID TX
This means the system can distinguish between the entry '0' and noentry ' ', which is normally not possible for numeric fields in the SAPSystem, as the initial value is 0.
In order to save the number of decimal places entered as information, afield was inserted in the component table (ESTVP) for each of the threefields for concentration values.
As the system previously always filled four decimal places, the value4 is passed unless the concentration value is missing (value-1). The fields in the table ESTVP are then filled as follows:

  • COMPAVGDEC: '-1' if COMPAVG is initial (blank)

  • COMPLOWDEC: '-1' if COMPLOW and COMPUPP are initial

  • COMPUPPDEC: '-1' if COMPUPP is initial

  • Execute the conversion program RC1XPRVPNUMDEC as one of the last stepswhen you upgrade from SAP EH&S Release 2.5 to SAP EH&S 2.7 if you wantall entries to be converted from '0.0000' to ' '.

565054Upgrading EH&S 2.2B to higher versions of EH&S