SAP ABAP Class CL_PHIN_HANDOVER (Handover Supervisor)
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 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PHIN_HANDOVER if_phin_handover 20061128
Properties
Class CL_PHIN_HANDOVER  
Short Description Handover Supervisor    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package PHIN   Takeover/Handover of Technical Objects 
Created 20061128   SAP 
Last change 20100310   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)
2 PHIN0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_PHIN_HANDOVER if_phin_handover 20061128
Friends
Class CL_PHIN_HANDOVER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_OTYPE_EQUI Constant Private Type reference (TYPE) PHIN_D_TO_TYPE 'E' Type of Technical Object 20070523
2 GC_OTYPE_FUNCLOC Constant Private Type reference (TYPE) PHIN_D_TO_TYPE 'L' Type of Technical Object 20070523
3 GC_OTYPE_SERNR Constant Private Type reference (TYPE) PHIN_D_TO_TYPE 'S' Type of Technical Object 20070523
4 GC_PHINTYPE Constant Private Type reference (TYPE) PHIN_D_PHINTYPE 'H' Handover 20061214
5 GS_TPHIN_PO_ACT Static Attribute Private Type reference (TYPE) TPHIN_PO_ACT Handover Profile 20070529
Methods
# Method Level Visibility Method type Description Created on
1 ABEND_TRANSACTION Static method Public Method Abend current transaction because of an system error 20070124
2 ADD_MESSAGE_OBJ_PROCESSED Instance method Private Method add message with processed objects to log 20070726
3 BOM_DELETION_FLAG Instance method Protected Method Set deletion flag in equipment bom(s) 20070523
4 CALCULATE_LINE_KEYS_XML Instance method Private Method calculate hierarchy information 20081029
5 CALL_BADI_ADD_ACTIVITIES Instance method Private Method Call BADI to perform additional handover activies 20070521
6 CALL_BADI_FILE_EXCHANGE Instance method Private Method Call BADI to modify handover file 20070522
7 CHECK_AND_ENQUEUE_PHINH Instance method Protected Method Check and Enqueue PHINH 20070102
8 CONVERT_MESSAGE_TO_TEXT Instance method Private Method convert T100-message to short+longtext 20070522
9 CONVERT_MESS_TO_LOGFILE Instance method Private Method convert T100-messages to textual logfile 20070522
10 CREATE_PHINH Instance method Protected Method Create Name of Handover File 20061201
11 CREATE_RECORD Instance method Public Method Create record 20061214
12 DX_MAP_2_GDT_NAMES Instance method Protected Method map Data Exchange Structure to GDT 20070719
13 DX_PREPARE_TABLE_4_OUTPUT Instance method Protected Method Prepare Data Exchange Table for Output 20070627
14 DX_SENDER_ID Instance method Protected Method Add Sender ID to XML file 20070625
15 DX_TRANSFORM_2_XML Instance method Protected Method Transform Data Exchange Table to XML format 20070719
16 EQUIPMENT_DEACTIVATE Instance method Private Method deactivateequipments 20070525
17 FUNC_LOC_DEACTIVATE Instance method Private Method Set status 'deactivated' in functional locations 20070525
18 GET_PO_PROFILE Static method Public Method Read Handover Profile 20070521
19 GET_SYSTSTAT Instance method Private Method Get system status 20070601
20 HANDOVER_EQUIS Instance method Protected Method Handover equipments 20070524
21 HANDOVER_FUNCLOC Instance method Protected Method Handover functional location 20070417
22 MAINT_PLANS_DEACTIVATE Instance method Protected Method Deactivate maintenance plans 20070525
23 MEASUREMENT_POINTS_DEACTIVATE Instance method Private Method deactivate measurement points(EhP5) 20081027
24 PROFILE_ACTIONS Instance method Protected Method Follow Up Actions from Handover Profile 20061201
25 SAVE_PHINH Instance method Private Method Save PHINH on database and perform COMMIT 20070604
26 SET_NOTIFS_COMPLETED Instance method Protected Method set notifications 'completed' 20070525
27 SET_ORDER_STATUS_LOCKED Instance method Protected Method set pm/cs orders to -locked- 20070613
28 SET_SINGLE_ORDER_STATUS_LOCKED Instance method Private Method set single pm/cs order to locked- 20070613
Events
Class CL_PHIN_HANDOVER has no event.
Types
Class CL_PHIN_HANDOVER has no local type.
Method Signatures

Method ABEND_TRANSACTION Signature

Method ABEND_TRANSACTION on class CL_PHIN_HANDOVER has no parameter.
Method ABEND_TRANSACTION on class CL_PHIN_HANDOVER has no exception.

Method ADD_MESSAGE_OBJ_PROCESSED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070726
2 Importing IV_COUNT Call by reference Type reference (TYPE) I number of objects deactivated 20070726

Method ADD_MESSAGE_OBJ_PROCESSED on class CL_PHIN_HANDOVER has no exception.

Method BOM_DELETION_FLAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070523
2 Importing IT_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI Table Using Equipment Numbers 20070525
3 Importing IT_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO table with Functional Location 20070525
4 Importing IV_OTYPE Call by reference Type reference (TYPE) PHIN_D_TO_TYPE Type of Technical Object 20070523

Method BOM_DELETION_FLAG on class CL_PHIN_HANDOVER has no exception.

Method CALCULATE_LINE_KEYS_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DX Call by reference Type reference (TYPE) PHIN_T_DX Handover table 20081029

Method CALCULATE_LINE_KEYS_XML on class CL_PHIN_HANDOVER has no exception.

Method CALL_BADI_ADD_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070530
2 Importing IT_DX Call by reference Type reference (TYPE) PHIN_T_DX Data Exchange: Technical objects and Counter Readings 20070625
3 Importing IT_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI Transfer data for equipment hierarchy 20070530
4 Importing IT_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO Functional location: Output structure for ABAP lists 20070530
5 Importing IV_OTYPE Call by reference Type reference (TYPE) PHIN_D_TO_TYPE Type of Technical Object 20070521
6 Importing IV_PHINH Call by reference Type reference (TYPE) PHINH Header Table for Take Over 20080731
7 Importing IV_PROFILE Call by reference Type reference (TYPE) PHIN_D_PO_PROF Unique ID of a Handover Profile 20070521

Method CALL_BADI_ADD_ACTIVITIES on class CL_PHIN_HANDOVER has no exception.

Method CALL_BADI_FILE_EXCHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_HANDOVER_FILE Call by reference Type reference (TYPE) PHIN_T_DX Handover table: technical objects plus counter readings 20070522

Method CALL_BADI_FILE_EXCHANGE on class CL_PHIN_HANDOVER has no exception.

Method CHECK_AND_ENQUEUE_PHINH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070102
2 Importing IS_PHINH Call by reference Type reference (TYPE) PHINH Header Table for Take Over 20070102
3 Importing IV_ENQUEUE_FILENAME Call by reference Type reference (TYPE) BOOLEAN 'X' Enqueue filename? 20070604
4 Importing IV_LOCK_SCOPE Call by reference Type reference (TYPE) C '2' Scope of enqueue 20070611
# Exception Resumable Description Created on
1 ENQUEUE_FAILED 20070604

Method CONVERT_MESSAGE_TO_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TEXTS Call by reference Type reference (TYPE) DMS_TAB_TDLINE Table of TDLINE Entries for BAdI Calls 20070522
2 Importing IS_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2 Return parameter 20070522
3 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20070522

Method CONVERT_MESSAGE_TO_TEXT on class CL_PHIN_HANDOVER has no exception.

Method CONVERT_MESS_TO_LOGFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TEXTS Call by reference Type reference (TYPE) DMS_TAB_TDLINE Table of TDLINE Entries for BAdI Calls 20070522
2 Importing IT_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070522
3 Importing IT_MESS_FOR_LOG Call by reference Type reference (TYPE) BMINDEXTAB Table indexes 20080731

Method CONVERT_MESS_TO_LOGFILE on class CL_PHIN_HANDOVER has no exception.

Method CREATE_PHINH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PHINH Call by reference Type reference (TYPE) PHINH Header Table for Take Over 20070102
2 Importing IT_TOP_EQUIS Call by reference Type reference (TYPE) PHIN_T_HO_TOP_EQUIS Handover: selected top equipments 20090506
3 Importing IV_OBJNR Call by reference Type reference (TYPE) PHIN_D_OBJECT Status Object Number of Phase In Header 20061201
4 Importing IV_OTYPE Call by reference Type reference (TYPE) PHIN_D_TO_TYPE Type of techical object 20061201
5 Importing IV_SENDER_ID Call by reference Type reference (TYPE) PHIN_D_SENDER_ID Unique identification of handover sender 20081009

Method CREATE_PHINH on class CL_PHIN_HANDOVER has no exception.

Method CREATE_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PHINH Call by reference Type reference (TYPE) PHINH Header Table for Take Over 20070604
2 Exporting ET_MSG Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20061215
3 Importing IT_BACKEND_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070522
4 Importing IT_MESS_FOR_LOG Call by reference Type reference (TYPE) BMINDEXTAB Table indexes 20080731
5 Importing IV_XML_STR Call by reference Type reference (TYPE) XSTRING XML File 20061214

Method CREATE_RECORD on class CL_PHIN_HANDOVER has no exception.

Method DX_MAP_2_GDT_NAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DX_MAP Call by reference Type reference (TYPE) PHIN_T_HOTO Handover / Takeover Table 20070719
2 Importing IT_DX Call by reference Type reference (TYPE) PHIN_T_DX Data Exchange: Technical objects and Counter Readings 20070719

Method DX_MAP_2_GDT_NAMES on class CL_PHIN_HANDOVER has no exception.

Method DX_PREPARE_TABLE_4_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070628
2 Exporting EV_XML_STR Call by reference Type reference (TYPE) XSTRING Data Exchange: XML-String 20070627
3 Importing IT_DX Call by reference Type reference (TYPE) PHIN_T_DX Data Exchange: Technical objects and Counter Readings 20070627
4 Importing IV_SENDER_ID Call by reference Type reference (TYPE) PHIN_D_SENDER_ID Unique identification of handover sender 20081009

Method DX_PREPARE_TABLE_4_OUTPUT on class CL_PHIN_HANDOVER has no exception.

Method DX_SENDER_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SENDER_ID Value transfer Type reference (TYPE) PHIN_D_SENDER_ID Identifikation of Sender of XML file 20070625

Method DX_SENDER_ID on class CL_PHIN_HANDOVER has no exception.

Method DX_TRANSFORM_2_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070719
2 Exporting EV_XML_STR Call by reference Type reference (TYPE) XSTRING Data Exchange: XML-String 20070719
3 Importing IT_DX Call by reference Type reference (TYPE) PHIN_T_DX Data Exchange: Technical objects and Counter Readings 20070719
4 Importing IV_SENDER_ID Call by reference Type reference (TYPE) PHIN_D_SENDER_ID Unique identification of handover sender 20081009

Method DX_TRANSFORM_2_XML on class CL_PHIN_HANDOVER has no exception.

Method EQUIPMENT_DEACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070525
2 Importing IT_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI Table Using Equipment Numbers 20070525

Method EQUIPMENT_DEACTIVATE on class CL_PHIN_HANDOVER has no exception.

Method FUNC_LOC_DEACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070525
2 Importing IT_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO Table Using Functional Location Numbers 20070525

Method FUNC_LOC_DEACTIVATE on class CL_PHIN_HANDOVER has no exception.

Method GET_PO_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TPHIN_PO_ACT Call by reference Type reference (TYPE) TPHIN_PO_ACT Handover Profile 20070521
2 Importing IV_PROFILE Call by reference Type reference (TYPE) PHIN_D_PO_PROF Unique ID of a Handover Profile 20070521
# Exception Resumable Description Created on
1 PROFILE_NOT_FOUND 20070521

Method GET_SYSTSTAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SYSTSTAT Value transfer Type reference (TYPE) BAPI2080_NOTSTI BAPI Service notification system status 20070601

Method GET_SYSTSTAT on class CL_PHIN_HANDOVER has no exception.

Method HANDOVER_EQUIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070524
2 Exporting ET_DX Call by reference Type reference (TYPE) PHIN_T_DX Data Exchange: Technical objects and Counter Readings 20070626
3 Exporting ET_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI single equis+equis in expoded hierarchies 20070525
4 Exporting ET_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO Functional location: Output structure for ABAP lists 20070730
5 Exporting EV_XML_STR Call by reference Type reference (TYPE) XSTRING Exploded Equipment Hierarchy 20070524
6 Importing IT_TOP_EQUIS Call by reference Type reference (TYPE) PHIN_T_HO_TOP_EQUIS Table Using Equipment Numbers 20081015
7 Importing IV_SENDER_ID Call by reference Type reference (TYPE) PHIN_D_SENDER_ID Unique identification of handover sender 20081009
# Exception Resumable Description Created on
1 NO_HIERARCHY equi has no hierarchy 20070524

Method HANDOVER_FUNCLOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070417
2 Exporting ET_DX Call by reference Type reference (TYPE) PHIN_T_DX Data Exchange: Technical objects and Counter Readings 20070625
3 Exporting ET_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI Transfer data for equipment hierarchy 20070719
4 Exporting ET_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO exploded func. log. hierarchy 20070525
5 Exporting EV_XML_STR Call by reference Type reference (TYPE) XSTRING Exploded Equipment Hierarchy 20070417
6 Importing IT_TOP_EQUIS Call by reference Type reference (TYPE) PHIN_T_HO_TOP_EQUIS Handover: selected top equipments 20081020
7 Importing IV_SENDER_ID Call by reference Type reference (TYPE) PHIN_D_SENDER_ID Unique identification of handover sender 20081009
8 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR functional location 20070417
# Exception Resumable Description Created on
1 NO_HIERARCHY technical object has no hierarchy 20070417

Method MAINT_PLANS_DEACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070525
2 Importing IT_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI Table Using Equipment Numbers 20070525
3 Importing IT_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO table with Functional Location 20070525

Method MAINT_PLANS_DEACTIVATE on class CL_PHIN_HANDOVER has no exception.

Method MEASUREMENT_POINTS_DEACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20081027
2 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20081027

Method MEASUREMENT_POINTS_DEACTIVATE on class CL_PHIN_HANDOVER has no exception.

Method PROFILE_ACTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070122
2 Importing IT_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI Table Using Equipment Numbers 20070525
3 Importing IT_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO table with Functional Location 20070525
4 Importing IV_OTYPE Call by reference Type reference (TYPE) PHIN_D_TO_TYPE Type of Technical Object 20070521

Method PROFILE_ACTIONS on class CL_PHIN_HANDOVER has no exception.

Method SAVE_PHINH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PHINH Call by reference Type reference (TYPE) PHINH Header Table for Take Over 20070604

Method SAVE_PHINH on class CL_PHIN_HANDOVER has no exception.

Method SET_NOTIFS_COMPLETED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070525
2 Importing IT_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI Table Using Equipment Numbers 20070525
3 Importing IT_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO table with Functional Location 20070525

Method SET_NOTIFS_COMPLETED on class CL_PHIN_HANDOVER has no exception.

Method SET_ORDER_STATUS_LOCKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070613
2 Importing IT_RIHEQUI Call by reference Type reference (TYPE) PHIN_T_RIHEQUI Table Using Equipment Numbers 20070613
3 Importing IT_RIHIFLO Call by reference Type reference (TYPE) PHIN_T_RIHIFLO table with Functional Location 20070613

Method SET_ORDER_STATUS_LOCKED on class CL_PHIN_HANDOVER has no exception.

Method SET_SINGLE_ORDER_STATUS_LOCKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070613
2 Exporting EV_SUCCESS Call by reference Type reference (TYPE) BOOLEAN successfull status change? 20070615
3 Importing IV_AUFNR Call by reference Type reference (TYPE) AUFNR pm/cs order number 20070613

Method SET_SINGLE_ORDER_STATUS_LOCKED on class CL_PHIN_HANDOVER has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 700