SAP ABAP Class CL_PC_READ (Project Costing Read Methods)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CO (Application Component) Controlling
     KPC_XI_PROXY (Package) Project Costing
Properties
Class CL_PC_READ  
Short Description Project Costing Read Methods    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package KPC_XI_PROXY   Project Costing 
Created 20090318   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_PC_READ has no forward declaration.
Interfaces
Class CL_PC_READ has no interface implemented.
Friends
Class CL_PC_READ has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_ACPOS_SEL Instance attribute Private Type reference (TYPE) TCOSEL TableType COSEL2 20090407
2 MT_FIPEX Instance attribute Private Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090506
3 MT_KSTAR Instance attribute Private Type reference (TYPE) KPC_KOKRS_KSTAR_T Cost Element 20090323
4 MT_KSTAR_SEL Instance attribute Private Type reference (TYPE) KPC_COSEL2_T Standard Table with COSEL Structure 20090401
5 MT_LINE_ITEM_ACTUAL Instance attribute Private Type reference (TYPE) KPC_LINE_ITEM_ACTUAL_T Table type Line Item Actual 20090331
6 MT_LINE_ITEM_COMMITMENT Instance attribute Private Type reference (TYPE) KPC_LINE_ITEM_COMMITMENT_T Commitment Line Items 20090401
7 MT_LINE_ITEM_PAYMENT Instance attribute Private Type reference (TYPE) KPC_LINE_ITEM_PAYMENT_T Table Payment Line Item 20090401
8 MT_OBJECTNUMBERS Instance attribute Private Type reference (TYPE) KPC_OBJECTNUMBERS_T Table Type for KPC_OBJECTNUMBERS 20090323
9 MT_PERIOD_TOTALS Instance attribute Private Type reference (TYPE) KPC_PERIOD_TOTAL_T PeriodTotals 20090331
10 MT_PERIOD_TOTALS_PAYMENT Instance attribute Private Type reference (TYPE) KPC_PERIOD_TOTAL_PAYMENT_T Period Total Payment 20090331
11 MT_POSIT Instance attribute Private Type reference (TYPE) TCOSEL Selection table with field name 20090323
12 MT_POSIT_2_FIPEXFIKRS Instance attribute Private Type reference (TYPE) KPC_POSIT_2_FIPEXFIKRS_T mapping struct 20090511
13 MT_PROJECT_OBJECTS Instance attribute Private Type reference (TYPE) KPC_PROJECT_OBJECTS_T Table Type of structure KPC_PROJECT_OBJECTS 20090323
14 MT_RETURN Instance attribute Private Type reference (TYPE) BAPIRET2_T Return parameter table 20090331
15 MT_WRTTP Instance attribute Private Type reference (TYPE) KPC_WRTTP_T Table Type for WRTTP 20090323
16 MV_END_PERIOD Instance attribute Private Type reference (TYPE) PERBL Period block 20090324
17 MV_MAX_NUMBER Instance attribute Private Type reference (TYPE) INT4 Natural Number 20090402
18 MV_PROJECT_OBJECT Instance attribute Private Type reference (TYPE) KPC_PROJECT_OBJECT Project object and type 20090323
19 MV_RESPONSE_PROC_COND Instance attribute Private Type reference (TYPE) KPC_RESPONSE_PROC_COND Response Processing Conditions 20090402
20 MV_START_PERIOD Instance attribute Private Type reference (TYPE) PERBL Period block 20090324
21 MV_VERSION Instance attribute Private Type reference (TYPE) VERSN Version 20090323
22 MV_YEAR Instance attribute Private Type reference (TYPE) GJAHR Fiscal Year 20090323
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTH Instance method Private Method Check Authority 20090326
2 CHECK_COST_ELEMENT Instance method Private Method Check cost element 20090323
3 CHECK_VERSION Instance method Private Method Check version 20090323
4 DETERMINE_OBJECT_NUMBERS Instance method Public Method Determine the internal object number and controlling area 20090323
5 FILL_KSTAR Instance method Private Method Fill KSTAR 20090401
6 FILL_OPWAER Instance method Private Method Fill the operational currency 20090406
7 GET_KSTAR_TXT Instance method Private Method Returns kstar_txt for objectnr 20090406
8 GET_POSIT_FROM_FIPEX_FIKRS Instance method Private Method get POSIT from FIPEX-range and FIKRS 20090506
9 READ_FMSU_BY_ACPOS Instance method Private Method Read FSMU by ACPOS 20090505
10 READ_FMSU_BY_FIPEX Instance method Private Method 20090506
11 READ_LINE_ITEM_ACTUAL Instance method Public Method Read actual line items for a list of object numbers 20090323
12 READ_LINE_ITEM_COMMITMENT Instance method Public Method Read commitment line items for a list of object numbers 20090323
13 READ_LINE_ITEM_PAYMENT Instance method Public Method Read payment line items for a list of object numbers 20090323
14 READ_PERIOD_TOTALS Instance method Public Method Read period totals regarding actual, commitment and plan 20090323
15 READ_PERIOD_TOTALS_PAYMENT Instance method Public Method Read period totals regarding payments for a list of objects 20090323
16 READ_PT_BY_ACPOS Instance method Private Method Read by ACPOS 20090407
17 READ_PT_BY_KSTAR Instance method Private Method Read by KSTAR 20090407
18 RETRIEVE_DATA Instance method Public Method Retrieve Data from the instance 20090324
19 S_CHECK_TIME_ENTRIES Static method Public Method 20090511
20 S_CONVERT_SELECTIONS Static method Public Method 20090407
21 S_CREATE Static method Public Method Create an instance of class CL_PC_READ 20090323
22 S_CREATE_SELECT_STRING Static method Private Method Create Select String 20090326
23 S_FILL_TCOSEL_FROM_SEL Static method Public Method Fill TCOSEL from Selection 20090325
24 S_PROJECT_OBJECT_SELECTION Static method Public Method Translate the project object selection 20090401
Events
Class CL_PC_READ has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 COST_CONTROLLING_SELECTION Public See coding 20090407 BEGIN OF cost_controlling_selection, controller TYPE prxctrltab, inclusion_exclusion_code TYPE sapplco_incl_excl_code, interval_boundary_type_code TYPE sapplco_interval_boundary_type, lower_boundary_cost_controllin TYPE kpc_nosc_weapon_system_type_co, upper_boundary_cost_controllin TYPE kpc_nosc_weapon_system_type_co, END OF cost_controlling_selection
2 COST_CONTROLLING_SELECTION_T Public See coding 20090407 cost_controlling_selection_t TYPE STANDARD TABLE OF cost_controlling_selection
3 COST_ELEMENT_SELECTION Public See coding 20090407 BEGIN OF cost_element_selection, controller TYPE prxctrltab, inclusion_exclusion_code TYPE sapplco_incl_excl_code, interval_boundary_type_code TYPE sapplco_interval_boundary_type, lower_boundary_cost_element_id TYPE sapplco_cost_element_id, upper_boundary_cost_element_id TYPE sapplco_cost_element_id, END OF cost_element_selection
4 COST_ELEMENT_SELECTION_T Public See coding 20090407 cost_element_selection_t TYPE STANDARD TABLE OF cost_element_selection
5 FUNDS_MANAGEMENT_SELECTION Public See coding 20090407 BEGIN OF funds_management_selection, controller TYPE prxctrltab, inclusion_exclusion_code TYPE sapplco_incl_excl_code, interval_boundary_type_code TYPE sapplco_interval_boundary_type, lower_boundary_funds_managemen TYPE sapplco_nosc_funds_management3, upper_boundary_funds_managemen TYPE sapplco_nosc_funds_management3, END OF funds_management_selection
6 FUNDS_MANAGEMENT_SELECTION_T Public See coding 20090407 funds_management_selection_t TYPE STANDARD TABLE OF funds_management_selection
7 PROJECT_ELEMENT_SELECTION Public See coding 20090407 BEGIN OF project_element_selection, controller TYPE prxctrltab, inclusion_exclusion_code TYPE sapplco_incl_excl_code, interval_boundary_type_code TYPE sapplco_interval_boundary_type, lower_boundary_project_element TYPE sapplco_nosc_project_element_i, upper_boundary_project_element TYPE sapplco_nosc_project_element_i, project_element_type_code TYPE sapplco_proj_elmnt_type_cont, END OF project_element_selection
8 PROJECT_ELEMENT_SELECTION_T Public See coding 20090407 project_element_selection_t TYPE STANDARD TABLE OF project_element_selection
Method Signatures

Method CHECK_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20090326
2 Importing I_OBJECTNUMBERS Call by reference Type reference (TYPE) KPC_OBJECTNUMBERS Project Costing: project object, object number and CO area 20090326

Method CHECK_AUTH on class CL_PC_READ has no exception.

Method CHECK_COST_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20090323
2 Exporting EV_KTEXT Call by reference Type reference (TYPE) CHAR80 General Name 20090323
3 Importing IV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20090323
4 Importing IV_KSTAR Call by reference Type reference (TYPE) KSTAR Cost Element 20090323

Method CHECK_COST_ELEMENT on class CL_PC_READ has no exception.

Method CHECK_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20090323
2 Importing IV_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20090324

Method CHECK_VERSION on class CL_PC_READ has no exception.

Method DETERMINE_OBJECT_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) KPC_BAPIRET2_T Return Parameter 20090323
2 Importing IT_ACPOS_SEL Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090407
3 Importing IT_FIPEX Call by reference Type reference (TYPE) TCOSEL Selection table with field name 20090506
4 Importing IT_KSTAR_SEL Call by reference Type reference (TYPE) KPC_COSEL2_T Selection table with field name 20090401
5 Importing IT_NETWORK Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090325
6 Importing IT_NETWORK_ACT Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090325
7 Importing IT_VORNR Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090406
8 Importing IT_WBS_ELEMENT Call by reference Type reference (TYPE) KPC_RNG_POSID_T Standard Table with COSEL Structure 20090325
9 Importing I_DETERMINE_FIKRS Call by reference Type reference (TYPE) BOOLEAN ' ' Whether FIKRS should be determined 20090527

Method DETERMINE_OBJECT_NUMBERS on class CL_PC_READ has no exception.

Method FILL_KSTAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KOKRS Call by reference Type reference (TYPE) KOKRS Controlling Area 20090401

Method FILL_KSTAR on class CL_PC_READ has no exception.

Method FILL_OPWAER Signature

Method FILL_OPWAER on class CL_PC_READ has no parameter.
Method FILL_OPWAER on class CL_PC_READ has no exception.

Method GET_KSTAR_TXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KSTAR Call by reference Type reference (TYPE) KSTAR Cost Element 20090406
2 Importing I_OBJECT Call by reference Type reference (TYPE) KPC_OBJECTNUMBERS Object number 20090406
3 Returning R_KSTAR_TXT Value transfer Type reference (TYPE) CHAR80 Char 80 20090406

Method GET_KSTAR_TXT on class CL_PC_READ has no exception.

Method GET_POSIT_FROM_FIPEX_FIKRS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIKRS Call by reference Type reference (TYPE) FIKRS Financial Management Area 20090506
2 Returning RT_POSIT Value transfer Type reference (TYPE) KPC_POSIT_T Table type for KPC_POSIT 20090506

Method GET_POSIT_FROM_FIPEX_FIKRS on class CL_PC_READ has no exception.

Method READ_FMSU_BY_ACPOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FMSU Value transfer Type reference (TYPE) KPC_FMSU_T Table Type of FMSU 20090505

Method READ_FMSU_BY_ACPOS on class CL_PC_READ has no exception.

Method READ_FMSU_BY_FIPEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FMSU Value transfer Type reference (TYPE) KPC_FMSU_T Table Type of FMSU 20090506

Method READ_FMSU_BY_FIPEX on class CL_PC_READ has no exception.

Method READ_LINE_ITEM_ACTUAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE_INTERVAL Call by reference Type reference (TYPE) KPC_DATE_INTERVAL Proxy Structure (generated) 20090326

Method READ_LINE_ITEM_ACTUAL on class CL_PC_READ has no exception.

Method READ_LINE_ITEM_COMMITMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KSTAR Call by reference Type reference (TYPE) COSEL Selection table with field name 20090323
2 Importing IV_POSTING_DATE_FROM Call by reference Type reference (TYPE) BUDAT Posting Date in the Document 20090323
3 Importing IV_POSTING_DATE_TO Call by reference Type reference (TYPE) BUDAT Posting Date in the Document 20090323

Method READ_LINE_ITEM_COMMITMENT on class CL_PC_READ has no exception.

Method READ_LINE_ITEM_PAYMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_POSIT Call by reference Type reference (TYPE) TCOSEL Selection table with field name 20090323
2 Importing IV_POSTING_DATE_FROM Call by reference Type reference (TYPE) BUDAT Posting Date in the Document 20090323
3 Importing IV_POSTING_DATE_TO Call by reference Type reference (TYPE) BUDAT Posting Date in the Document 20090323

Method READ_LINE_ITEM_PAYMENT on class CL_PC_READ has no exception.

Method READ_PERIOD_TOTALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_WRTTP Call by reference Type reference (TYPE) KPC_WRTTP_T Value type 20090323

Method READ_PERIOD_TOTALS on class CL_PC_READ has no exception.

Method READ_PERIOD_TOTALS_PAYMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_POSIT Call by reference Type reference (TYPE) TCOSEL Selection table with field name 20090323

Method READ_PERIOD_TOTALS_PAYMENT on class CL_PC_READ has no exception.

Method READ_PT_BY_ACPOS Signature

Method READ_PT_BY_ACPOS on class CL_PC_READ has no parameter.
Method READ_PT_BY_ACPOS on class CL_PC_READ has no exception.

Method READ_PT_BY_KSTAR Signature

Method READ_PT_BY_KSTAR on class CL_PC_READ has no parameter.
Method READ_PT_BY_KSTAR on class CL_PC_READ has no exception.

Method RETRIEVE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LINE_ITEM_ACTUAL Call by reference Type reference (TYPE) KPC_LINE_ITEM_ACTUAL_T Table type Line Item Actual 20090331
2 Exporting E_LINE_ITEM_COMMITMENT Call by reference Type reference (TYPE) KPC_LINE_ITEM_COMMITMENT_T Commitment Line Items 20090401
3 Exporting E_LINE_ITEM_PAYMENT Call by reference Type reference (TYPE) KPC_LINE_ITEM_PAYMENT_T Table Payment Line Item 20090401
4 Exporting E_PERIOD_TOTALS Call by reference Type reference (TYPE) KPC_PERIOD_TOTAL_T Period Totals 20090331
5 Exporting E_PERIOD_TOTALS_PAYMENT Call by reference Type reference (TYPE) KPC_PERIOD_TOTAL_PAYMENT_T Period Total Payment 20090331
6 Exporting E_RESPONSE_PROC_COND Call by reference Type reference (TYPE) KPC_RESPONSE_PROC_COND Boolean Variable (X=True, -=False, Space=Unknown) 20090402
7 Exporting E_RETURN Call by reference Type reference (TYPE) KPC_BAPIRET2_T Table Type for BAPIRET2 20090331

Method RETRIEVE_DATA on class CL_PC_READ has no exception.

Method S_CHECK_TIME_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CALLING_SERVICE Call by reference Type reference (TYPE) CHAR_02 20090511
2 Importing I_DATE_INTERVAL Call by reference Type reference (TYPE) KPC_DATE_INTERVAL Proxy Structure (generated) 20090511
3 Importing I_END_PERIOD Call by reference Type reference (TYPE) PERBL Period block 20090511
4 Importing I_START_PERIOD Call by reference Type reference (TYPE) PERBL Period block 20090511
5 Importing I_YEAR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20090511
6 Returning R_RETURN Value transfer Type reference (TYPE) BAPIRET2 Return Parameter 20090511

Method S_CHECK_TIME_ENTRIES on class CL_PC_READ has no exception.

Method S_CONVERT_SELECTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ACPOS_SEL Call by reference Type reference (TYPE) TCOSEL TableType COSEL2 20090407
2 Exporting ET_FIPEX_SEL Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090506
3 Exporting ET_KSTAR_SEL Call by reference Type reference (TYPE) KPC_COSEL2_T TableType COSEL2 20090407
4 Exporting ET_NETWORK Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090407
5 Exporting ET_NETWORK_ACT Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090407
6 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20090602
7 Exporting ET_VORNR Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090407
8 Exporting ET_WBS_ELEMENT Call by reference Type reference (TYPE) KPC_RNG_POSID_T Table type PS: Item range (ID: WBS element) 20090407
9 Importing IT_COST_CONTROLLING_SELECTION Call by reference Type reference (TYPE) COST_CONTROLLING_SELECTION_T 20090407
10 Importing IT_COST_ELEMENT_SELECTION Call by reference Type reference (TYPE) COST_ELEMENT_SELECTION_T 20090407
11 Importing IT_FUNDS_MANAGEMENT_SELECTION Call by reference Type reference (TYPE) FUNDS_MANAGEMENT_SELECTION_T 20090407
12 Importing IT_PROJECT_ELEMENT_SELECTION Call by reference Type reference (TYPE) PROJECT_ELEMENT_SELECTION_T 20090407

Method S_CONVERT_SELECTIONS on class CL_PC_READ has no exception.

Method S_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_END_PERIOD Call by reference Type reference (TYPE) PERBL Period block 20090324
2 Importing I_MAX_NUMBER Call by reference Type reference (TYPE) INT4 Number of max hits 20090402
3 Importing I_START_PERIOD Call by reference Type reference (TYPE) PERBL Period block 20090324
4 Importing I_VERSION Call by reference Type reference (TYPE) VERSN Version 20090324
5 Importing I_YEAR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20090324
6 Returning R_INSTANCE Value transfer Object reference (TYPE REF TO) CL_PC_READ Project Costing Read Methods 20090323

Method S_CREATE on class CL_PC_READ has no exception.

Method S_CREATE_SELECT_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_SEL_STRING Value transfer Type reference (TYPE) STRING 20090326
2 Importing IT_COSEL Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090326
3 Importing I_COSEL Call by reference Type reference (TYPE) COSEL Selection table with field name 20090605
4 Importing I_SEL_STRING Call by reference Type reference (TYPE) STRING 20090428

Method S_CREATE_SELECT_STRING on class CL_PC_READ has no exception.

Method S_FILL_TCOSEL_FROM_SEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELD Call by reference Type reference (TYPE) ANY Field Name 20090325
2 Importing I_INCL_EXCL_CODE Call by reference Type reference (TYPE) SAPPLCO_INCL_EXCL_CODE Proxy Data Element (Generated) 20090325
3 Importing I_INTERVAL_BOUNDARY_TYPE_CODE Call by reference Type reference (TYPE) SAPPLCO_INTERVAL_BOUNDARY_TYPE Proxy Data Element (generated) 20090325
4 Importing I_LOWER_BOUNDARY Call by reference Type reference (TYPE) ANY 20090325
5 Importing I_UPPER_BOUNDARY Call by reference Type reference (TYPE) ANY 20090325
6 Returning R_TCOSEL Value transfer Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090325

Method S_FILL_TCOSEL_FROM_SEL on class CL_PC_READ has no exception.

Method S_PROJECT_OBJECT_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NETWORK Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090401
2 Exporting ET_NETWORK_ACT Call by reference Type reference (TYPE) TCOSEL Standard Table with COSEL Structure 20090401
3 Exporting ET_WBS_ELEMENT Call by reference Type reference (TYPE) KPC_RNG_POSID_T Table type PS: Item range (ID: WBS element) 20090401
4 Importing IT_PROJECT_OBJECT_SELECTION Call by reference Type reference (TYPE) KPC_PROJECT_OBJECT_SELECTION_T Table of KPC_PROJECT_OBJECT_SELECTION 20090401

Method S_PROJECT_OBJECT_SELECTION on class CL_PC_READ has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 605