SAP ABAP Class CL_PHIN_BACKEND_FACTORY (PHIN - Distribution Factory)
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
Properties
Class CL_PHIN_BACKEND_FACTORY  
Short Description PHIN - Distribution Factory    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PHIN   Takeover/Handover of Technical Objects 
Created 20061116   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)
Interfaces
Class CL_PHIN_BACKEND_FACTORY has no interface implemented.
Friends
Class CL_PHIN_BACKEND_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GS_TPHIN_PI_PRO Static Attribute Private Type reference (TYPE) TPHIN_PI_PRO Takeover Profile Table 20090320
2 GT_FACTORY_CLASSES Static Attribute Protected Type reference (TYPE) TT_FACTORY_CLASSES Factory-Classes (Table) 20061116
Methods
# Method Level Visibility Method type Description Created on
1 ABEND_TAKEOVER Static method Public Method abend Takeover due to a system error 20070904
2 ABEND_TRANSACTION Static method Public Method abend transaction due to a system error 20070626
3 CHECK_AND_ENQUEUE_PHINH Static method Public Method Check and Enqueue PHINH 20070208
4 CHECK_TOP_OBJECT Static method Public Method Check top technical object for handover/manual takeover 20070705
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20061116
6 CREATE_AND_START_HAND_OVER Static method Public Method Create and start Handover 20061128
7 CREATE_AND_START_LOAD_CURRENT Static method Public Method Takeover: Create and start Load Current State 20070730
8 CREATE_AND_START_LOAD_TEMPLATE Static method Public Method Takeover: Create and start Load Template 20070731
9 CREATE_AND_START_LOAD_XML Static method Public Method Takeover: Create and start Load XML File 20070801
10 CREATE_AND_START_TAKE_OVER Static method Public Method Create and start Takeover 20061116
11 CREATE_RECORD Static method Public Method Create record 20070626
12 GET_ALL_PO_PROFILE_TEXTS Static method Public Method get all handover profile texts 20070626
13 GET_ALL_TO_PROFILE_TEXTS Static method Public Method get all takeover profile texts 20070709
14 GET_PI_PROFILE Static method Public Method read Takeover profile 20070726
15 GET_PO_PROFILE Static method Public Method read handover profile 20070626
16 GET_REF Static method Public Method Provide the Reference from the singleton 20061120
17 PREPARE_LOAD_XML Static method Public Method Takeover: Load XML-File, Map GDTs to internal names 20070813
Events
Class CL_PHIN_BACKEND_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_FACTORY_CLASSES Protected See coding Factory-Classes 20061116 BEGIN OF ts_factory_classes, reason TYPE phin_d_reason, classname TYPE seoclsname, instance_in TYPE REF TO if_phin_controller, instance_out TYPE REF TO if_phin_handover, instance_load_xml TYPE REF TO if_phin_load_xml, instance_load_curr_state TYPE REF TO if_phin_load_current_state, instance_load_template TYPE REF TO if_phin_load_template, instance_hierarchy TYPE REF TO if_phin_hierarchy, END OF ts_factory_classes
2 TT_FACTORY_CLASSES Protected See coding Factory-Classes (Table) 20061116 tt_factory_classes TYPE STANDARD TABLE OF ts_factory_classes
Method Signatures

Method ABEND_TAKEOVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 'T' 20070904
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no Takeover class found 20070904
2 ERROR_CREATE_INSTANCE instance could not be created 20070904

Method ABEND_TRANSACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 'H' 20070626
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no handover class found 20070626
2 ERROR_CREATE_INSTANCE instance could not be created 20070626

Method CHECK_AND_ENQUEUE_PHINH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILENAME Call by reference Type reference (TYPE) PHIN_D_FILE Phase In: File Name 20070213
2 Importing IV_LOCK_SCOPE Call by reference Type reference (TYPE) C '2' Scope of enqueue 20070611
3 Importing IV_PHIN_GUID Call by reference Type reference (TYPE) PHIN_D_PHINGUID Generic Key for Takeover/Handover 20070213
# Exception Resumable Description Created on
1 FILE_LOCKED File is locked by another user 20070213

Method CHECK_TOP_OBJECT 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) BAPIRETTAB messages from customer specific checks 20081007
2 Exporting EV_PLTXT Call by reference Type reference (TYPE) PLTXT Description of functional location 20070817
3 Exporting EV_TOP_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20081016
4 Exporting EV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20070815
5 Importing IV_CUST_CHECK_ONLY Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE Boolean Variable (X=True, -=False, Space=Unknown) 20081007
6 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20070705
7 Importing IV_PHINTYPE Call by reference Type reference (TYPE) PHIN_D_PHINTYPE Type of Takeover / Handover 20081007
8 Importing IV_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 20070705
9 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20070705
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND 20070705
2 CUSTOMER_CHECK_ERROR customer specific check throws error 20081007
3 ERROR_CREATE_INSTANCE 20070705
4 NO_HIERARCHY 20070705
5 NO_VALID_TOP_OBJECT no valid top t.o. according to ho/to-rules 20070705

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_PHIN_BACKEND_FACTORY has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PHIN_BACKEND_FACTORY has no exception.

Method CREATE_AND_START_HAND_OVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TOP_EQUIS Call by reference Type reference (TYPE) PHIN_T_HO_TOP_EQUIS Table Using Equipment Numbers 20081015
2 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20070417
3 Importing PC_OTYPE Call by reference Type reference (TYPE) PHIN_D_TO_TYPE Key of Phase In Object 20061212
4 Importing PC_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 'H' 20061128
5 Exporting PO_HANDOVER Call by reference Object reference (TYPE REF TO) IF_PHIN_HANDOVER if_phin_handover 20070122
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no handover class found 20070122
2 ERROR_CREATE_INSTANCE instance could not be created 20070122

Method CREATE_AND_START_LOAD_CURRENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EQUNR Call by reference Type reference (TYPE) EQUNR_TAB Table Using Equipment Numbers 20070730
2 Importing IV_MSG_DETAIL Call by reference Type reference (TYPE) PHIN_D_MSG_DETAIL detail level of takeover BAPI messages 20090312
3 Importing IV_PROFILE Call by reference Type reference (TYPE) PHIN_D_PI_PROF Takeover Profile: Unique ID 20070730
4 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20070730
5 Importing PC_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 20070730
6 Exporting PO_LOAD_CURR_STATE Value transfer Object reference (TYPE REF TO) IF_PHIN_LOAD_CURRENT_STATE IF_PHIN_TAKEOVER 20070730
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no takeover class found 20070730
2 ERROR_CREATE_INSTANCE instance could not be created 20070730
3 OBJECT_LOCKED Object is already in use 20070730

Method CREATE_AND_START_LOAD_TEMPLATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EQUNR Call by reference Type reference (TYPE) EQUNR_TAB Table Using Equipment Numbers 20070731
2 Importing IV_MSG_DETAIL Call by reference Type reference (TYPE) PHIN_D_MSG_DETAIL detail level of takeover BAPI messages 20090312
3 Importing IV_PREFIX Call by reference Type reference (TYPE) ILOM_STRNO Prefix for new Functional Location 20070806
4 Importing IV_PROFILE Call by reference Type reference (TYPE) PHIN_D_PI_PROF Takeover Profile: Unique ID 20070731
5 Importing IV_TPLNR Call by reference Type reference (TYPE) TPLNR Functional Location 20070731
6 Importing PC_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 20070731
7 Returning PO_LOAD_TEMPLATE Value transfer Object reference (TYPE REF TO) IF_PHIN_LOAD_TEMPLATE IF_PHIN_LOAD_TEMPLATE 20070731
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no takeover class found 20070731
2 ERROR_CREATE_INSTANCE instance could not be created 20070731
3 OBJECT_LOCKED Object is already in use 20070731

Method CREATE_AND_START_LOAD_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DX Call by reference Type reference (TYPE) PHIN_T_DX Data Exchange: Technical objects and Counter Readings 20070801
2 Importing IV_FILENAME Call by reference Type reference (TYPE) PHIN_D_FILE Phase In: File Name 20070801
3 Importing IV_FILE_AS_XML Call by reference Type reference (TYPE) XSTRING 20070801
4 Importing IV_MSG_DETAIL Call by reference Type reference (TYPE) PHIN_D_MSG_DETAIL detail level of takeover BAPI messages 20090312
5 Importing IV_PROFILE Call by reference Type reference (TYPE) PHIN_D_PI_PROF Takeover Profile: Unique ID 20070801
6 Importing PC_REASON Call by reference Type reference (TYPE) PHIN_D_REASON Reason 20070801
7 Exporting PO_LOAD_XML Value transfer Object reference (TYPE REF TO) IF_PHIN_LOAD_XML if_phin_takeover 20070801
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no takeover class found 20070801
2 ERROR_CREATE_INSTANCE instance could not be created 20070801
3 FILE_LOCKED File is already in use 20070801

Method CREATE_AND_START_TAKE_OVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FILENAME Call by reference Type reference (TYPE) PHIN_D_FILE Phase In: File Name 20061219
2 Importing IV_PHINH Call by reference Type reference (TYPE) PHINH Header Table for Take Over 20070711
3 Importing PC_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 'T' Grund der Verteilung 20061116
4 Returning PO_TAKEOVER Value transfer Object reference (TYPE REF TO) IF_PHIN_CONTROLLER 20061117
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no takeover class found 20070122
2 ERROR_CREATE_INSTANCE instance could not be created 20070122
3 FILE_LOCKED File is locked by another user 20070208

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 20070626
2 Exporting ET_MSG Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20070626
3 Importing IT_BACKEND_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20070626
4 Importing IT_MESS_FOR_LOG Call by reference Type reference (TYPE) BMINDEXTAB Messages that shall be stored in record 20080731
5 Importing IV_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 20070626
6 Importing IV_XML_STR Call by reference Type reference (TYPE) XSTRING 20070626
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no handover class found 20070626
2 ERROR_CREATE_INSTANCE instance could not be created 20070626

Method GET_ALL_PO_PROFILE_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PHIN_PO_ACTT Call by reference Type reference (TYPE) PHIN_T_PO_ACTT PHIN: table type for Handover Profile texts 20070626
2 Importing IV_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 'H' 20070626
3 Importing IV_SPRAS Call by reference Type reference (TYPE) SPRAS SY-LANGU Language Key 20070626
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no handover class found 20070626
2 ERROR_CREATE_INSTANCE instance could not be created 20070626

Method GET_ALL_TO_PROFILE_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PHIN_PI_PROT Call by reference Type reference (TYPE) PHIN_T_PI_PROT PHIN: table type for Takeover Profile texts 20070709
2 Importing IV_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 'T' 20070709
3 Importing IV_SPRAS Call by reference Type reference (TYPE) SPRAS SY-LANGU Language Key 20070709
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no handover class found 20070709
2 ERROR_CREATE_INSTANCE instance could not be created 20070709

Method GET_PI_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TPHIN_PI_PRO Call by reference Type reference (TYPE) TPHIN_PI_PRO Takeover Profile Table 20070726
2 Importing IV_PROFILE Call by reference Type reference (TYPE) PHIN_D_PI_PROF Takeover Profile: Unique ID 20070726
# Exception Resumable Description Created on
1 PROFILE_NOT_FOUND 20070726

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 20070626
2 Importing IV_PROFILE Call by reference Type reference (TYPE) PHIN_D_PO_PROF Unique ID of a Handover Profile 20070626
3 Importing IV_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 'H' 20070626
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no handover class found 20070626
2 ERROR_CREATE_INSTANCE instance could not be created 20070626
3 PROFILE_NOT_FOUND 20070626

Method GET_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning INSTANCE Value transfer Object reference (TYPE REF TO) IF_PHIN_CONTROLLER Interface for Phin Factory 20061120
2 Importing PC_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 20061120

Method GET_REF on class CL_PHIN_BACKEND_FACTORY has no exception.

Method PREPARE_LOAD_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 20070813
2 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING 20070814
3 Importing IV_FILE_AS_XML Call by reference Type reference (TYPE) XSTRING 20070813
4 Importing IV_MSG_DETAIL Call by reference Type reference (TYPE) PHIN_D_MSG_DETAIL detail level of takeover BAPI messages 20090312
5 Importing IV_PROFILE Call by reference Type reference (TYPE) PHIN_D_PI_PROF Takeover Profile: Unique ID 20070813
6 Importing PC_REASON Call by reference Type reference (TYPE) PHIN_D_REASON 20070813
# Exception Resumable Description Created on
1 CLASS_NOT_FOUND no takeover class found 20070813
2 ERROR_CREATE_INSTANCE instance could not be created 20070813
History
Last changed by/on SAP  20100310 
SAP Release Created in 700