SAP ABAP Class CL_BADI_EAM_WS_GET_RISK (Class for BAdI Impl.: EAM_WS_GET_RISK_IMPL)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PM (Application Component) Plant Maintenance
     EAMWS_RISK (Package) Integration with Risk Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20100701
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EAM_WS_GET_RISK Interface for BAdI: EAM_WS_GET_RISK 20100701
Properties
Class CL_BADI_EAM_WS_GET_RISK  
Short Description Class for BAdI Impl.: EAM_WS_GET_RISK_IMPL    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package EAMWS_RISK   Integration with Risk Management 
Created 20100701   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20100701
2 IF_EAM_WS_GET_RISK Interface for BAdI: EAM_WS_GET_RISK 20100701
Friends
Class CL_BADI_EAM_WS_GET_RISK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_RM_DIM_TYPE_CHAR Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'CHARACTERISTICVALUE' Context Dimension Type used in GRC 20100927
2 GC_RM_DIM_TYPE_EQUI Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'EQUIPMENT' Context Dimension Type used in GRC 20100927
3 GC_RM_DIM_TYPE_FLOC Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'FUNCTIONALLOCATION' Context Dimension Type used in GRC 20100927
4 GC_RM_DIM_TYPE_PLANT Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'PLANT' Context Dimension Type used in GRC 20100927
5 GC_RM_DIM_TYPE_SFTY_SYMB Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'SAFETY_SYMBOL' Context Dimension Type used in GRC 20101108
6 GC_RM_DIM_TYPE_TL Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'TASKLIST' Context Dimension Type used in GRC 20100927
7 GC_RM_DIM_TYPE_TO_TYPE Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'TECHOBJTYPE' Context Dimension Type used in GRC 20100927
8 GC_RM_DIM_TYPE_WS_RELEVANT Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'WORKER_SAFETY_RELEVANT' Context Dimension Type used in GRC 20100927
9 GC_RM_IDENT_ANY Constant Private Type reference (TYPE) EAMWS_RM_IDENT '3' Any System is used as Risk Management System 20100927
10 GC_RM_IDENT_EHSM Constant Private Type reference (TYPE) EAMWS_RM_IDENT '2' EHSM is used as Risk Management System 20100927
11 GC_RM_IDENT_GRC Constant Private Type reference (TYPE) EAMWS_RM_IDENT '1' GRC is used as Risk Management System 20100927
12 GC_RM_SFTY_TYPE_DOCUMENT Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'SFTY_DOCUMENT' Object Type for Safety Measure coming from GRC 20100927
13 GC_RM_SFTY_TYPE_EQUI Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'SFTY_EQUIPMENT' Object Type for Safety Measure coming from GRC 20100927
14 GC_RM_SFTY_TYPE_MATERIAL Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'SFTY_MATERIAL' Object Type for Safety Measure coming from GRC 20100927
15 GC_RM_SFTY_TYPE_PERMITS Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'SFTY_PERMIT' Object Type for Safety Measure coming from GRC 20100927
16 GC_RM_SFTY_TYPE_PRT_OTHER Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'SFTY_OTHERPRT' Object Type for Safety Measure coming from GRC 20100927
17 GC_RM_SFTY_TYPE_TASKLIST Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'SFTY_TASKLIST' Object Type for Safety Measure coming from GRC 20100927
18 GC_RM_SFTY_TYPE_WCMR Constant Private Type reference (TYPE) EAMWS_GRRM_DIM_TYPE_ID 'SFTY_WCM_REQUIREMENT' Object Type for Safety Measure coming from GRC 20101207
19 MO_EAMS_SRV Instance attribute Private Object reference (TYPE REF TO) CL_EAMS_BO_SRV EAM_SIMPL: Service class for BO 20100728
20 MO_EAMWS_RISK_RELEVANCE_SRV Static Attribute Private Object reference (TYPE REF TO) CL_EAMWS_RISK_RELEVANCE_SRV EAM WS: Service methods for risk rele. objects 20100701
21 MO_WS_CUSTOMIZING Instance attribute Private Object reference (TYPE REF TO) CL_EAMWS_CUSTOMIZING WS relevant customizing 20101015
22 MS_ORG_AREA Instance attribute Private Type reference (TYPE) EAMWS_ORG_AREA EAM WS: Organizational Area for Safety 20100727
23 MS_RM_SYSTEM Instance attribute Private Type reference (TYPE) EAMWS_RM_SYSTEM EAM WS: Risk Management System Relevant Settings 20100722
Methods
# Method Level Visibility Method type Description Created on
1 CHK_RFC_DESTINATION Instance method Private Method Check RFC Destination 20100728
2 GET_CHAR_ASSIGNED_TO_CLASSES Instance method Private Method Get Characteristics assigned to classes 20100825
3 GET_CTAB_RM_SYSTEM Instance method Private Method Get Customizing Settings for Central Risk Repository 20100728
4 GET_EQUI_HIERARCHY Instance method Private Method Get Hierarchy of Equipments 20100701
5 GET_FLOC_HIERARCHY Instance method Private Method Get Hierarchy of Functional Locations 20100701
6 GET_RISK_RELEV_CHAR Instance method Private Method Get Risk relevant Characteristics 20100729
7 GET_RISK_RELEV_CHAR_BY_OBJ Instance method Private Method Get Risk relevant Characteristics for an individual Object 20100729
8 GET_RISK_RELEV_EQUI Instance method Private Method Get Risk relevant Equipments 20100729
9 GET_RISK_RELEV_FLOC Instance method Private Method Get Risk relevant Functional Locations 20100729
10 GET_RISK_RELEV_PLNT Instance method Private Method Get Risk relevant Plants 20100729
11 GET_RISK_RELEV_TL Instance method Private Method Get Risk relevant Task Lists 20100729
12 GET_RISK_RELEV_TOTP Instance method Private Method Get Risk relevant Type of Technical Objects 20100729
Events
Class CL_BADI_EAM_WS_GET_RISK has no event.
Types
Class CL_BADI_EAM_WS_GET_RISK has no local type.
Method Signatures

Method CHK_RFC_DESTINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Message 20100728
2 Exporting EV_RFC_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100728
3 Importing IV_RFCDEST Call by reference Type reference (TYPE) RFCDEST RFC connection to Risk Management System 20100730

Method CHK_RFC_DESTINATION on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_CHAR_ASSIGNED_TO_CLASSES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KSML Call by reference Type reference (TYPE) TT_KSML Characteristic assignments to a class 20100825
2 Importing IT_CHAR_CLASSES_REF Call by reference Type reference (TYPE) EAMS_T_BO_CHAR_CLASSES_REF EAMS BO Characteristics reference to classes 20100825

Method GET_CHAR_ASSIGNED_TO_CLASSES on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_CTAB_RM_SYSTEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_RM_SYSTEM Call by reference Type reference (TYPE) EAMWS_RM_SYSTEM EAM WS: Risk Management System Relevant Settings 20100728
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Message 20100728
3 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLE_D = 'X', if selection failed or entries are missing 20100728

Method GET_CTAB_RM_SYSTEM on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_EQUI_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_EQUI_DATA Call by reference Type reference (TYPE) EAMS_T_BO_EQUI_ID Business Object Equipment - Identification 20100701
2 Changing CT_FLOC_DATA Call by reference Type reference (TYPE) EAMWS_T_FL_ID_W_LABEL EAM WS: Functional Location - ID + Label 20100716
3 Changing CT_PLNT_DATA Call by reference Type reference (TYPE) EAMWS_T_PLANT_ID EAM WS: Plant - ID 20100716
4 Changing CT_TOTP_DATA Call by reference Type reference (TYPE) EAMS_T_TO_TYPE_ID Type of Technical Object 20100701
5 Importing IT_NODE_ID Call by reference Type reference (TYPE) EAMS_T_BO_EQUI_ID Business Object Equipment - Identification 20100701
6 Importing IV_PLNT_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Plants are Risk Relevant (true/false) 20100716
7 Importing IV_TOTP_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Type of Technical Objects are Risk Relevant (true/false) 20100708

Method GET_EQUI_HIERARCHY on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_FLOC_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FLOC_DATA Call by reference Type reference (TYPE) EAMWS_T_FL_ID_W_LABEL EAM WS: Functional Location - ID + Label 20100701
2 Changing CT_PLNT_DATA Call by reference Type reference (TYPE) EAMWS_T_PLANT_ID EAM WS: Plant - ID 20100716
3 Changing CT_TOTP_DATA Call by reference Type reference (TYPE) EAMS_T_TO_TYPE_ID Type of Technical Object 20100701
4 Importing IT_NODE_ID Call by reference Type reference (TYPE) EAMS_T_BO_FL_ID Business Object Functional Location - Identification 20100701
5 Importing IV_PLNT_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Plants are Risk Relevant (true/false) 20100716
6 Importing IV_TOTP_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Type of Technical Objects are Risk Relevant (true/false) 20100708

Method GET_FLOC_HIERARCHY on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_RISK_RELEV_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RISK_RELEVANCE Call by reference Type reference (TYPE) EAMWS_T_RISK_RELEV_OBJECT EAM WS: Risk Relevant Objects 20100729
2 Importing IT_EQUI_ID Call by reference Type reference (TYPE) EAMS_T_BO_EQUI_ID Business Object Equipment - Identification 20100729
3 Importing IT_FLOC_ID Call by reference Type reference (TYPE) EAMWS_T_FL_ID_W_LABEL EAM WS: Functional Location - ID + Label 20100729
4 Importing IV_CHAR_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D Characteristics are Risk Relevant (true/false) 20100729

Method GET_RISK_RELEV_CHAR on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_RISK_RELEV_CHAR_BY_OBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RISK_RELEVANCE Call by reference Type reference (TYPE) EAMWS_T_RISK_RELEV_OBJECT EAM WS: Risk Relevant Objects 20100729
2 Importing IS_ORG_AREA Call by reference Type reference (TYPE) EAMWS_ORG_AREA EAM WS: Organizational Area for Safety 20100729
3 Importing IT_CHAR_CLASSES_REF Call by reference Type reference (TYPE) EAMS_T_BO_CHAR_CLASSES_REF EAMS BO Characteristics reference to classes 20100729
4 Importing IT_CHAR_DATA Call by reference Type reference (TYPE) EAMS_T_BO_CHAR Business Object Characteristica 20100729

Method GET_RISK_RELEV_CHAR_BY_OBJ on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_RISK_RELEV_EQUI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RISK_RELEVANCE Call by reference Type reference (TYPE) EAMWS_T_RISK_RELEV_OBJECT EAM WS: Risk Relevant Objects 20100729
2 Importing IT_EQUI_ID Call by reference Type reference (TYPE) EAMS_T_BO_EQUI_ID Business Object Equipment - Identification 20100729
3 Importing IV_EQUI_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D Equipments are Risk Relevant (true/false) 20100729

Method GET_RISK_RELEV_EQUI on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_RISK_RELEV_FLOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FLOC_ID Call by reference Type reference (TYPE) EAMWS_T_FL_ID_W_LABEL EAM WS: Functional Location - ID + Label 20100729
2 Changing CT_RISK_RELEVANCE Call by reference Type reference (TYPE) EAMWS_T_RISK_RELEV_OBJECT EAM WS: Risk Relevant Objects 20100729
3 Importing IV_FLOC_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D Functional Locations are Risk Relevant (true/false) 20100729

Method GET_RISK_RELEV_FLOC on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_RISK_RELEV_PLNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RISK_RELEVANCE Call by reference Type reference (TYPE) EAMWS_T_RISK_RELEV_OBJECT EAM WS: Risk Relevant Objects 20100729
2 Importing IT_PLNT Call by reference Type reference (TYPE) EAMWS_T_PLANT_ID EAM WS: Plant - ID 20100729
3 Importing IV_PLNT_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D Plants are Risk Relevant (true/false) 20100729

Method GET_RISK_RELEV_PLNT on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_RISK_RELEV_TL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RISK_RELEVANCE Call by reference Type reference (TYPE) EAMWS_T_RISK_RELEV_OBJECT EAM WS: Risk Relevant Objects 20100729
2 Importing IT_TL_ID Call by reference Type reference (TYPE) EAMS_T_BO_TL_ID Business Object Task List - Identification 20100729
3 Importing IV_TL_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D Task Lists are Risk Relevant (true/false) 20100729

Method GET_RISK_RELEV_TL on class CL_BADI_EAM_WS_GET_RISK has no exception.

Method GET_RISK_RELEV_TOTP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RISK_RELEVANCE Call by reference Type reference (TYPE) EAMWS_T_RISK_RELEV_OBJECT EAM WS: Risk Relevant Objects 20100729
2 Importing IT_TO_TYPE Call by reference Type reference (TYPE) EAMS_T_TO_TYPE_ID Type of Technical Object 20100729
3 Importing IV_TOTP_ARE_RISK_RELEV Call by reference Type reference (TYPE) BOOLE_D Type of Technical Objects are Risk Relevant (true/false) 20100729

Method GET_RISK_RELEV_TOTP on class CL_BADI_EAM_WS_GET_RISK has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 606