Fonction SAP C142_WASTECOCAT - EHS: Check Waste Catalog in Phrase Set

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_IDENT ESTRI-IDENT C 132 Identifier to be checked

Paramètre Reférence Type Long. Description
E_IDENT ESTRI-IDENT C 132 Correct identifier
E_IDENTNM ESTRI-IDENTNM C 132 Standardized identifier
E_MESG C C 0 Error message text
E_STATUS I I 4 0=OK, 1=Warning, -1=Error

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
X_ADD_PARAMS 0 X Additional parameters


The function is used to check the entry of thewaste catalog when youenter a specification ofthe waste code category. The waste catalog is specified as anidentifier of the category NAM and type WASTECOCAT. The waste catalogspecified must correspond to the phrase code of aphrase from thephrase set in which thewaste catalogs are stored. If this is not the case, an error message istriggered. The relevant phrase set is determined from the environmentparameter WAM_PHRSET_WACATLG. The phrase set should be the same as theone that is also used for the characteristic Waste catalog inthe specification, which is created for the waste.
If the entry is correct, the identifier for the waste catalog is resetto E_IDENT (standardized to E_IDENTNM). Standardization removes specialcharacters and converts characters to upper case.
The export parameters E_STATUS and E_MESG return a status (0=OK,1=Warning, -1=Error) and give a corresponding warning or error string.