SAP ABAP Class CL_EHCSM_SPC_VALIDATIONS (Internal: EHS Specification-Related Validations)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
EHS-SAF (Application Component) Product Safety
⤷
CBUI_BO_INT (Package) Internal Objec for Specification Management Web UI
⤷
⤷
Properties
| Class | CL_EHCSM_SPC_VALIDATIONS | |
| Short Description | Internal: EHS Specification-Related Validations | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CBUI_BO_INT | Internal Objec for Specification Management Web UI |
| Created | 20090923 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_EHCSM_SPC_VALIDATIONS has no forward declaration.
Interfaces
Class CL_EHCSM_SPC_VALIDATIONS has no interface implemented.
Friends
Class CL_EHCSM_SPC_VALIDATIONS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | OBJNUM | Sequential Number of Data Record | 20130822 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check the existence of a change number | 20100122 | |
| 2 | Static method | Public | Method | Check copy and relationship template data | 20100119 | |
| 3 | Static method | Public | Method | Check an identitfier | 20100111 | |
| 4 | Static method | Public | Method | Check longtext instances (both for identifier and valuation) | 20090923 | |
| 5 | Static method | Public | Method | Check mandatory fields of a spec header instance | 20091125 | |
| 6 | Static method | Public | Method | Check material plant combination and validates those data | 20091116 | |
| 7 | Static method | Public | Method | Check status | 20110524 | |
| 8 | Static method | Public | Method | Check Usage Entries for Mandatory Data | 20110415 | |
| 9 | Static method | Public | Method | Check phrase for valuation characteristic | 20110503 | |
| 10 | Static method | Public | Method | Check valuation compositions | 20100112 | |
| 11 | Static method | Private | Method | Check consistensy of upper and lower limit in compositions | 20110413 | |
| 12 | Static method | Public | Method | Check if valuation instance can be deleted | 20091203 | |
| 13 | Static method | Public | Method | Check valuation sources | 20091210 | |
| 14 | Static method | Public | Method | Check valuation text and docs | 20091216 | |
| 15 | Static method | Private | Method | Fill field compcat from default role of current component | 20110902 |
Events
Class CL_EHCSM_SPC_VALIDATIONS has no event.
Types
Class CL_EHCSM_SPC_VALIDATIONS has no local type.
Method Signatures
Method CHECK_CHANGE_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_KEY_DATE | Call by reference | Type reference (TYPE) | RMSAE_GPDATE | Key Date | 20100122 | |||
| 2 | ET_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20100122 | |||
| 3 | EV_CHANGE_NO_ALLOWED | Call by reference | Type reference (TYPE) | BOOLE_D | Indicator if change number is allowed | 20100122 | |||
| 4 | EV_KEY_DATE_CHANGED | Call by reference | Type reference (TYPE) | BOOLE_D | Indicator if key date changed | 20100122 | |||
| 5 | EV_KEY_DATE_UNKNOWN | Call by reference | Type reference (TYPE) | BOOLE_D | Indicator if key date is unknown | 20100122 | |||
| 6 | IV_CHANGE_NO | Call by reference | Type reference (TYPE) | ESEAENNR | Change Number | 20100122 | |||
| 7 | IV_MSG_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20100122 |
Method CHECK_CHANGE_NUMBER on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_COPY_AND_REL_TEMPLATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20100119 | |||
| 2 | EV_SEVERITY | Call by reference | Type reference (TYPE) | /PLMB/SPI_MSG_SEVERITY | Severity | 20100119 | |||
| 3 | EV_TEMPLATE_RECN | Call by reference | Type reference (TYPE) | ESERECN | Template Record Number | 20100119 | |||
| 4 | IV_LANGU | Call by reference | Type reference (TYPE) | ESELANGU | SY-LANGU | Language | 20100119 | ||
| 5 | IV_TEMPLATE | Call by reference | Type reference (TYPE) | ESEGRPOBJID | ID of the template | 20100119 | |||
| 6 | IV_TEMPLATE_GROUP | Call by reference | Type reference (TYPE) | ESEGRPID | ID of the group the tmp. belongs | 20100119 |
Method CHECK_COPY_AND_REL_TEMPLATE on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_IDN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20100111 | |||
| 2 | CT_SPC_IDN | Call by reference | Type reference (TYPE) | EHCSMT_SPC_IDN | Identifier | 20100111 | |||
| 3 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY | Table with substance related keys | 20100111 | |||
| 4 | ET_IDN_INVALID | Call by reference | Type reference (TYPE) | EHCSMT_SPC_IDN | Identifier with errors | 20100111 |
Method CHECK_IDN on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_LONGTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CG_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Any table containing SAPScript texts | 20090923 | |||
| 2 | ET_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20090923 |
Method CHECK_LONGTEXT on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_MANDATORY_SPC_HDR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_SPC_HDR | Call by reference | Type reference (TYPE) | EHCSMS_SPC_HEADER | Specification Header Structure | 20091125 | |||
| 2 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20091125 | |||
| 3 | CV_KEY_DATE | Call by reference | Type reference (TYPE) | RMSAE_GPDATE | Key Date | 20091125 | |||
| 4 | EV_KEY_DATE_CHANGED | Call by reference | Type reference (TYPE) | BOOLE_D | If true has the key date changed | 20091125 | |||
| 5 | IV_CLEAR_IF_INVALID_IND | Call by reference | Type reference (TYPE) | BOOLE_D | Indicates if spec header instance will be cleared if invalid | 20091125 | |||
| 6 | IV_CURRENT_CHANGE_NO | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20100325 | |||
| 7 | IV_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20091125 | |||
| 8 | IV_MODE | Call by reference | Type reference (TYPE) | ESELINEMOD | Processing status or mode of a record/step loop line | 20091125 |
Method CHECK_MANDATORY_SPC_HDR on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_MATERIAL_PLANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_SPC_MAT_ASSIGNMENT | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MAT_ASSIGNMENT | Specification - Material Assignment | 20091116 | |||
| 2 | ES_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MSG | Messages Table Type | 20091116 | |||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | Language Key | 20091116 |
Method CHECK_MATERIAL_PLANT on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20110524 | |||
| 2 | CT_SPC_STATUS | Call by reference | Type reference (TYPE) | EHCSMT_SPC_STATUS | Specification Status Table Type | 20110524 | |||
| 3 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY | Table with substance related keys | 20110524 | |||
| 4 | ET_STATUS_INVALID | Call by reference | Type reference (TYPE) | EHCSMT_SPC_STATUS | Specification Status Table Type | 20110524 |
Method CHECK_STATUS on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_USAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_FAILED_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY | Table with substance related keys | 20110415 | |||
| 2 | CT_SPC_MSG | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20110415 | |||
| 3 | ET_SPC_USE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_USAGE | Specification Usage | 20110415 | |||
| 4 | ET_SPC_USE_INVALID | Call by reference | Type reference (TYPE) | EHCSMT_SPC_USAGE | Specification Usage | 20110415 | |||
| 5 | IT_SPC_USG | Call by reference | Type reference (TYPE) | EHCSMT_SPC_USAGE | Specification Usage | 20110415 | |||
| 6 | IV_WEAK_MODE_USG_IND | Call by reference | Type reference (TYPE) | BOOLE_D | If X usage without validity area are no error | 20110415 |
Method CHECK_USAGE on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_VAL_CHAR_PHRASE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20110504 | |||
| 2 | IT_SPC_VAL_CHAR_DATA | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_CHAR_DATA | Valuation characteristics data | 20110503 | |||
| 3 | IT_SPC_VAL_HDR | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_HEADER | Valuation header table | 20110503 | |||
| 4 | IT_SPC_VAL_INST | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_INST | Valuation instance table | 20110503 | |||
| 5 | IV_KEY_DATE | Call by reference | Type reference (TYPE) | RMSAE_GPDATE | Key Date | 20110503 | |||
| 6 | IV_VAT | Call by reference | Type reference (TYPE) | ESEESTCAT | Value Assignment Type | 20110504 |
Method CHECK_VAL_CHAR_PHRASE on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_VAL_COMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20100112 | |||
| 2 | CT_SPC_VAL_COMP | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_COMP | Compositions | 20100112 | |||
| 3 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY | Table with substance related keys | 20100112 | |||
| 4 | ET_VAL_COMP_INVALID | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_COMP | Compositions with errors | 20100112 | |||
| 5 | IT_SPC_VAL_HDR | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_HEADER | Valuation header table | 20100114 | |||
| 6 | IT_SPC_VAL_INST | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_INST | Valuation instance table | 20100114 | |||
| 7 | IV_LANGU | Call by reference | Type reference (TYPE) | ESELANGU | Language | 20100202 | |||
| 8 | IV_SPC_CAT | Call by reference | Type reference (TYPE) | ESEOBJTYPE | Specification Category | 20100114 |
Method CHECK_VAL_COMP on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_VAL_COMP_LIMITS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20110413 | |||
| 2 | CV_INVALID_LIMITS_IND | Call by reference | Type reference (TYPE) | BOOLE_D | If ABAP_TRUE, limitiation error | 20110413 | |||
| 3 | IS_SPC_VAL_COMP | Call by reference | Type reference (TYPE) | EHCSMS_SPC_VAL_COMP | Valuation composition | 20110413 | |||
| 4 | IV_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20110413 |
Method CHECK_VAL_COMP_LIMITS on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_VAL_INST_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_SPC_VAL_INST | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_INST | Valuation instance table | 20091203 | |||
| 2 | ES_RESULT | Call by reference | Type reference (TYPE) | EHCSMS_SPC_MSG_RESULT | Message Result | 20091203 | |||
| 3 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY | List with failed keys | 20091203 | |||
| 4 | ET_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages | 20091203 |
Method CHECK_VAL_INST_DELETE on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_VAL_SRC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20091210 | |||
| 2 | CT_SPC_VAL_SRC | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_SOURCE | Sources | 20091210 | |||
| 3 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY | Table with substance related keys | 20091214 | |||
| 4 | ET_VAL_SRC_INVALID | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_SOURCE | Sources with errors | 20091210 |
Method CHECK_VAL_SRC on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method CHECK_VAL_TXT_DOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGE | Call by reference | Type reference (TYPE) | EHCSMT_SPC_MSG | Messages Table Type | 20091216 | |||
| 2 | CT_SPC_VAL_TXT | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_TXT_DOC | Texts and Document Links | 20091216 | |||
| 3 | ET_FAILED_KEY | Call by reference | Type reference (TYPE) | EHCSMT_SPC_KEY | Table with substance related keys | 20091216 | |||
| 4 | ET_VAL_TXT_INVALID | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_TXT_DOC | Texts with errors | 20091216 | |||
| 5 | IT_VAL_INST | Call by reference | Type reference (TYPE) | EHCSMT_SPC_VAL_INST | Valuation instance table | 20091216 | |||
| 6 | IV_LANGU | Call by reference | Type reference (TYPE) | ESELANGU | SY-LANGU | Language | 20091221 |
Method CHECK_VAL_TXT_DOC on class CL_EHCSM_SPC_VALIDATIONS has no exception.
Method COMPCAT_FILL_FROM_DEFROLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_COMP | Call by reference | Object reference (TYPE REF TO) | EHCSMS_SPC_VAL_COMP | Valuation composition | 20110902 | |||
| 2 | IV_LANGU | Call by reference | Type reference (TYPE) | ESELANGU | Language | 20110902 | |||
| 3 | IV_SPC_CAT | Call by reference | Type reference (TYPE) | ESEOBJTYPE | Specification Category | 20110902 |
Method COMPCAT_FILL_FROM_DEFROLE on class CL_EHCSM_SPC_VALIDATIONS has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 605 |