SAP ABAP Class CL_PHIN_EQUI (PHIN: Equipment Class)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PM-EQM-THO (Application Component) Takeover/Handover of Technical Objects
⤷
PHIN (Package) Takeover/Handover of Technical Objects
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_PHIN_SUPER | PHIN: Technical Objects Superior Class | 20061212 |
Properties
| Class | CL_PHIN_EQUI | |
| Short Description | PHIN: Equipment Class | |
| Super Class | CL_PHIN_SUPER | PHIN: Technical Objects Superior Class |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PHIN | Takeover/Handover of Technical Objects |
| Created | 20061110 | SAP |
| Last change | 20130531 | 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_PHIN_EQUI has no interface implemented.
Friends
Class CL_PHIN_EQUI has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Automatic removal indicator | 20080311 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Equipment BOM Header | 20061205 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | PHIN_S_EQBOMHDR | Equipment BOM Header Data | 20061121 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | ITOB | Generierte Tabelle zu einem View | 20061121 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | PHIN_D_PO_EQU | No History-Relevant Changes for Equipment | 20080513 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | EQUNR | Equipment removal indicator | 20080311 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | ITOB | Generierte Tabelle zu einem View | 20061121 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Exchange required | 20080311 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | PHIN_D_TPLMA40 | Floc removal indicator | 20080311 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20061220 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | SWERK | Maintenance plant update indicator | 20080131 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | QMNUM | Notification No | 20070709 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | EQUNR | Equipment to be automatically removed | 20080124 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20070710 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | QMNUM | Notification No | 20070709 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | SPACE | Single-Character Indicator | 20070831 | ||
| 17 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Access Equipment Identifier | 20061204 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | check duplicate objects (equis) | 20090707 | |
| 2 | Instance method | Private | Method | Checks the existence of the equipment | 20061121 | |
| 3 | Instance method | Private | Method | Check MATNR/SERNR, taking material update into account(EhP5 | 20081021 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20061110 | |
| 5 | Instance method | Private | Method | Creates a new equipment | 20061121 | |
| 6 | Instance method | Private | Method | Deletes structure gap after the equipment has been removed | 20070111 | |
| 7 | Instance method | Private | Method | Determines parent from the superior object field | 20080311 | |
| 8 | Instance method | Private | Method | Exchange date check | 20080311 | |
| 9 | Instance method | Public | Method | Get data | 20061220 | |
| 10 | Instance method | Private | Method | Installation date check | 20080311 | |
| 11 | Instance method | Private | Method | Maintenance Plant check during installation | 20080311 | |
| 12 | Instance method | Private | Method | activate measurement points(EhP5) | 20081027 | |
| 13 | Instance method | Private | Method | deactivate measurement points(EhP5) | 20081028 | |
| 14 | Instance method | Private | Method | Dismantling of the exchanged equipment in the backend system | 20080124 | |
| 15 | Instance method | Private | Method | Removal date check | 20080311 | |
| 16 | Instance method | Private | Method | Releases NHCH status before IE4N Installation/Removal | 20070906 | |
| 17 | Instance method | Private | Method | Ckeck if the serial number can be updated | 20081015 | |
| 18 | Instance method | Public | Method | Set private attribute BOM_HEADER of class CL_PHIN_EQUI | 20081204 | |
| 19 | Instance method | Private | Method | Sets NHCH status after IE4N Installation/Removal | 20070906 | |
| 20 | Instance method | Private | Method | Sets the status for the equipment | 20061205 | |
| 21 | Instance method | Private | Method | Searches for equipment template | 20061123 | |
| 22 | Instance method | Public | Method | Changes an existing equipment | 20061121 |
Events
Class CL_PHIN_EQUI has no event.
Types
Class CL_PHIN_EQUI has no local type.
Method Signatures
Method CHECK_DUPLICATE_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EQUNR | Call by reference | Type reference (TYPE) | EQUNR | Equipment Number | 20090709 | |||
| 2 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20090707 | |||
| 3 | IV_PHIN_GUID | Call by reference | Type reference (TYPE) | PHIN_D_PHINGUID | own ID of equi to be searched | 20090707 | |||
| 4 | IV_SERNR | Call by reference | Type reference (TYPE) | GERNR | Serial number | 20090707 | |||
| 5 | IV_TL_KEY | Call by reference | Type reference (TYPE) | PHIN_D_GUID | own ID of equi to be searched | 20090707 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Object is already part of Takeover application | 20091123 |
Method CHECK_EXISTENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DATA | Call by reference | Type reference (TYPE) | ITOB | Generierte Tabelle zu einem View | 20061121 | |||
| 2 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20070104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Equipment does not exist | 20061121 |
Method CHECK_EXISTENCE_MATNR_SERNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DATA | Call by reference | Type reference (TYPE) | ITOB | Generated Table for View ITOB | 20081021 | |||
| 2 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material number, without search help | 20081021 | |||
| 3 | IV_RECENT_MATNR | Call by reference | Type reference (TYPE) | PHIN_D_RECENT_MATNR | Material number used during last takeover | 20081021 | |||
| 4 | IV_SERNR | Call by reference | Type reference (TYPE) | GERNR | Serial number | 20081021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | MATNR(RECENT_MATNR)/SERNR not found | 20081021 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_PHIN_CONTROLLER | Supervisior Class | 20061127 | |||
| 2 | IS_PHIN | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20061110 | |||
| 3 | IV_NEW | Value transfer | Type reference (TYPE) | XFELD | SPACE | 'X': The object is new (not yet on DB) | 20070305 | ||
| 4 | IV_SERNP | Call by reference | Type reference (TYPE) | SERAIL | Serial Number Profile | 20061219 |
Method CONSTRUCTOR on class CL_PHIN_EQUI has no exception.
Method CREATE_EQUI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PHIN | Call by reference | Type reference (TYPE) | PHINT | Phase In Table | 20061214 | |||
| 2 | EV_CHANGE_FLAG | Call by reference | Type reference (TYPE) | PHIN_D_CHGFLAG | Change Indicator for PHIN Object | 20061214 | |||
| 3 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20061214 |
Method CREATE_EQUI on class CL_PHIN_EQUI has no exception.
Method DELETE_SGAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20071010 |
Method DELETE_SGAP on class CL_PHIN_EQUI has no exception.
Method DETERMINE_PARENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20080311 | |||
| 2 | ES_EQUI_DATA | Call by reference | Type reference (TYPE) | ITOB | ITOB data of the superior EQUI | 20080311 | |||
| 3 | ES_FLOC_DATA | Call by reference | Type reference (TYPE) | ITOB | ITOB data of the superior FLOC | 20080311 | |||
| 4 | EV_PARENT_EXIST | Call by reference | Type reference (TYPE) | XFELD | Existance indicator of superior object | 20080311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parent is not a part of the current Takeover project | 20080311 | ||
| 2 | Both sup. equipment and sup. functional location entered | 20080311 |
Method EXCH_DATE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20080311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Installation or removal date is not in allowed interval | 20080311 |
Method GET_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_EQUI_DATA | Call by reference | Type reference (TYPE) | ITOB | Generierte Tabelle zu einem View | 20061220 | |||
| 2 | ES_EQUI_TEMPL_DATA | Call by reference | Type reference (TYPE) | ITOB | Generierte Tabelle zu einem View | 20061220 | |||
| 3 | EV_BOM_HEADER | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20061220 | |||
| 4 | EV_EXIST_STATUS | Call by reference | Type reference (TYPE) | PHIN_D_TO_STATUS | PHIN: Status of the Technical Object | 20070104 | |||
| 5 | EV_TOP_EQUI | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20061220 |
Method GET_DATA on class CL_PHIN_EQUI has no exception.
Method INST_DATE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20080311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Installation date is allowed | 20080311 | ||
| 2 | Installation date is before removal date of the equi | 20080311 | ||
| 3 | Installation date is before "valid from" date of the equi | 20080311 |
Method MAINT_PLANT_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_EQUI_DATA | Call by reference | Type reference (TYPE) | ITOB | Parent data: Superior quipment | 20080311 | |||
| 2 | IS_FLOC_DATA | Call by reference | Type reference (TYPE) | ITOB | Parent data: Superior functional location | 20080311 | |||
| 3 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20080311 |
Method MAINT_PLANT_CHECK on class CL_PHIN_EQUI has no exception.
Method MEASUREMENT_POINTS_ACTIVATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_BAPIRET2 | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20081027 | |||
| 2 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20081027 |
Method MEASUREMENT_POINTS_ACTIVATE on class CL_PHIN_EQUI has no exception.
Method MEASUREMENT_POINTS_DEACTIVATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20081028 |
Method MEASUREMENT_POINTS_DEACTIVATE on class CL_PHIN_EQUI has no exception.
Method REMOVE_OLD_EQUI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20080124 |
Method REMOVE_OLD_EQUI on class CL_PHIN_EQUI has no exception.
Method REM_DATE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20080311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Removal date check successful, removal allowed | 20080311 | ||
| 2 | Removal date is in the future | 20080311 | ||
| 3 | Removal date is before installation date of the equipment | 20080311 | ||
| 4 | Removal date is before "valid from" date of the equipment | 20080311 |
Method RESET_NHCH_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EQUNR | Call by reference | Type reference (TYPE) | EQUNR | Equipment Number | 20070906 | |||
| 2 | IV_OBJNR_EQ | Call by reference | Type reference (TYPE) | J_OBJNR | Object number (forecast) | 20070906 |
Method RESET_NHCH_STATUS on class CL_PHIN_EQUI has no exception.
Method SERIALNO_CHANGE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_CHANGE | Call by reference | Type reference (TYPE) | XFELD | Change allowed | 20081015 | |||
| 2 | CV_SERNR | Call by reference | Type reference (TYPE) | GERNR | Serial number | 20081015 | |||
| 3 | IV_EQUNR | Call by reference | Type reference (TYPE) | EQUNR | Equipment Number | 20081015 | |||
| 4 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20081015 |
Method SERIALNO_CHANGE_CHECK on class CL_PHIN_EQUI has no exception.
Method SET_BOM_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BOM_SET | Call by reference | Type reference (TYPE) | CHAR1 | flag saying if equi is BOM header | 20081204 |
Method SET_BOM_HEADER on class CL_PHIN_EQUI has no exception.
Method SET_NHCH_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EQUNR | Call by reference | Type reference (TYPE) | EQUNR | Equipment Number | 20070906 | |||
| 2 | IV_OBJNR_EQ | Call by reference | Type reference (TYPE) | J_OBJNR | Object number (forecast) | 20070906 |
Method SET_NHCH_STATUS on class CL_PHIN_EQUI has no exception.
Method SET_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STATUS | Call by reference | Type reference (TYPE) | PHIN_D_TO_STATUS | PHIN: Status of the Technical Object | 20061205 |
Method SET_STATUS on class CL_PHIN_EQUI has no exception.
Method TEMPLATE_SEARCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BOM_HEADER | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20061205 | |||
| 2 | EV_REF_EQUNR | Call by reference | Type reference (TYPE) | PHIN_D_REFE | Template Equipment | 20070213 | |||
| 3 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20061214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Reference equipment does not exist | 20061205 |
Method UPDATE_EQUI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PHIN | Call by reference | Type reference (TYPE) | PHINT | Phase In Table | 20061214 | |||
| 2 | EV_CHANGE_FLAG | Call by reference | Type reference (TYPE) | PHIN_D_CHGFLAG | Change Indicator for PHIN Object | 20061214 | |||
| 3 | IS_PHINT | Call by reference | Type reference (TYPE) | PHIN_S_PHINT | Table Line of Phint | 20061214 |
Method UPDATE_EQUI on class CL_PHIN_EQUI has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |