SAP ABAP Class CL_KBAS_COSTCTRRPLCTN_API (API for Cost Center Replication)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CO-OM (Application Component) Overhead Cost Controlling
     KBAS_XI_PROXY (Package) Services and Proxies for OM
Properties
Class CL_KBAS_COSTCTRRPLCTN_API  
Short Description API for Cost Center Replication    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package KBAS_XI_PROXY   Services and Proxies for OM 
Created 20090303   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ZCL_KBAS_COSTCENTER_RPLCTN Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_KBAS_COSTCTRRPLCTN_API has no interface implemented.
Friends
Class CL_KBAS_COSTCTRRPLCTN_API has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DD_NO_ROLLBACK_ON_RETRY_ERROR Instance attribute Public Type reference (TYPE) FLAG General Indicator 20091031
2 DF_TEST_MODE Static Attribute Private Type reference (TYPE) FLAG General Indicator 20090303
3 G_MSG_DUMMY Instance attribute Private Type reference (TYPE) STRING 20091008
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_COSTCENTER Instance method Private Method Create cost center from work structure via BAPI 20090303
2 CHECK_COSTCTR_EXISTANCE Instance method Private Method Check work center existing in back end 20090303
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090303
4 CREATE_COSTCENTER Instance method Private Method Create cost center from work structure via BAPI 20090303
5 DELETE_COSTCENTER Instance method Private Method Create cost center from work structure via BAPI 20090303
6 DEQUEUE Instance method Private Method 20090805
7 FILL_MSG_CATEGORY Instance method Private Method 20090310
8 GET_KEY_STRING Instance method Private Method 20090508
9 GET_STANDARD_HRY_ROOT Instance method Private Method Get Standard Hierarchy Root Node 20090303
10 REPLICATE_FROM_WORK_STRUCTURE Instance method Public Method 20090303
11 UPDATE_COSTCTR_TEXT Instance method Private Method 20090303
12 UPDATE_WORK_STRUCTURE_BY_TRANS Instance method Private Method 20090303
Events
Class CL_KBAS_COSTCTRRPLCTN_API has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_INTERVAL Public See coding 20090805 BEGIN OF s_interval, VALID_FROM Type datab, VALID_TO Type DATBI, action type KBAS_DB_ACTION, old_data type BAPI0012_CCINPUTLIST, END OF s_interval
2 S_WORK_STRUCTURE Public Type reference (TYPE) KBAS_SX_COSTCTR_WORK_STRUC 20090303
3 T_INTERVAL Public See coding 20090805 t_interval type STANDARD TABLE OF s_interval
Method Signatures

Method CHANGE_COSTCENTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_VALID_FROM Call by reference Type reference (TYPE) DATAB Datum gültig ab 20090805
2 Importing ID_VALID_TO Call by reference Type reference (TYPE) DATBI Datum gültig bis 20090805
3 Importing IR_WORK_STRUC Call by reference Object reference (TYPE REF TO) S_WORK_STRUCTURE 20090303
4 Importing I_TEST_MODE Call by reference Type reference (TYPE) FLAG allgemeines flag 20090303
5 Returning RT_MESSAGE Value transfer Type reference (TYPE) APPLMSGTAB Fehlermeldungen 20090310

Method CHANGE_COSTCENTER on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method CHECK_COSTCTR_EXISTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INTERVAL Call by reference Type reference (TYPE) T_INTERVAL 20090805
2 Importing IR_KOSTL_KEY Call by reference Object reference (TYPE REF TO) KBAS_S_COSTCTR_KEY Keys of Cost Center Text 20090303
3 Exporting R_YES Call by reference Type reference (TYPE) FLAG allgemeines flag 20090805

Method CHECK_COSTCTR_EXISTANCE on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_KBAS_COSTCTRRPLCTN_API has no parameter.
Method CONSTRUCTOR on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method CREATE_COSTCENTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) APPLMSGTAB Fehlermeldungen 20090310
2 Importing ID_VALID_FROM Call by reference Type reference (TYPE) DATAB Datum gültig ab 20090805
3 Importing ID_VALID_TO Call by reference Type reference (TYPE) DATBI Datum gültig bis 20090805
4 Importing IR_WORK_STRUC Call by reference Object reference (TYPE REF TO) S_WORK_STRUCTURE 20090303
5 Importing I_TEST_MODE Call by reference Type reference (TYPE) FLAG allgemeines flag 20090303

Method CREATE_COSTCENTER on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method DELETE_COSTCENTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_WORK_STRUC Call by reference Object reference (TYPE REF TO) S_WORK_STRUCTURE 20090303
2 Importing I_TEST_MODE Call by reference Type reference (TYPE) FLAG allgemeines flag 20090303
3 Returning RT_MESSAGE Value transfer Type reference (TYPE) APPLMSGTAB Fehlermeldungen 20090310

Method DELETE_COSTCENTER on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_WORK_STRUCT Call by reference Object reference (TYPE REF TO) KBAS_SX_COSTCTR_WORK_STRUC Internal structure for cost center replication 20090805

Method DEQUEUE on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method FILL_MSG_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) APPLMSGTAB Rückgabetabelle für Meldungen 20090310

Method FILL_MSG_CATEGORY on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method GET_KEY_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_WORK_STRUC Call by reference Object reference (TYPE REF TO) S_WORK_STRUCTURE 20090508
2 Returning R_KEY_STRING Value transfer Type reference (TYPE) STRING 20090508

Method GET_KEY_STRING on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method GET_STANDARD_HRY_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_CCGROUP Call by reference Type reference (TYPE) KSTHI Einstelliges Kennzeichen 20090303
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) APPLMSGTAB Fehlermeldungen 20090310
3 Importing ID_CNTLAREA Call by reference Type reference (TYPE) KOKRS Kostenrechnungskreis 20090303

Method GET_STANDARD_HRY_ROOT on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method REPLICATE_FROM_WORK_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_TEST_MODE Call by reference Type reference (TYPE) FLAG allgemeines flag 20090303
2 Importing IO_TRANSPORT_REGISTER Call by reference Object reference (TYPE REF TO) CL_TRN_REGISTER 20090303
3 Importing IR_WORK_STRUC Call by reference Object reference (TYPE REF TO) DATA 20090303
4 Returning RT_MESSAGE Value transfer Type reference (TYPE) APPLMSGTAB Error Messages 20090310

Method REPLICATE_FROM_WORK_STRUCTURE on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method UPDATE_COSTCTR_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) APPLMSGTAB Fehlermeldungen 20090310
2 Importing ID_VALID_FROM Call by reference Type reference (TYPE) DATAB Datum gültig ab 20090805
3 Importing ID_VALID_TO Call by reference Type reference (TYPE) DATBI Datum gültig bis 20090805
4 Importing IF_NAME_COMPLETE_IND Call by reference Type reference (TYPE) FLAG allgemeines flag 20090417
5 Importing IS_COSTCTR_KEY Call by reference Type reference (TYPE) KBAS_S_COSTCTR_KEY Keys of Cost Center 20090417
6 Importing IT_COSTCTR_TEXT Call by reference Type reference (TYPE) KBAS_T_COSTCTR_NAME table type of cost center 20090417

Method UPDATE_COSTCTR_TEXT on class CL_KBAS_COSTCTRRPLCTN_API has no exception.

Method UPDATE_WORK_STRUCTURE_BY_TRANS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_CHANGED Call by reference Type reference (TYPE) FLAG allgemeines flag 20091008
2 Importing IR_WORK_STRUC Call by reference Object reference (TYPE REF TO) S_WORK_STRUCTURE table type of cost center 20090303
3 Importing IS_COSTCTR_LOCAL Call by reference Type reference (TYPE) BAPI0012_CCINPUTLIST Schnittstellenstruktur: Input-Liste Kostenstelle anlegen 20090805

Method UPDATE_WORK_STRUCTURE_BY_TRANS on class CL_KBAS_COSTCTRRPLCTN_API has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605