SAP ABAP Class CL_FCOM_IP_UTIL (Helper Routines for CO Planning with BI-IP)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   CO (Application Component) Controlling
     FCOM_PLANNING_CORE (Package) Planning
Properties
Class CL_FCOM_IP_UTIL  
Short Description Helper Routines for CO Planning with BI-IP    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class FCOM_PLANNING_CORE    
Program status     
Category 0   
Package FCOM_PLANNING_CORE   Planning 
Created 20100915   SAP 
Last change 20130531   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 IF_RSPLS_CR_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FCOM_IP_UTIL has no interface implemented.
Friends
Class CL_FCOM_IP_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_PROJ_INFO Static Attribute Private Type reference (TYPE) YT_PROJ_INFO 20110110
2 MT_WBS_INFO Static Attribute Private Type reference (TYPE) YT_WBS_INFO 20101207
3 ST_KL_OBJECT_BUFFER Static Attribute Private Type reference (TYPE) YT_KL_OBJECT_BUFFER 20110902
Methods
# Method Level Visibility Method type Description Created on
1 DETERMINE_ACTIVITIES Static method Public Method Determine Activities from Cost Element Type list 20101111
2 DETERMINE_ACTIVITY Static method Public Method Determine Activity from Cost Element 20100915
3 DETERMINE_ACTIVITY_FOR_ACTIN Static method Public Method Determine Activity for Activity Input Planning 20110811
4 DETERMINE_ACTIVITY_FOR_ACTOUT Static method Public Method Activity Output: determine RKP2 or RKPL according to LATYP 20120220
5 DETERMINE_ACTIVITY_QUERY_FILTR Static method Public Method Determine Activity from Query Filter 20110131
6 DETERMINE_FILTER_ACTIVITIES Static method Public Method Determine Activities whilst filter by feasible cost ele catg 20101112
7 DETERMINE_KATYPES Static method Public Method Determine feasible cost element categories by VTDETAIL 20120417
8 DETERMINE_SENDER_VERSION Static method Public Method Determine Sender Version for access to COKL or COST 20110906
9 FILTER_DATA Static method Public Method 20110120
10 GET_DOM_VALUE_TEXT Static method Public Method 20101022
11 GET_KL_OBJECTS_LATYP_MANUAL Static method Public Method Read KL CO-Objets with LATYP manual ('1') for selection 20110901
12 GET_MAX_CHAR Static method Public Method 20110128
13 GET_MIN_CHAR Static method Public Method 20110128
14 GET_OBJNR_FOR_KS_KL Static method Public Method Get Object Number for Cost Center or Cost Ctr/Activity Type 20120417
15 GET_PROJ_INFO Static method Public Method 20110110
16 GET_WBS_INFO Static method Public Method 20101207
17 NORMALIZE_SELOPT Static method Public Method 20110120
18 READ_WBS_INFO Static method Public Method 20110110
19 _DETERMINE_ACTIVITY Static method Private Method Determine Activitiy form Cost element Type 20101111
Events
Class CL_FCOM_IP_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_KL_OBJECT_BUFFER Private See coding 20110902 BEGIN OF ys_kl_object_buffer, kokrs type kokrs, gjahr type gjahr, versn type versn, t_sel_kostl type yt_sel_kostl, t_sel_lstar type yt_sel_lstar, b_found type boole_d, t_objnr type yt_objnr, END OF ys_kl_object_buffer
2 YS_PROJ_INFO Public See coding 20110110 BEGIN OF ys_proj_info, psphi TYPE ps_psphi, pspid TYPE ps_pspid, curtype(2) TYPE c, profil TYPE bp_pprofil, plele TYPE bp_plele, bpge_allowed TYPE abap_bool, bpja_allowed TYPE abap_bool, END OF ys_proj_info
3 YS_WBS_INFO Public See coding 20101207 BEGIN OF ys_wbs_info, posid TYPE ps_posid, objnr TYPE j_objnr, pwpos TYPE ps_pwpos, plakz TYPE ps_plakz, fakkz TYPE ps_fakkz, plint TYPE plint, xstat TYPE ps_xstat, curtype(2) TYPE c, pspid TYPE ps_pspid, profil TYPE bp_pprofil, plele TYPE bp_plele, bpge_allowed TYPE abap_bool, bpja_allowed TYPE abap_bool, END OF ys_wbs_info
4 YT_ACTIVITY Public See coding 20101111 yt_activity TYPE STANDARD TABLE OF co_vorgang WITH DEFAULT KEY
5 YT_CSKAF Public See coding 20101112 yt_cskaf TYPE STANDARD TABLE OF cskaf WITH DEFAULT KEY
6 YT_KATYP Public See coding 20101111 yt_katyp TYPE STANDARD TABLE OF katyp WITH DEFAULT KEY
7 YT_KL_OBJECT_BUFFER Private See coding 20110902 yt_kl_object_buffer TYPE STANDARD TABLE OF ys_kl_object_buffer WITH DEFAULT KEY
8 YT_OBJNR Public See coding 20110901 yt_objnr TYPE standard TABLE OF j_objnr WITH DEFAULT KEY
9 YT_PERIOD Public See coding 20100915 yt_period TYPE STANDARD TABLE OF periods WITH DEFAULT KEY
10 YT_PROJ_INFO Public See coding 20110110 yt_proj_info TYPE SORTED TABLE OF ys_proj_info WITH UNIQUE KEY psphi
11 YT_SEL_KOSTL Public See coding 20110901 yt_sel_kostl TYPE RANGE OF kostl
12 YT_SEL_LSTAR Public See coding 20110901 yt_sel_lstar TYPE RANGE OF lstar
13 YT_WBS_INFO Public See coding 20101207 yt_wbs_info TYPE SORTED TABLE OF ys_wbs_info WITH UNIQUE KEY posid
Method Signatures

Method DETERMINE_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KATYP Value transfer Type reference (TYPE) YT_KATYP Cost Element 20101111
2 Returning RT_ACTIVITY Value transfer Type reference (TYPE) YT_ACTIVITY CO Business Transaction 20101111

Method DETERMINE_ACTIVITIES on class CL_FCOM_IP_UTIL has no exception.

Method DETERMINE_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESG Call by reference Type reference (TYPE) IF_RSPLS_CR_TYPES=>TN_T_MESG Table of Messages 20100915
2 Exporting EB_ERROR Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100915
3 Exporting ET_PERIOD Call by reference Type reference (TYPE) YT_PERIOD 20100915
4 Exporting EV_ACTIVITY Value transfer Type reference (TYPE) CO_VORGANG CO Business Transaction 20100915
5 Exporting EV_KATYP Value transfer Type reference (TYPE) KATYP Cost element category 20110412
6 Importing IB_IS_PSP_ORDER Value transfer Type reference (TYPE) BOOLE_D ABAP_TRUE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120130
7 Importing IV_GJAHR Value transfer Type reference (TYPE) GJAHR Fiscal Year 20100915
8 Importing IV_KOKRS Value transfer Type reference (TYPE) KOKRS Controlling Area 20100915
9 Importing IV_KSTAR Value transfer Type reference (TYPE) KSTAR Cost Element 20100915
10 Importing IV_LSTAR Value transfer Type reference (TYPE) LSTAR Activity Type 20120130
11 Importing IV_PERIO Value transfer Type reference (TYPE) POPER Posting period 20100915

Method DETERMINE_ACTIVITY on class CL_FCOM_IP_UTIL has no exception.

Method DETERMINE_ACTIVITY_FOR_ACTIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_ACTIVITY Value transfer Type reference (TYPE) CO_VORGANG CO Business Transaction 20110811
2 Importing IV_LSTAR Value transfer Type reference (TYPE) LSTAR Activity Type 20110811
3 Importing IV_VTDETAIL Value transfer Type reference (TYPE) NUM2 Detailing the value type 20111201

Method DETERMINE_ACTIVITY_FOR_ACTIN on class CL_FCOM_IP_UTIL has no exception.

Method DETERMINE_ACTIVITY_FOR_ACTOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120220
2 Importing IM_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20120220
3 Importing IM_KOSTL Call by reference Type reference (TYPE) KOSTL Cost Center 20120220
4 Importing IM_LSTAR Call by reference Type reference (TYPE) LSTAR Activity Type 20120220
5 Importing IM_PERIOD_TAB Call by reference Type reference (TYPE) KALC_T_PERIODS For Internal Tables via PERIODS Structure 20120220
6 Returning RE_ACTIVITY Value transfer Type reference (TYPE) CO_VORGANG IBusiness Transaction RKP2 or RKPL 20120220

Method DETERMINE_ACTIVITY_FOR_ACTOUT on class CL_FCOM_IP_UTIL has no exception.

Method DETERMINE_ACTIVITY_QUERY_FILTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EB_ERROR Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110131
2 Exporting EV_ACTIVITY Value transfer Type reference (TYPE) CO_VORGANG CO Business Transaction 20110131
3 Importing IV_LSTAR Value transfer Type reference (TYPE) LSTAR Activity Type 20120131
4 Importing IV_METYPE Value transfer Type reference (TYPE) FCOM_METYPE Key Figure Type 20110131
5 Importing IV_VTDETAIL Value transfer Type reference (TYPE) NUMC2 Two digit number 20110131

Method DETERMINE_ACTIVITY_QUERY_FILTR on class CL_FCOM_IP_UTIL has no exception.

Method DETERMINE_FILTER_ACTIVITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSKAF Call by reference Type reference (TYPE) YT_CSKAF 20101112
2 Exporting ET_ACTIVITY Call by reference Type reference (TYPE) YT_ACTIVITY 20101112
3 Importing IV_LSTAR Value transfer Type reference (TYPE) LSTAR Activity Type 20121220

Method DETERMINE_FILTER_ACTIVITIES on class CL_FCOM_IP_UTIL has no exception.

Method DETERMINE_KATYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COSEL Call by reference Type reference (TYPE) COSELTAB Standard Table for COSEL 20120417
2 Importing IB_IS_PSP_ORDER Value transfer Type reference (TYPE) BOOLE_D ABAP_TRUE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120417
3 Importing IV_VTDETAIL Value transfer Type reference (TYPE) NUMC2 Two digit number 20120417

Method DETERMINE_KATYPES on class CL_FCOM_IP_UTIL has no exception.

Method DETERMINE_SENDER_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IB_INTEGRATION_CHECK Value transfer Type reference (TYPE) BOOLE_D ABAP_TRUE Check whether object is integrated for planning 20120216
2 Importing IV_GJAHR Value transfer Type reference (TYPE) GJAHR Fiscal Year 20110906
3 Importing IV_KOKRS Value transfer Type reference (TYPE) KOKRS Controlling Area 20110906
4 Importing IV_PLINT Value transfer Type reference (TYPE) PLINT Indicator for Integrated Planning 20110906
5 Importing IV_VERSN Value transfer Type reference (TYPE) VERSN Version 20110906
6 Returning RV_SENDER_VERSN Value transfer Type reference (TYPE) VERSN Sender Version 20110906
# Exception Resumable Description Created on
1 VERSION_NOT_FOUND Version not found 20110906

Method FILTER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110120
2 Importing IT_FILTER Call by reference Type reference (TYPE) RSMD_RS_T_SELOPT Select options for master data read services 20110120

Method FILTER_DATA on class CL_FCOM_IP_UTIL has no exception.

Method GET_DOM_VALUE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOMNAME Call by reference Type reference (TYPE) DOMNAME Domain name 20101022
2 Importing I_VALUE Call by reference Type reference (TYPE) DATA 20101022
3 Returning R_TXT Value transfer Type reference (TYPE) STRING 20101022

Method GET_DOM_VALUE_TEXT on class CL_FCOM_IP_UTIL has no exception.

Method GET_KL_OBJECTS_LATYP_MANUAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IB_INTEGRATION_CHECK Value transfer Type reference (TYPE) BOOLE_D ABAP_TRUE Check whether object is integrated for planning 20120216
2 Importing IT_SEL_KOSTL Call by reference Type reference (TYPE) YT_SEL_KOSTL 20110901
3 Importing IT_SEL_LSTAR Call by reference Type reference (TYPE) YT_SEL_LSTAR 20110901
4 Importing IV_GJAHR Value transfer Type reference (TYPE) GJAHR Fiscal Year 20110901
5 Importing IV_KOKRS Value transfer Type reference (TYPE) KOKRS Controlling Area 20110901
6 Importing IV_PLINT Value transfer Type reference (TYPE) PLINT Indicator for Integrated Planning 20110901
7 Importing IV_VERSN Value transfer Type reference (TYPE) VERSN Version 20110901
8 Returning RT_OBJNR Value transfer Type reference (TYPE) YT_OBJNR 20110901

Method GET_KL_OBJECTS_LATYP_MANUAL on class CL_FCOM_IP_UTIL has no exception.

Method GET_MAX_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM InfoObject 20110128
2 Returning R_MAX Value transfer Type reference (TYPE) RSCHAVLEXT Field for any characteristic value (external display) 20110128

Method GET_MAX_CHAR on class CL_FCOM_IP_UTIL has no exception.

Method GET_MIN_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IOBJNM Call by reference Type reference (TYPE) RSIOBJNM InfoObject 20110128
2 Returning R_MIN Value transfer Type reference (TYPE) RSCHAVLEXT Field for any characteristic value (external display) 20110128

Method GET_MIN_CHAR on class CL_FCOM_IP_UTIL has no exception.

Method GET_OBJNR_FOR_KS_KL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GJAHR Value transfer Type reference (TYPE) GJAHR Fiscal Year 20120417
2 Importing IV_KOKRS Value transfer Type reference (TYPE) KOKRS Controlling Area 20120417
3 Importing IV_KOSTL Value transfer Type reference (TYPE) KOSTL Cost Center 20120417
4 Importing IV_LSTAR Value transfer Type reference (TYPE) LSTAR Activity Type 20120417
5 Returning RV_OBJNR Value transfer Type reference (TYPE) J_OBJNR Object Number 20120417
# Exception Resumable Description Created on
1 NOT_FOUND Not found 20120417

Method GET_PROJ_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MSG Call by reference Type reference (TYPE) BAL_S_MSG Message collector 20110110
2 Exporting ES_PROJ_INFO Call by reference Type reference (TYPE) YS_PROJ_INFO 20110110
3 Exporting EV_SUBRC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20110110
4 Importing IV_PSPHI Call by reference Type reference (TYPE) PS_PSPHI Work Breakdown Structure Element (WBS Element) 20110110

Method GET_PROJ_INFO on class CL_FCOM_IP_UTIL has no exception.

Method GET_WBS_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MSG Call by reference Type reference (TYPE) BAL_S_MSG Message collector 20110110
2 Exporting ES_WBS_INFO Call by reference Type reference (TYPE) YS_WBS_INFO 20101207
3 Exporting EV_SUBRC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20101207
4 Importing IV_POSID Call by reference Type reference (TYPE) PS_POSID Work Breakdown Structure Element (WBS Element) 20101207

Method GET_WBS_INFO on class CL_FCOM_IP_UTIL has no exception.

Method NORMALIZE_SELOPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_MUST_FILTER Call by reference Type reference (TYPE) FLAG General Flag 20110120
2 Exporting ET_SELOPT Call by reference Type reference (TYPE) RSMD_RS_T_SELOPT Select options for master data read services 20110120
3 Exporting ET_SELOPT_FILTER Call by reference Type reference (TYPE) RSMD_RS_T_SELOPT Select options for master data read services 20110120
4 Importing IS_SELOPT Call by reference Type reference (TYPE) RSMD_RS_S_SELOPT Select options for master data read services 20110120
5 Importing I_T_SELOPT_ALL Call by reference Type reference (TYPE) RSMD_RS_T_SELOPT Select options for master data read services 20110120

Method NORMALIZE_SELOPT on class CL_FCOM_IP_UTIL has no exception.

Method READ_WBS_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG Call by reference Type reference (TYPE) RS_T_MSG Message collector 20110110
2 Exporting ET_WBS_INFO Call by reference Type reference (TYPE) YT_WBS_INFO 20110110
3 Exporting EV_SUBRC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20110110
4 Importing IT_RANGE Call by reference Type reference (TYPE) RSDRI_T_RANGE BW Data Manager: Range List 20110110

Method READ_WBS_INFO on class CL_FCOM_IP_UTIL has no exception.

Method _DETERMINE_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CB_ERROR Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120130
2 Changing CT_MESG Call by reference Type reference (TYPE) IF_RSPLS_CR_TYPES=>TN_T_MESG Types for Characteristic Relationships 20120130
3 Exporting EV_ACTIVITY Value transfer Type reference (TYPE) CO_VORGANG CO Business Transaction 20120130
4 Importing IB_IS_PSP_ORDER Value transfer Type reference (TYPE) BOOLE_D ABAP_TRUE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120130
5 Importing IV_KATYP Value transfer Type reference (TYPE) KATYP Cost Element 20101111
6 Importing IV_KSTAR Value transfer Type reference (TYPE) KSTAR Cost Element 20120130
7 Importing IV_LSTAR Value transfer Type reference (TYPE) LSTAR Activity Type 20120130

Method _DETERMINE_ACTIVITY on class CL_FCOM_IP_UTIL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606