SAP ABAP Class CL_EHSB_HAZARDOUS_SUBSTANCE (EHS-BAS: Hazardous Substance)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷ EHS-BD (Application Component) Basic Data and Tools
⤷ CBBA_UNIT (Package) EHS: Unit-Test Help Function
⤷ EHS-BD (Application Component) Basic Data and Tools
⤷ CBBA_UNIT (Package) EHS: Unit-Test Help Function
Properties
Class | CL_EHSB_HAZARDOUS_SUBSTANCE | |
Short Description | EHS-BAS: Hazardous Substance | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 5 | |
Package | CBBA_UNIT | EHS: Unit-Test Help Function |
Created | 20060828 | SAP |
Last change | 20100310 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ESP1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_EHSB_HAZARDOUS_SUBSTANCE has no interface implemented.
Friends
Class CL_EHSB_HAZARDOUS_SUBSTANCE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_COUNTRY | Constant | Public | Type reference (TYPE) | LAND1 | 'DE' | Country key | 20060829 | |
2 | GC_ERROR | Constant | Private | Type reference (TYPE) | C | 'E' | Response Type | 20060829 | |
3 | GC_HSMCHKS | Constant | Public | Type reference (TYPE) | I | '1' | Hazardous Substance Check Schema | 20070515 | |
4 | GC_INDUSTRY_SECTOR_C | Constant | Public | Type reference (TYPE) | BAPIMATDOA-IND_SECTOR | 'C' | Industry | 20060829 | |
5 | GC_LAGKL_NOT_OK | Constant | Public | Type reference (TYPE) | T331L-LAGKL | '3A' | Storage Class | 20060829 | |
6 | GC_LAGKL_OK | Constant | Public | Type reference (TYPE) | T331L-LAGKL | '1' | Storage Class | 20060829 | |
7 | GC_LGBER | Constant | Public | Type reference (TYPE) | LGBER | '001' | Storage Section | 20060829 | |
8 | GC_LGNUM | Constant | Public | Type reference (TYPE) | LGNUM | '001' | Warehouse Number / Warehouse Complex | 20060829 | |
9 | GC_LGPLA | Constant | Public | Type reference (TYPE) | LGPLA | '01-01-01' | Storage Bin | 20060829 | |
10 | GC_LGTYP | Constant | Public | Type reference (TYPE) | LGTYP | '001' | Storage Type | 20060829 | |
11 | GC_MATERIAL_TYPE_FERT | Constant | Public | Type reference (TYPE) | BAPIMATDOA-MATL_TYPE | 'FERT' | Material Type | 20060829 | |
12 | GC_MOVE_TYPE | Constant | Public | Type reference (TYPE) | BWART | '501' | Movement Type (IM) | 20060829 | |
13 | GC_NKDYN | Constant | Public | Type reference (TYPE) | LTAP-NKDYN | SPACE | Indicator: Dynamic Storage Bin | 20060829 | |
14 | GC_NLBER | Constant | Public | Type reference (TYPE) | LTAP-NLBER | '001' | Destination Storage Section | 20060829 | |
15 | GC_NLENR | Constant | Public | Type reference (TYPE) | LTAP-NLENR | SPACE | Destination Storage Unit Number | 20060829 | |
16 | GC_NLPLA | Constant | Public | Type reference (TYPE) | LTAP-NLPLA | SPACE | Destination Storage Bin | 20060829 | |
17 | GC_NLQNR | Constant | Public | Type reference (TYPE) | LTAP-NLQNR | '0000000000' | Quant | 20060829 | |
18 | GC_NLTYP | Constant | Public | Type reference (TYPE) | LTAP-NLTYP | '001' | Destination Storage Type | 20060829 | |
19 | GC_NPPOS | Constant | Public | Type reference (TYPE) | LTAP-NPPOS | SPACE | Position in Destination Storage Bin | 20060829 | |
20 | GC_OK | Constant | Private | Type reference (TYPE) | C | SPACE | Response Type | 20060829 | |
21 | GC_PLANT | Constant | Public | Type reference (TYPE) | WERKS_D | '0001' | Plant | 20060829 | |
22 | GC_REGION | Constant | Public | Type reference (TYPE) | REGIO | SPACE | Region (Country, State, Province, County) | 20060829 | |
23 | GC_STGE_LOC | Constant | Public | Type reference (TYPE) | LGORT_D | '0088' | Storage Location | 20060829 | |
24 | GC_STOCAT_LGK | Constant | Public | Type reference (TYPE) | HSME_STOCAT | 'LGK' | Storage Hazard Type | 20060829 | |
25 | GC_STOCAT_WGK | Constant | Public | Type reference (TYPE) | HSME_STOCAT | 'WGK' | Storage Hazard Type | 20060829 | |
26 | GC_T331_WGFKL_OK | Constant | Public | Type reference (TYPE) | T331-WGFKL | '2' | Water Pollution Class | 20060915 | |
27 | GC_TEST1 | Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'TEST1' | Hazard Rating | 20060829 | |
28 | GC_TEST2 | Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'TEST2' | Hazard Rating | 20060829 | |
29 | GC_TEST3 | Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'TEST3' | Hazard Rating | 20060829 | |
30 | GC_VAL_AREA | Constant | Public | Type reference (TYPE) | BWKEY | '0001' | Valuation Area | 20060829 | |
31 | GC_WARNING | Constant | Private | Type reference (TYPE) | C | 'W' | Response Type | 20060829 | |
32 | GC_WGK_NOT_OK | Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'WGK 3' | Water Pollution Class | 20060915 | |
33 | GC_WGK_OK | Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'WGK 2' | Water Pollution Class | 20060915 | |
34 | IC_MSG_ERROR | Constant | Private | Type reference (TYPE) | SY-MSGTY | 'E' | Message Type | 20060829 | |
35 | IC_MSG_WARNING | Constant | Private | Type reference (TYPE) | SY-MSGTY | 'W' | Message Type | 20060829 | |
36 | R_CUS_ERROR | Constant | Private | Type reference (TYPE) | SY-SUBRC | '0004' | Return Value of ABAP Statements | 20060829 | |
37 | R_CUS_EXIT | Constant | Private | Type reference (TYPE) | SY-SUBRC | '0001' | Return Value of ABAP Statements | 20060829 | |
38 | R_CUS_OK | Constant | Private | Type reference (TYPE) | SY-SUBRC | '0000' | Return Value of ABAP Statements | 20060829 | |
39 | R_CUS_STEIN_L | Constant | Private | Type reference (TYPE) | SY-SUBRC | '0002' | Return Value of ABAP Statements | 20060829 | |
40 | R_CUS_WARNING | Constant | Private | Type reference (TYPE) | SY-SUBRC | '0003' | Return Value of ABAP Statements | 20060829 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CREATE_HAZSUB | Static method | Public | Method | 20060828 | |
2 | DELETE_HAZSUB | Static method | Public | Method | 20060828 | |
3 | GET_LGKS_FOR_LGKMX | Static method | Public | Method | 20060828 | |
4 | SET_CUST_HSMCHECKS | Static method | Public | Method | 20060828 | |
5 | SUBRC_DEFINE | Static method | Private | Method | 20060829 |
Events
Class CL_EHSB_HAZARDOUS_SUBSTANCE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | GS_MSGTY_TYPE | Public | See coding | 20060829 | BEGIN OF gs_msgty_type,
warning TYPE msgty,
error TYPE msgty,
END OF gs_msgty_type
|
||
2 | GS_SUBRC_TYPE | Public | See coding | 20060829 | BEGIN OF gs_subrc_type,
ok TYPE sysubrc,
warning TYPE sysubrc,
error TYPE sysubrc,
END OF gs_subrc_type
|
Method Signatures
Method CREATE_HAZSUB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FLG_CREATE_MATERIAL | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_TRUE | Kennzeichen: Materialstamm wird mit angelegt | 20060828 | |
2 | Importing | I_FLG_HEADER | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Kennzeichen: Gef.Stoffstammkopf aktualisieren | 20060828 | |
3 | Importing | I_FLG_NUM_DATA | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Kennzeichen: Gef.Stoffstamm-Zusatzdaten (numerisch) aktualis | 20060828 | |
4 | Importing | I_FLG_TXT_DATA | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Kennzeichen: Gef.Stoffstamm-Zusatzdaten aktualisieren | 20060828 | |
5 | Importing | I_VALDAT | Call by reference | Type reference (TYPE) | ESEDIAGVD | SY-DATUM | Stichtag | 20060828 | |
6 | Changing | XT_API_HAZ_SUB | Call by reference | Type reference (TYPE) | HSMY_HSMAPI | EHS: Gefahrstoff verschachtelte Daten | 20060828 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Fehler beim Anlegen aufgetreten | 20060828 |
Method DELETE_HAZSUB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_DNAPI | Call by reference | Type reference (TYPE) | HSMY_DNAPI | Zu löschende Zusatzdaten 2 (numerische Art) | 20060828 | ||
2 | Importing | IT_DTAPI | Call by reference | Type reference (TYPE) | HSMY_DTAPI | Zu löschende Zusatzdaten 1 (Textart) | 20060828 | ||
3 | Importing | IT_HSMAPI | Call by reference | Type reference (TYPE) | HSMY_HSMAPI | Zu löschender Gefahrstoff verschachtelte Daten | 20060828 | ||
4 | Importing | IT_MDAPI | Call by reference | Type reference (TYPE) | HSMY_MDAPI | Zu löschende Gefahrstoff Grunddaten | 20060828 | ||
5 | Importing | I_FLG_DELETE_MATERIAL | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_TRUE | Kennzeichen: Materialstamm wird mit gelöscht | 20060828 |
Method DELETE_HAZSUB on class CL_EHSB_HAZARDOUS_SUBSTANCE has no exception.
Method GET_LGKS_FOR_LGKMX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_LGK_ERROR | Call by reference | Type reference (TYPE) | HSME_STOKEY | Gefahreneinstufung - HSM301_CHECK_LGKMX returns error | 20060829 | ||
2 | Exporting | E_LGK_OK | Call by reference | Type reference (TYPE) | HSME_STOKEY | Gefahreneinstufung - HSM301_CHECK_LGKMX returns success | 20060829 | ||
3 | Exporting | E_LGK_WARNING | Call by reference | Type reference (TYPE) | HSME_STOKEY | Gefahreneinstufung - HSM301_CHECK_LGKMX returns warning | 20060829 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Fehler beim Ermitteln der LGKs aufgetreten | 20060829 |
Method SET_CUST_HSMCHECKS Signature
Method SET_CUST_HSMCHECKS on class CL_EHSB_HAZARDOUS_SUBSTANCE has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Fehler beim Anlegen aufgetreten | 20060829 |
Method SUBRC_DEFINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ES_MSGTY | Call by reference | Type reference (TYPE) | GS_MSGTY_TYPE | 20060829 | |||
2 | Exporting | ES_SUBRC | Call by reference | Type reference (TYPE) | GS_SUBRC_TYPE | 20060829 | |||
3 | Importing | IV_REACT | Call by reference | Type reference (TYPE) | C | Reaktionsart | 20060829 |
Method SUBRC_DEFINE on class CL_EHSB_HAZARDOUS_SUBSTANCE has no exception.
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 700 |