SAP ABAP Class CL_EAMWS_BO_SAFETY_TEXT (Safetytext BO)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PM (Application Component) Plant Maintenance
     EAMWS_BO (Package) Business Object
Properties
Class CL_EAMWS_BO_SAFETY_TEXT  
Short Description Safetytext BO    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package EAMWS_BO   Business Object 
Created 20100924   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
Class CL_EAMWS_BO_SAFETY_TEXT has no interface implemented.
Friends
Class CL_EAMWS_BO_SAFETY_TEXT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_FLAG_DELETE Instance attribute Private Type reference (TYPE) CHAR01 'D' Character Field Length 1 20101112
2 MC_FLAG_INSERT Instance attribute Private Type reference (TYPE) CHAR01 'I' Character Field Length 1 20101112
3 MC_FLAG_UPDATE Instance attribute Private Type reference (TYPE) CHAR01 SPACE Character Field Length 1 20101112
4 MO_SRV Instance attribute Private Object reference (TYPE REF TO) CL_EAMS_BO_SRV Service class for BO 20101011
5 MT_SAFETY_TEXT_LINES Instance attribute Private See coding 20100924
6 MV_OBJNR Instance attribute Private Type reference (TYPE) J_OBJNR Object Number 20100924
7 MV_SECONDARY_KEY Instance attribute Private Type reference (TYPE) CHAR40 Character field of length 40 20101104
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_DELETED Instance method Public Method Checks if all texts have been deleted 20101112
2 CHECK_EXISTS Instance method Public Method Checks if any safety text exists for this instance 20101019
3 CONSTRUCTOR Instance method Public Constructor 20100924
4 CREATE_SAFETY_TEXT Instance method Public Method Creates the safety text for the given id 20101012
5 DELETE_SAFETY_TEXT Instance method Public Method Deletes the safety text for the given id 20101020
6 FILTER Instance method Public Method Filter safety texts from longtext 20100924
7 GET_ALL_SAFETY_TEXTS Instance method Public Method Read all safety texts of this instance 20101020
8 GET_SAFETY_TEXT Instance method Public Method Read the safety text for the given id 20101011
9 MERGE Instance method Public Method Merges the safety texts to the longtext 20100927
10 NUMBERSWITCH Instance method Public Method Do a numberswitch for the object 20101103
11 SET_SAFETY_TEXT Instance method Public Method Changes the safety text for the given id 20101012
Events
Class CL_EAMWS_BO_SAFETY_TEXT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_SAFETY_TEXT_LINES Private See coding 20100927 BEGIN OF ts_safety_text_lines, db_flag type c LENGTH 1, "space=from db I=insert D=delete text_number TYPE eamws_safety_text_number, text_title TYPE text40, text_lines TYPE emty_bapi_alm_text_lines, END OF ts_safety_text_lines
Method Signatures

Method CHECK_DELETED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_TEXT_DELETED Value transfer Type reference (TYPE) ABAP_BOOL true=all texts are deleted 20101112

Method CHECK_DELETED on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method CHECK_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_TEXT_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL true=at least one text exists 20101019

Method CHECK_EXISTS on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20100924
2 Importing IV_SECONDARY_KEY Call by reference Type reference (TYPE) CHAR40 Character field of length 40 20101104

Method CONSTRUCTOR on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method CREATE_SAFETY_TEXT 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 20101012
2 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) EAMWS_T_BO_SAFETY_TEXT Safety text 20101103
3 Importing IT_NODE_DATA Call by reference Type reference (TYPE) EAMWS_T_BO_SAFETY_TEXT Safety Text 20101012

Method CREATE_SAFETY_TEXT on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method DELETE_SAFETY_TEXT 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 20101020
2 Importing IT_NODE_ID Call by reference Type reference (TYPE) EAMWS_T_BO_SAFETY_TEXT_ID 20101020

Method DELETE_SAFETY_TEXT on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LONGTEXT Call by reference Type reference (TYPE) EMTY_BAPI_ALM_TEXT_LINES Table for Longtexts 20100927

Method FILTER on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method GET_ALL_SAFETY_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SAFETY_TEXT Call by reference Type reference (TYPE) EAMWS_T_BO_SAFETY_TEXT Safety text 20101020

Method GET_ALL_SAFETY_TEXTS on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method GET_SAFETY_TEXT 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 20101011
2 Exporting ET_SAFETY_TEXT Call by reference Type reference (TYPE) EAMWS_T_BO_SAFETY_TEXT Safety text 20101011
3 Exporting EV_NO_TEXT Call by reference Type reference (TYPE) ABAP_BOOL true=no text exists 20101019
4 Importing IT_NODE_ID Call by reference Type reference (TYPE) EAMWS_T_BO_SAFETY_TEXT_ID Safety Text 20101011

Method GET_SAFETY_TEXT on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method MERGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LONGTEXT Call by reference Type reference (TYPE) EMTY_BAPI_ALM_TEXT_LINES Text 20100927

Method MERGE on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method NUMBERSWITCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT_ID_NEW Call by reference Type reference (TYPE) J_OBJNR Object Number 20101103

Method NUMBERSWITCH on class CL_EAMWS_BO_SAFETY_TEXT has no exception.

Method SET_SAFETY_TEXT 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 20101012
2 Importing IT_NODE_DATA Call by reference Type reference (TYPE) EAMWS_T_BO_SAFETY_TEXT Safety Text 20101012

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