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

⤷

⤷

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 | ![]() |
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 | ![]() |
Constant | Public | Type reference (TYPE) | LAND1 | 'DE' | Country key | 20060829 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | C | 'E' | Response Type | 20060829 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | I | '1' | Hazardous Substance Check Schema | 20070515 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | BAPIMATDOA-IND_SECTOR | 'C' | Industry | 20060829 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | T331L-LAGKL | '3A' | Storage Class | 20060829 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | T331L-LAGKL | '1' | Storage Class | 20060829 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | LGBER | '001' | Storage Section | 20060829 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | LGNUM | '001' | Warehouse Number / Warehouse Complex | 20060829 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | LGPLA | '01-01-01' | Storage Bin | 20060829 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | LGTYP | '001' | Storage Type | 20060829 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | BAPIMATDOA-MATL_TYPE | 'FERT' | Material Type | 20060829 | |
12 | ![]() |
Constant | Public | Type reference (TYPE) | BWART | '501' | Movement Type (IM) | 20060829 | |
13 | ![]() |
Constant | Public | Type reference (TYPE) | LTAP-NKDYN | SPACE | Indicator: Dynamic Storage Bin | 20060829 | |
14 | ![]() |
Constant | Public | Type reference (TYPE) | LTAP-NLBER | '001' | Destination Storage Section | 20060829 | |
15 | ![]() |
Constant | Public | Type reference (TYPE) | LTAP-NLENR | SPACE | Destination Storage Unit Number | 20060829 | |
16 | ![]() |
Constant | Public | Type reference (TYPE) | LTAP-NLPLA | SPACE | Destination Storage Bin | 20060829 | |
17 | ![]() |
Constant | Public | Type reference (TYPE) | LTAP-NLQNR | '0000000000' | Quant | 20060829 | |
18 | ![]() |
Constant | Public | Type reference (TYPE) | LTAP-NLTYP | '001' | Destination Storage Type | 20060829 | |
19 | ![]() |
Constant | Public | Type reference (TYPE) | LTAP-NPPOS | SPACE | Position in Destination Storage Bin | 20060829 | |
20 | ![]() |
Constant | Private | Type reference (TYPE) | C | SPACE | Response Type | 20060829 | |
21 | ![]() |
Constant | Public | Type reference (TYPE) | WERKS_D | '0001' | Plant | 20060829 | |
22 | ![]() |
Constant | Public | Type reference (TYPE) | REGIO | SPACE | Region (Country, State, Province, County) | 20060829 | |
23 | ![]() |
Constant | Public | Type reference (TYPE) | LGORT_D | '0088' | Storage Location | 20060829 | |
24 | ![]() |
Constant | Public | Type reference (TYPE) | HSME_STOCAT | 'LGK' | Storage Hazard Type | 20060829 | |
25 | ![]() |
Constant | Public | Type reference (TYPE) | HSME_STOCAT | 'WGK' | Storage Hazard Type | 20060829 | |
26 | ![]() |
Constant | Public | Type reference (TYPE) | T331-WGFKL | '2' | Water Pollution Class | 20060915 | |
27 | ![]() |
Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'TEST1' | Hazard Rating | 20060829 | |
28 | ![]() |
Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'TEST2' | Hazard Rating | 20060829 | |
29 | ![]() |
Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'TEST3' | Hazard Rating | 20060829 | |
30 | ![]() |
Constant | Public | Type reference (TYPE) | BWKEY | '0001' | Valuation Area | 20060829 | |
31 | ![]() |
Constant | Private | Type reference (TYPE) | C | 'W' | Response Type | 20060829 | |
32 | ![]() |
Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'WGK 3' | Water Pollution Class | 20060915 | |
33 | ![]() |
Constant | Public | Type reference (TYPE) | HSME_STOKEY | 'WGK 2' | Water Pollution Class | 20060915 | |
34 | ![]() |
Constant | Private | Type reference (TYPE) | SY-MSGTY | 'E' | Message Type | 20060829 | |
35 | ![]() |
Constant | Private | Type reference (TYPE) | SY-MSGTY | 'W' | Message Type | 20060829 | |
36 | ![]() |
Constant | Private | Type reference (TYPE) | SY-SUBRC | '0004' | Return Value of ABAP Statements | 20060829 | |
37 | ![]() |
Constant | Private | Type reference (TYPE) | SY-SUBRC | '0001' | Return Value of ABAP Statements | 20060829 | |
38 | ![]() |
Constant | Private | Type reference (TYPE) | SY-SUBRC | '0000' | Return Value of ABAP Statements | 20060829 | |
39 | ![]() |
Constant | Private | Type reference (TYPE) | SY-SUBRC | '0002' | Return Value of ABAP Statements | 20060829 | |
40 | ![]() |
Constant | Private | Type reference (TYPE) | SY-SUBRC | '0003' | Return Value of ABAP Statements | 20060829 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | 20060828 | |
2 | ![]() |
Static method | Public | Method | 20060828 | |
3 | ![]() |
Static method | Public | Method | 20060828 | |
4 | ![]() |
Static method | Public | Method | 20060828 | |
5 | ![]() |
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 | ![]() |
I_FLG_CREATE_MATERIAL | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_TRUE | Kennzeichen: Materialstamm wird mit angelegt | 20060828 | |
2 | ![]() |
I_FLG_HEADER | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Kennzeichen: Gef.Stoffstammkopf aktualisieren | 20060828 | |
3 | ![]() |
I_FLG_NUM_DATA | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Kennzeichen: Gef.Stoffstamm-Zusatzdaten (numerisch) aktualis | 20060828 | |
4 | ![]() |
I_FLG_TXT_DATA | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | ESP1_FALSE | Kennzeichen: Gef.Stoffstamm-Zusatzdaten aktualisieren | 20060828 | |
5 | ![]() |
I_VALDAT | Call by reference | Type reference (TYPE) | ESEDIAGVD | SY-DATUM | Stichtag | 20060828 | |
6 | ![]() |
XT_API_HAZ_SUB | Call by reference | Type reference (TYPE) | HSMY_HSMAPI | EHS: Gefahrstoff verschachtelte Daten | 20060828 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Fehler beim Anlegen aufgetreten | 20060828 |
Method DELETE_HAZSUB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_DNAPI | Call by reference | Type reference (TYPE) | HSMY_DNAPI | Zu löschende Zusatzdaten 2 (numerische Art) | 20060828 | ||
2 | ![]() |
IT_DTAPI | Call by reference | Type reference (TYPE) | HSMY_DTAPI | Zu löschende Zusatzdaten 1 (Textart) | 20060828 | ||
3 | ![]() |
IT_HSMAPI | Call by reference | Type reference (TYPE) | HSMY_HSMAPI | Zu löschender Gefahrstoff verschachtelte Daten | 20060828 | ||
4 | ![]() |
IT_MDAPI | Call by reference | Type reference (TYPE) | HSMY_MDAPI | Zu löschende Gefahrstoff Grunddaten | 20060828 | ||
5 | ![]() |
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 | ![]() |
E_LGK_ERROR | Call by reference | Type reference (TYPE) | HSME_STOKEY | Gefahreneinstufung - HSM301_CHECK_LGKMX returns error | 20060829 | ||
2 | ![]() |
E_LGK_OK | Call by reference | Type reference (TYPE) | HSME_STOKEY | Gefahreneinstufung - HSM301_CHECK_LGKMX returns success | 20060829 | ||
3 | ![]() |
E_LGK_WARNING | Call by reference | Type reference (TYPE) | HSME_STOKEY | Gefahreneinstufung - HSM301_CHECK_LGKMX returns warning | 20060829 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
Fehler beim Anlegen aufgetreten | 20060829 |
Method SUBRC_DEFINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_MSGTY | Call by reference | Type reference (TYPE) | GS_MSGTY_TYPE | 20060829 | |||
2 | ![]() |
ES_SUBRC | Call by reference | Type reference (TYPE) | GS_SUBRC_TYPE | 20060829 | |||
3 | ![]() |
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 |