SAP ABAP Class CL_FCOM_IP_APP_ENVIRONMENT (Application Environment (Buffer) Singleton)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   CO (Application Component) Controlling
     FCOM_PLANNING_CORE (Package) Planning
Properties
Class CL_FCOM_IP_APP_ENVIRONMENT  
Short Description Application Environment (Buffer) Singleton    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class FCOM_PLANNING_CORE    
Program status     
Category 0   
Package FCOM_PLANNING_CORE   Planning 
Created 20120117   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_RSPLS_CR_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FCOM_IP_APP_ENVIRONMENT has no interface implemented.
Friends
Class CL_FCOM_IP_APP_ENVIRONMENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_COKA Instance attribute Protected Type reference (TYPE) YT_COKA Cost Element Control Data 20120125
2 GT_COKP Instance attribute Protected Type reference (TYPE) YT_COKP Control Data for Primary Planning 20120125
3 GT_COKS Instance attribute Protected Type reference (TYPE) YT_COKS Control Data for Secondary Planning 20120126
4 GT_IM_PLAN_BLOCK_AUTH Instance attribute Protected Type reference (TYPE) YT_IM_PLAN_BLOCK_AUTH Data for IM Blocking Check 20120424
5 GT_INSTANCE Static Attribute Protected Type reference (TYPE) YT_INSTANCE Instance Buffer 20120117
6 GT_PERIOD Instance attribute Protected Type reference (TYPE) YT_PERIOD Periods of Fiscal Year 20120118
7 GT_RECORD_CHECK Instance attribute Protected Type reference (TYPE) YT_RECORD_CHECK 20120510
8 GT_TKA00 Instance attribute Protected Type reference (TYPE) YT_TKA00 Kokrs Gjahr 20120117
9 GT_TKA01 Instance attribute Protected Type reference (TYPE) YT_TKA01 Kokrs 20120117
10 GT_TKA07 Instance attribute Protected Type reference (TYPE) YT_TKA07 Versn Gjahr 20120117
11 GT_TKA09 Instance attribute Protected Type reference (TYPE) YT_TKA09 Versn 20120117
Methods
# Method Level Visibility Method type Description Created on
1 COMB_FIELD_2_HASH Instance method Private Method Calculate hash value from combinations table 20120510
2 CONSTRUCTOR Instance method Private Constructor 20120126
3 GET_COKA Instance method Public Method Get Cost Element Control Data 20120125
4 GET_COKP Instance method Public Method Get Control Data for Primary Planning 20120125
5 GET_COKS Instance method Public Method Get Control Data for Secondary Planning 20120126
6 GET_IM_PLAN_BLOCK_AUTH Instance method Public Method Get Data for IM Blocking und Authority Check 20120424
7 GET_INSTANCE Static method Public Method Factory 20120117
8 GET_KOKRS Instance method Public Method Get Controlling Area Data 20120117
9 GET_PERIODS_OF_GJAHR Instance method Public Method Get Data of Periods of Fiscal Year 20120118
10 GET_RECORD_CHECK Instance method Public Method Get data from master data check (G_RECORD_CHECK) 20120510
11 GET_VERSN Instance method Public Method Get Version Data 20120118
12 INVALIDATE_COKA Instance method Private Event handling method Invalidate Buffer for Cost Element Control Data 20120126
13 PERIOD_2_HASH Instance method Private Method Calculate hash value from periods table 20120510
14 PREFETCH_IM_PLAN_BLOCK_AUTH Instance method Public Method Prefetch of Data for IM Blocking und Authority Check 20120424
Events
Class CL_FCOM_IP_APP_ENVIRONMENT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_IM_PLAN_BLOCK_AUTH Protected See coding 20120424 BEGIN OF ys_im_plan_block_auth, versn TYPE versn, objnr TYPE j_objnr, is_invalid TYPE boole_d, t_mesg TYPE if_rspls_cr_types=>tn_t_mesg, END OF ys_im_plan_block_auth
2 YS_INSTANCE Protected See coding 20120117 ys_instance TYPE LINE OF yt_instance
3 YS_PERIOD Protected See coding 20120118 BEGIN OF ys_period, kokrs TYPE kokrs, gjahr TYPE gjahr, buper TYPE poper, datab TYPE datab, datbi TYPE datbi, END OF ys_period
4 YS_RECORD_CHECK Protected See coding 20120510 BEGIN OF ys_record_check, kokrs TYPE kokrs, activity TYPE co_vorgang, hash_comb_field TYPE hash160, hash_period TYPE hash160, is_valid TYPE boole_d, t_mesg TYPE if_rspls_cr_types=>tn_t_mesg, END OF ys_record_check
5 YT_COKA Protected See coding 20120125 yt_coka TYPE HASHED TABLE OF coka WITH UNIQUE KEY objnr gjahr kstar hrkft
6 YT_COKP Protected See coding 20120125 yt_cokp TYPE HASHED TABLE OF cokp WITH UNIQUE KEY lednr objnr gjahr wrttp versn kstar hrkft vrgng vbund pargb beknz twaer
7 YT_COKS Protected See coding 20120126 yt_coks TYPE HASHED TABLE OF coks WITH UNIQUE KEY lednr objnr gjahr wrttp versn kstar hrkft vrgng parob uspob beknz twaer
8 YT_IM_PLAN_BLOCK_AUTH Protected See coding 20120424 yt_im_plan_block_auth TYPE SORTED TABLE OF ys_im_plan_block_auth WITH UNIQUE KEY versn objnr
9 YT_INSTANCE Protected See coding 20120117 yt_instance TYPE STANDARD TABLE OF REF TO cl_fcom_ip_app_environment
10 YT_OBJNR Public See coding 20120424 YT_OBJNR type STANDARD TABLE OF ima_treetab
11 YT_PERIOD Protected See coding 20120118 yt_period TYPE SORTED TABLE OF ys_period WITH UNIQUE KEY kokrs gjahr buper
12 YT_RECORD_CHECK Protected See coding 20120510 yt_record_check TYPE SORTED TABLE OF ys_record_check WITH UNIQUE KEY kokrs activity hash_comb_field hash_period
13 YT_TKA00 Protected See coding 20120117 yt_tka00 TYPE HASHED TABLE OF tka00 WITH UNIQUE KEY kokrs gjahr
14 YT_TKA01 Protected See coding 20120117 yt_tka01 TYPE HASHED TABLE OF tka01 WITH UNIQUE KEY kokrs
15 YT_TKA07 Protected See coding 20120117 yt_tka07 TYPE HASHED TABLE OF tka07 WITH UNIQUE KEY kokrs versn gjahr
16 YT_TKA09 Protected See coding 20120117 yt_tka09 TYPE HASHED TABLE OF tka09 WITH UNIQUE KEY kokrs versn
Method Signatures

Method COMB_FIELD_2_HASH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_COMB_FIELD Call by reference Type reference (TYPE) TY_GMD02 Table Type: Transfer Values for Creating Combinations 20120510
2 Returning RV_HASH Value transfer Type reference (TYPE) HASH160 Hash Value (160 Bits) 20120510
# Exception Resumable Description Created on
1 FAILED Hash calculation failed 20120510

Method CONSTRUCTOR Signature

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

Method GET_COKA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120125
2 Importing IV_HRKFT Call by reference Type reference (TYPE) CO_SUBKEY SPACE CO key subnumber 20120125
3 Importing IV_KSTAR Call by reference Type reference (TYPE) KSTAR Cost Element 20120125
4 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20120125
5 Returning RS_COKA Value transfer Type reference (TYPE) COKA CO Object: Control Data for Cost Elements 20120125
# Exception Resumable Description Created on
1 NOT_FOUND not_found 20120125

Method GET_COKP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVITY Call by reference Type reference (TYPE) CO_VORGANG CO Business Transaction 20120125
2 Importing IV_BEKNZ Call by reference Type reference (TYPE) BEKNZ 'S' Debit/credit indicator 20120125
3 Importing IV_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120125
4 Importing IV_HRKFT Call by reference Type reference (TYPE) CO_SUBKEY SPACE CO key subnumber 20120125
5 Importing IV_KSTAR Call by reference Type reference (TYPE) KSTAR Cost Element 20120125
6 Importing IV_LEDNR Call by reference Type reference (TYPE) LEDNR '00' Ledger for Controlling objects 20120125
7 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20120125
8 Importing IV_PARGB Call by reference Type reference (TYPE) PARGB SPACE Trading Partner's Business Area 20120125
9 Importing IV_TWAER Call by reference Type reference (TYPE) TWAER Transaction Currency 20120125
10 Importing IV_VBUND Call by reference Type reference (TYPE) RASSC SPACE Company ID of Trading Partner 20120125
11 Importing IV_VERSN Call by reference Type reference (TYPE) VERSN Version 20120125
12 Importing IV_WRTTP Call by reference Type reference (TYPE) CO_WRTTP '01' Value Type 20120125
13 Returning RS_COKP Value transfer Type reference (TYPE) COKP CO Object: Control Data for Primary Planning 20120125
# Exception Resumable Description Created on
1 NOT_FOUND COKP not found 20120125

Method GET_COKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVITY Call by reference Type reference (TYPE) CO_VORGANG CO Business Transaction 20120126
2 Importing IV_BEKNZ Call by reference Type reference (TYPE) BEKNZ 'S' Debit/credit indicator 20120126
3 Importing IV_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120126
4 Importing IV_HRKFT Call by reference Type reference (TYPE) CO_SUBKEY SPACE CO key subnumber 20120126
5 Importing IV_KSTAR Call by reference Type reference (TYPE) KSTAR Cost Element 20120126
6 Importing IV_LEDNR Call by reference Type reference (TYPE) LEDNR '00' Ledger for Controlling objects 20120126
7 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20120126
8 Importing IV_PAROB Call by reference Type reference (TYPE) PAROB Partner Object 20120126
9 Importing IV_TWAER Call by reference Type reference (TYPE) TWAER Transaction Currency 20120126
10 Importing IV_USPOB Call by reference Type reference (TYPE) USPOB 20120126
11 Importing IV_VERSN Call by reference Type reference (TYPE) VERSN Version 20120126
12 Importing IV_WRTTP Call by reference Type reference (TYPE) CO_WRTTP '01' Value Type 20120126
13 Returning RS_COKS Value transfer Type reference (TYPE) COKS CO Object: Control Data for Secondary Planning 20120126
# Exception Resumable Description Created on
1 NOT_FOUND COKP not found 20120126

Method GET_IM_PLAN_BLOCK_AUTH 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 20120424
2 Exporting EB_IS_INVALID Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120424
3 Importing IV_OBJNR Value transfer Type reference (TYPE) J_OBJNR Object Number 20120424
4 Importing IV_VERSN Value transfer Type reference (TYPE) VERSN Version 20120424

Method GET_IM_PLAN_BLOCK_AUTH on class CL_FCOM_IP_APP_ENVIRONMENT has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_FCOM_IP_APP_ENVIRONMENT Application Environment (Buffer) 20120117

Method GET_INSTANCE on class CL_FCOM_IP_APP_ENVIRONMENT has no exception.

Method GET_KOKRS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TKA00 Value transfer Type reference (TYPE) TKA00 Control parameters for controlling areas 20120117
2 Exporting ES_TKA01 Value transfer Type reference (TYPE) TKA01 Controlling Areas 20120117
3 Importing IV_GJAHR Call by reference Type reference (TYPE) GJAHR '0000' Fiscal Year 20120117
4 Importing IV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20120117
# Exception Resumable Description Created on
1 NOT_FOUND 20120117
2 NOT_FOUND_GJAHR 20120117

Method GET_PERIODS_OF_GJAHR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PERIOD Call by reference Type reference (TYPE) KALC_T_PERIODS For Internal Tables via PERIODS Structure 20120118
2 Importing IV_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120118
3 Importing IV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20120118
4 Importing IV_PERAB Call by reference Type reference (TYPE) POPER '001' 20120118
5 Importing IV_PERBI Call by reference Type reference (TYPE) POPER '000' 20120118
# Exception Resumable Description Created on
1 ERROR_IN_PERIODS 20120118
2 GJAHR_NOT_FOUND 20120118
3 KOKRS_NOT_FOUND 20120118

Method GET_RECORD_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EB_IS_VALID Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120510
2 Exporting ET_MESG Call by reference Type reference (TYPE) IF_RSPLS_CR_TYPES=>TN_T_MESG Table of Messages 20120510
3 Importing IT_COMB_FIELD Call by reference Type reference (TYPE) TY_GMD02 Table Type: Transfer Values for Creating Combinations 20120510
4 Importing IT_PERIOD Call by reference Type reference (TYPE) KALC_T_PERIODS For Internal Tables via PERIODS Structure 20120510
5 Importing IV_ACTIVITY Value transfer Type reference (TYPE) CO_VORGANG CO Business Transaction 20120510
6 Importing IV_KOKRS Value transfer Type reference (TYPE) KOKRS Controlling Area 20120510

Method GET_RECORD_CHECK on class CL_FCOM_IP_APP_ENVIRONMENT has no exception.

Method GET_VERSN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TKA07 Value transfer Type reference (TYPE) TKA07 Fiscal-Year Dependent Version Parameters 20120118
2 Exporting ES_TKA09 Value transfer Type reference (TYPE) TKA09 Basic Settings for Versions 20120118
3 Importing IV_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20120119
4 Importing IV_GJAHR Call by reference Type reference (TYPE) GJAHR '0000' Fiscal Year 20120118
5 Importing IV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20120118
6 Importing IV_VERSN Call by reference Type reference (TYPE) VERSN Version 20120118
# Exception Resumable Description Created on
1 NOT_FOUND 20120118
2 NOT_FOUND_GJAHR 20120118
3 NO_AUTHORITY 20120118

Method INVALIDATE_COKA Signature

Method INVALIDATE_COKA on class CL_FCOM_IP_APP_ENVIRONMENT has no parameter.
Method INVALIDATE_COKA on class CL_FCOM_IP_APP_ENVIRONMENT has no exception.

Method PERIOD_2_HASH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PERIOD Call by reference Type reference (TYPE) KALC_T_PERIODS Table Type: Transfer Values for Creating Combinations 20120510
2 Returning RV_HASH Value transfer Type reference (TYPE) HASH160 Hash Value (160 Bits) 20120510
# Exception Resumable Description Created on
1 FAILED Hash calculation failed 20120510

Method PREFETCH_IM_PLAN_BLOCK_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OBJNR Value transfer Type reference (TYPE) YT_OBJNR Table of Object Numbers 20120424
2 Importing IV_VERSN Value transfer Type reference (TYPE) VERSN Version 20120424

Method PREFETCH_IM_PLAN_BLOCK_AUTH on class CL_FCOM_IP_APP_ENVIRONMENT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607