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 | 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 | Instance attribute | Protected | Type reference (TYPE) | YT_COKA | Cost Element Control Data | 20120125 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | YT_COKP | Control Data for Primary Planning | 20120125 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | YT_COKS | Control Data for Secondary Planning | 20120126 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | YT_IM_PLAN_BLOCK_AUTH | Data for IM Blocking Check | 20120424 | |||
| 5 | Static Attribute | Protected | Type reference (TYPE) | YT_INSTANCE | Instance Buffer | 20120117 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | YT_PERIOD | Periods of Fiscal Year | 20120118 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | YT_RECORD_CHECK | 20120510 | ||||
| 8 | Instance attribute | Protected | Type reference (TYPE) | YT_TKA00 | Kokrs Gjahr | 20120117 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | YT_TKA01 | Kokrs | 20120117 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | YT_TKA07 | Versn Gjahr | 20120117 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | YT_TKA09 | Versn | 20120117 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Calculate hash value from combinations table | 20120510 | |
| 2 | Instance method | Private | Constructor | 20120126 | ||
| 3 | Instance method | Public | Method | Get Cost Element Control Data | 20120125 | |
| 4 | Instance method | Public | Method | Get Control Data for Primary Planning | 20120125 | |
| 5 | Instance method | Public | Method | Get Control Data for Secondary Planning | 20120126 | |
| 6 | Instance method | Public | Method | Get Data for IM Blocking und Authority Check | 20120424 | |
| 7 | Static method | Public | Method | Factory | 20120117 | |
| 8 | Instance method | Public | Method | Get Controlling Area Data | 20120117 | |
| 9 | Instance method | Public | Method | Get Data of Periods of Fiscal Year | 20120118 | |
| 10 | Instance method | Public | Method | Get data from master data check (G_RECORD_CHECK) | 20120510 | |
| 11 | Instance method | Public | Method | Get Version Data | 20120118 | |
| 12 | Instance method | Private | Event handling method | Invalidate Buffer for Cost Element Control Data | 20120126 | |
| 13 | Instance method | Private | Method | Calculate hash value from periods table | 20120510 | |
| 14 | 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 | IT_COMB_FIELD | Call by reference | Type reference (TYPE) | TY_GMD02 | Table Type: Transfer Values for Creating Combinations | 20120510 | |||
| 2 | RV_HASH | Value transfer | Type reference (TYPE) | HASH160 | Hash Value (160 Bits) | 20120510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_GJAHR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20120125 | |||
| 2 | IV_HRKFT | Call by reference | Type reference (TYPE) | CO_SUBKEY | SPACE | CO key subnumber | 20120125 | ||
| 3 | IV_KSTAR | Call by reference | Type reference (TYPE) | KSTAR | Cost Element | 20120125 | |||
| 4 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20120125 | |||
| 5 | RS_COKA | Value transfer | Type reference (TYPE) | COKA | CO Object: Control Data for Cost Elements | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | not_found | 20120125 |
Method GET_COKP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | CO_VORGANG | CO Business Transaction | 20120125 | |||
| 2 | IV_BEKNZ | Call by reference | Type reference (TYPE) | BEKNZ | 'S' | Debit/credit indicator | 20120125 | ||
| 3 | IV_GJAHR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20120125 | |||
| 4 | IV_HRKFT | Call by reference | Type reference (TYPE) | CO_SUBKEY | SPACE | CO key subnumber | 20120125 | ||
| 5 | IV_KSTAR | Call by reference | Type reference (TYPE) | KSTAR | Cost Element | 20120125 | |||
| 6 | IV_LEDNR | Call by reference | Type reference (TYPE) | LEDNR | '00' | Ledger for Controlling objects | 20120125 | ||
| 7 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20120125 | |||
| 8 | IV_PARGB | Call by reference | Type reference (TYPE) | PARGB | SPACE | Trading Partner's Business Area | 20120125 | ||
| 9 | IV_TWAER | Call by reference | Type reference (TYPE) | TWAER | Transaction Currency | 20120125 | |||
| 10 | IV_VBUND | Call by reference | Type reference (TYPE) | RASSC | SPACE | Company ID of Trading Partner | 20120125 | ||
| 11 | IV_VERSN | Call by reference | Type reference (TYPE) | VERSN | Version | 20120125 | |||
| 12 | IV_WRTTP | Call by reference | Type reference (TYPE) | CO_WRTTP | '01' | Value Type | 20120125 | ||
| 13 | RS_COKP | Value transfer | Type reference (TYPE) | COKP | CO Object: Control Data for Primary Planning | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | COKP not found | 20120125 |
Method GET_COKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTIVITY | Call by reference | Type reference (TYPE) | CO_VORGANG | CO Business Transaction | 20120126 | |||
| 2 | IV_BEKNZ | Call by reference | Type reference (TYPE) | BEKNZ | 'S' | Debit/credit indicator | 20120126 | ||
| 3 | IV_GJAHR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20120126 | |||
| 4 | IV_HRKFT | Call by reference | Type reference (TYPE) | CO_SUBKEY | SPACE | CO key subnumber | 20120126 | ||
| 5 | IV_KSTAR | Call by reference | Type reference (TYPE) | KSTAR | Cost Element | 20120126 | |||
| 6 | IV_LEDNR | Call by reference | Type reference (TYPE) | LEDNR | '00' | Ledger for Controlling objects | 20120126 | ||
| 7 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object Number | 20120126 | |||
| 8 | IV_PAROB | Call by reference | Type reference (TYPE) | PAROB | Partner Object | 20120126 | |||
| 9 | IV_TWAER | Call by reference | Type reference (TYPE) | TWAER | Transaction Currency | 20120126 | |||
| 10 | IV_USPOB | Call by reference | Type reference (TYPE) | USPOB | 20120126 | ||||
| 11 | IV_VERSN | Call by reference | Type reference (TYPE) | VERSN | Version | 20120126 | |||
| 12 | IV_WRTTP | Call by reference | Type reference (TYPE) | CO_WRTTP | '01' | Value Type | 20120126 | ||
| 13 | RS_COKS | Value transfer | Type reference (TYPE) | COKS | CO Object: Control Data for Secondary Planning | 20120126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | CT_MESG | Call by reference | Type reference (TYPE) | IF_RSPLS_CR_TYPES=>TN_T_MESG | Table of Messages | 20120424 | |||
| 2 | EB_IS_INVALID | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120424 | |||
| 3 | IV_OBJNR | Value transfer | Type reference (TYPE) | J_OBJNR | Object Number | 20120424 | |||
| 4 | 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 | 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 | ES_TKA00 | Value transfer | Type reference (TYPE) | TKA00 | Control parameters for controlling areas | 20120117 | |||
| 2 | ES_TKA01 | Value transfer | Type reference (TYPE) | TKA01 | Controlling Areas | 20120117 | |||
| 3 | IV_GJAHR | Call by reference | Type reference (TYPE) | GJAHR | '0000' | Fiscal Year | 20120117 | ||
| 4 | IV_KOKRS | Call by reference | Type reference (TYPE) | KOKRS | Controlling Area | 20120117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120117 | |||
| 2 | 20120117 |
Method GET_PERIODS_OF_GJAHR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PERIOD | Call by reference | Type reference (TYPE) | KALC_T_PERIODS | For Internal Tables via PERIODS Structure | 20120118 | |||
| 2 | IV_GJAHR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20120118 | |||
| 3 | IV_KOKRS | Call by reference | Type reference (TYPE) | KOKRS | Controlling Area | 20120118 | |||
| 4 | IV_PERAB | Call by reference | Type reference (TYPE) | POPER | '001' | 20120118 | |||
| 5 | IV_PERBI | Call by reference | Type reference (TYPE) | POPER | '000' | 20120118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120118 | |||
| 2 | 20120118 | |||
| 3 | 20120118 |
Method GET_RECORD_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EB_IS_VALID | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120510 | |||
| 2 | ET_MESG | Call by reference | Type reference (TYPE) | IF_RSPLS_CR_TYPES=>TN_T_MESG | Table of Messages | 20120510 | |||
| 3 | IT_COMB_FIELD | Call by reference | Type reference (TYPE) | TY_GMD02 | Table Type: Transfer Values for Creating Combinations | 20120510 | |||
| 4 | IT_PERIOD | Call by reference | Type reference (TYPE) | KALC_T_PERIODS | For Internal Tables via PERIODS Structure | 20120510 | |||
| 5 | IV_ACTIVITY | Value transfer | Type reference (TYPE) | CO_VORGANG | CO Business Transaction | 20120510 | |||
| 6 | 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 | ES_TKA07 | Value transfer | Type reference (TYPE) | TKA07 | Fiscal-Year Dependent Version Parameters | 20120118 | |||
| 2 | ES_TKA09 | Value transfer | Type reference (TYPE) | TKA09 | Basic Settings for Versions | 20120118 | |||
| 3 | IV_ACTVT | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20120119 | |||
| 4 | IV_GJAHR | Call by reference | Type reference (TYPE) | GJAHR | '0000' | Fiscal Year | 20120118 | ||
| 5 | IV_KOKRS | Call by reference | Type reference (TYPE) | KOKRS | Controlling Area | 20120118 | |||
| 6 | IV_VERSN | Call by reference | Type reference (TYPE) | VERSN | Version | 20120118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120118 | |||
| 2 | 20120118 | |||
| 3 | 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 | IT_PERIOD | Call by reference | Type reference (TYPE) | KALC_T_PERIODS | Table Type: Transfer Values for Creating Combinations | 20120510 | |||
| 2 | RV_HASH | Value transfer | Type reference (TYPE) | HASH160 | Hash Value (160 Bits) | 20120510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IT_OBJNR | Value transfer | Type reference (TYPE) | YT_OBJNR | Table of Object Numbers | 20120424 | |||
| 2 | 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 |