SAP ABAP Class CL_FPIA_SERVICES (Services for IoA)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-LOC (Application Component) Localization
     FPS_IOA (Package) Interest on Arrears
Properties
Class CL_FPIA_SERVICES  
Short Description Services for IoA    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class FPIA    
Program status     
Category 0   
Package FPS_IOA   Interest on Arrears 
Created 20080701   SAP 
Last change 20110908   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)
Interfaces
Class CL_FPIA_SERVICES has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_FPIA_FACTORY 20080703 Create instances of FPIA objects
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_AUTHORIZED_GROUP Instance attribute Protected Type reference (TYPE) FPIA_T_AUTHORIZED_GROUPS User groups for which a user has authorization 20080702
2 MT_AUTH_ACC_TYPE Instance attribute Protected Type reference (TYPE) TTY_AUTH_ACC_TYPE Table type for authority checks for account type 20080704
3 MT_AUTH_BUS_AREA Instance attribute Protected Type reference (TYPE) TTY_AUTH_BUS_AREA Table type for authority checks for business area 20080704
4 MT_AUTH_CC Instance attribute Protected Type reference (TYPE) TTY_AUTH_CC Table type for authority checks for company code 20080704
5 MT_AUTH_DOC_TYPE Instance attribute Protected Type reference (TYPE) TTY_AUTH_DOC_TYPE Table type for authority checks for document type 20080704
6 MT_AUTH_PLANT Instance attribute Protected Type reference (TYPE) TTY_AUTH_PLANT Table type for authority checks for plant 20080704
7 MT_CHECKED_REF Instance attribute Protected Type reference (TYPE) TTY_CHECKED_REF Table of already checked references 20080807
8 MT_DOCUMENT_FI Instance attribute Protected Type reference (TYPE) FPIA_T_DOCUMENT_FI FI document attributes 20080807
9 MT_DOCUMENT_MM Instance attribute Protected Type reference (TYPE) FPIA_T_DOCUMENT_MM MM document attributes 20080807
10 MT_FIELDSTAT Instance attribute Protected Type reference (TYPE) FPIA_T_FIELDSTAT Table type fo field status control for IoA fields 20080701
11 MT_USER_GROUP Instance attribute Protected Type reference (TYPE) FPIA_T_USER_GROUP Table type for user groups for IoA process 20080702
Methods
# Method Level Visibility Method type Description Created on
1 CALL_BADI Instance method Protected Method Call customer BAdI, provided to change field status control 20080703
2 CHECK_AUTHORIZATION Instance method Public Method Check the document authorizations for the user and activity 20080807
3 CHECK_AUTHORIZATION_FI Instance method Public Method Check the authorizations to access FI documents 20080703
4 CHECK_AUTHORIZATION_MM Instance method Public Method Check the authorization to access MM documents 20080703
5 CONSTRUCTOR Instance method Protected Constructor Constructor 20080701
6 DETERMINE_CHANGEABILITY Instance method Protected Method Determine if limit for changeability is reached 20080708
7 EVALUATE_CUSTOMIZING Instance method Protected Method Evaluate field status from customizing and user group 20080702
8 GET_AUTHORIZED_USER_GROUPS Instance method Public Method Return the assigned user groups for a user 20080702
9 GET_FIELD_STATUS_TABLE Instance method Public Method Return the field status control for IoA fields for user 20080702
10 IS_AUTHORIZED_FOR_ACC_TYPE Instance method Protected Method Perform authority check for account type 20080704
11 IS_AUTHORIZED_FOR_BUS_AREA Instance method Protected Method Perform authority check for business area 20080704
12 IS_AUTHORIZED_FOR_COMP_CODE Instance method Protected Method Perform authority check for company code 20080704
13 IS_AUTHORIZED_FOR_DOC_TYPE Instance method Protected Method Perform authority check for document type 20080704
14 IS_AUTHORIZED_FOR_PLANT Instance method Protected Method Perform MM authority check for plant 20080704
15 RAISE_NO_AUTHORIZATION Instance method Protected Method 20080724
16 READ_FIELDSTAT_DB Instance method Protected Method Read the field status customizing 20080701
17 READ_USER_GROUPS_DB Instance method Protected Method Read the user groups from the customizing 20080701
18 RETRIEVE_DB_INFO_FI Instance method Protected Method Get the info for authorization check from DB or buffer 20080807
19 RETRIEVE_DB_INFO_MM Instance method Protected Method Get the info for authorization check from DB 20080807
Events
Class CL_FPIA_SERVICES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 ACC_TYPE Protected Type reference (TYPE) KOART 20080807
2 ACTIVITY Protected Type reference (TYPE) ACTIV_AUTH 20080807
3 STY_AUTH_ACC_TYPE Protected See coding Structure for authority checks for account type 20080704 begin of STY_AUTH_ACC_TYPE . types acc_type TYPE koart. types activity TYPE activ_auth. types user_name TYPE syuname. types authorized TYPE boole_d. types end of STY_AUTH_ACC_TYPE
4 STY_AUTH_BUS_AREA Protected See coding Structure for authority checks for business area 20080704 begin of STY_AUTH_BUS_AREA . types bus_area TYPE gsber. types activity TYPE activ_auth. types user_name TYPE syuname. types authorized TYPE boole_d. types end of STY_AUTH_BUS_AREA
5 STY_AUTH_CC Protected See coding Structure for authority checks for company code 20080704 begin of STY_AUTH_CC . types flag TYPE char1. types comp_code TYPE bukrs. types activity TYPE activ_auth. types user_name TYPE syuname. types authorized TYPE boole_d. types end of STY_AUTH_CC
6 STY_AUTH_DOC_TYPE Protected See coding Structure for authority checks for document type 20080704 begin of STY_AUTH_DOC_TYPE . types doc_type TYPE blart. types activity TYPE activ_auth. types user_name TYPE syuname. types authorized TYPE boole_d. types end of STY_AUTH_DOC_TYPE
7 STY_AUTH_PLANT Protected See coding Structure for authority checks for plant 20080704 begin of STY_AUTH_PLANT . types plant TYPE werks. types activity TYPE activ_auth. types user_name TYPE syuname. types authorized TYPE boole_d. types end of STY_AUTH_PLANT
8 STY_CHECKED_REF Protected See coding Structrure for checked interest references 20080807 begin of STY_CHECKED_REF . types interest_ref TYPE REF TO cl_fpia_srv_interest. types activity TYPE activ_auth. types user_name TYPE syuname. types authorized TYPE boole_d. types end of STY_CHECKED_REF
9 TTY_AUTH_ACC_TYPE Protected See coding Table type for authority checks for account type 20080704 TTY_AUTH_ACC_TYPE type hashed table of STY_AUTH_ACC_TYPE with unique key acc_type ACTIVITY user_name
10 TTY_AUTH_BUS_AREA Protected See coding Table type for authority checks for business area 20080704 TTY_AUTH_BUS_AREA type hashed table of STY_AUTH_BUS_AREA with unique key bus_area ACTIVITY user_name
11 TTY_AUTH_CC Protected See coding Table type for authority checks for company code 20080704 TTY_AUTH_CC type hashed table of STY_AUTH_CC with unique key flag COMP_CODE ACTIVITY user_name
12 TTY_AUTH_DOC_TYPE Protected See coding Table type for authority checks for document type 20080704 TTY_AUTH_DOC_TYPE type hashed table of STY_AUTH_DOC_TYPE with unique key doc_type ACTIVITY user_name
13 TTY_AUTH_PLANT Protected See coding Table type for authority checks for plant 20080704 TTY_AUTH_PLANT type hashed table of STY_AUTH_PLANT with unique key plant ACTIVITY user_name
14 TTY_CHECKED_REF Protected See coding Table type for checked interest references 20080807 TTY_CHECKED_REF type hashed table of STY_CHECKED_REF with unique key interest_ref ACTIVITY user_name
Method Signatures

Method CALL_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FIELD_STATUS Call by reference Type reference (TYPE) FPIA_T_FIELDSTAT_RESULT Table type for result of field status control evaluation 20080703
2 Importing IO_FPIA_INTEREST Call by reference Object reference (TYPE REF TO) CL_FPIA_SRV_INTEREST Data Service Interest 20080703

Method CALL_BADI on class CL_FPIA_SERVICES has no exception.

Method CHECK_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SRV_INTEREST Call by reference Type reference (TYPE) FPIA_T_SRV_INTEREST Table Type for Interest Service 20080807
2 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20080807
3 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20080807
4 Returning RT_SRV_INTEREST Value transfer Type reference (TYPE) FPIA_T_SRV_INTEREST Table Type for Interest Service 20080807
# Exception Resumable Description Created on
1 CX_FPIA_COMMON_EXCEPTION Exception class for authorizations 20080807

Method CHECK_AUTHORIZATION_FI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) FPIA_S_DOCUMENT_FI Structure for FI documents 20080807
2 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20080703
3 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20080703
4 Returning RX_IS_AUTHORIZED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080807
# Exception Resumable Description Created on
1 CX_FPIA_AUTHORIZATION_ERROR Exception class for authorizations 20080703

Method CHECK_AUTHORIZATION_MM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) FPIA_S_DOCUMENT_MM Table type for MM documents 20080807
2 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20080703
3 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20080703
4 Returning RX_IS_AUTHORIZED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080807
# Exception Resumable Description Created on
1 CX_FPIA_AUTHORIZATION_ERROR 20080703

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_FPIA_SERVICES has no parameter.
# Exception Resumable Description Created on
1 CX_FPIA_CUSTOMIZING_ERROR Exception class for FPIA 20080702

Method DETERMINE_CHANGEABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FPIA_INTEREST Call by reference Object reference (TYPE REF TO) CL_FPIA_SRV_INTEREST Data Service Interest 20080708
2 Returning RX_IS_CHANGEABLE Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080708

Method DETERMINE_CHANGEABILITY on class CL_FPIA_SERVICES has no exception.

Method EVALUATE_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20080702
2 Returning RT_FIELD_STATUS Value transfer Type reference (TYPE) FPIA_T_FIELDSTAT_RESULT Table type for result of field status control evaluation 20080702
# Exception Resumable Description Created on
1 CX_FPIA_COMMON_EXCEPTION Super class for FPIA exceptions 20080702
2 CX_FPIA_CUSTOMIZING_ERROR Exception class for FPIA customizing error 20080702

Method GET_AUTHORIZED_USER_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20080702
2 Returning RT_AUTHORIZED_GROUP Value transfer Type reference (TYPE) FPIA_T_USER_GROUP Table type for authorized groups 20080702
# Exception Resumable Description Created on
1 CX_FPIA_AUTHORIZATION_ERROR Exception class for FPIA customizing error 20080702

Method GET_FIELD_STATUS_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FPIA_INTEREST Call by reference Object reference (TYPE REF TO) CL_FPIA_SRV_INTEREST Data Service Interest 20080703
2 Importing IX_INITIALIZE_FIRST Call by reference Type reference (TYPE) BOOLE_D Don't use buffered values 20080702
3 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20080702
4 Returning RT_FIELD_STATUS Value transfer Type reference (TYPE) FPIA_T_FIELDSTAT_RESULT Table type for result of field status control evaluation 20080702
# Exception Resumable Description Created on
1 CX_FPIA_AUTHORIZATION_ERROR Exception class for authorizations 20080702
2 CX_FPIA_COMMON_EXCEPTION Super class for FPIA exceptions 20080702
3 CX_FPIA_CUSTOMIZING_ERROR Exception class for FPIA customizing error 20080702

Method IS_AUTHORIZED_FOR_ACC_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACC_TYPE Call by reference Type reference (TYPE) KOART Account Type 20080704
2 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20080704
3 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME User Name 20080704
4 Returning RX_AUTHORIZED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080704

Method IS_AUTHORIZED_FOR_ACC_TYPE on class CL_FPIA_SERVICES has no exception.

Method IS_AUTHORIZED_FOR_BUS_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20080704
2 Importing I_BUS_AREA Call by reference Type reference (TYPE) GSBER Business Area 20080704
3 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME User Name 20080704
4 Returning RX_AUTHORIZED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080704

Method IS_AUTHORIZED_FOR_BUS_AREA on class CL_FPIA_SERVICES has no exception.

Method IS_AUTHORIZED_FOR_COMP_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20080704
2 Importing I_AUTH_OBJECT Call by reference Type reference (TYPE) CHAR10 Name of authority object for comp. code 20080704
3 Importing I_COMP_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20080704
4 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME User Name 20080704
5 Returning RX_AUTHORIZED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080704

Method IS_AUTHORIZED_FOR_COMP_CODE on class CL_FPIA_SERVICES has no exception.

Method IS_AUTHORIZED_FOR_DOC_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20080704
2 Importing I_DOC_TYPE Call by reference Type reference (TYPE) BLART Document Type 20080704
3 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME User Name 20080704
4 Returning RX_AUTHORIZED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080704

Method IS_AUTHORIZED_FOR_DOC_TYPE on class CL_FPIA_SERVICES has no exception.

Method IS_AUTHORIZED_FOR_PLANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20080704
2 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20080704
3 Importing I_USER_NAME Call by reference Type reference (TYPE) SYUNAME User Name 20080704
4 Returning RX_AUTHORIZED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080704

Method IS_AUTHORIZED_FOR_PLANT on class CL_FPIA_SERVICES has no exception.

Method RAISE_NO_AUTHORIZATION Signature

Method RAISE_NO_AUTHORIZATION on class CL_FPIA_SERVICES has no parameter.
# Exception Resumable Description Created on
1 CX_FPIA_AUTHORIZATION_ERROR Exception class for authorizations 20080724

Method READ_FIELDSTAT_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FIELDSTAT Value transfer Type reference (TYPE) FPIA_T_FIELDSTAT Table type fo field status control for IoA fields 20080701
# Exception Resumable Description Created on
1 CX_FPIA_CUSTOMIZING_ERROR Exception class for FPIA 20080701

Method READ_USER_GROUPS_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_USER_GROUP Value transfer Type reference (TYPE) FPIA_T_USER_GROUP Table type for user groups for IoA process 20080702
# Exception Resumable Description Created on
1 CX_FPIA_CUSTOMIZING_ERROR Exception class for FPIA 20080701

Method RETRIEVE_DB_INFO_FI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FI_KEY Call by reference Type reference (TYPE) FPIA_S_KEY_FI Key for Financial document 20080807
2 Returning RS_DOCUMENT_FI Value transfer Type reference (TYPE) FPIA_S_DOCUMENT_FI Structure for FI documents 20080807
# Exception Resumable Description Created on
1 CX_FPIA_COMMON_EXCEPTION Super class for FPIA exceptions 20080807

Method RETRIEVE_DB_INFO_MM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MM_KEY Call by reference Type reference (TYPE) FPIA_S_KEY_MM Key for Incoming Invoice (MM) 20080807
2 Returning RS_DOCUMENT_MM Value transfer Type reference (TYPE) FPIA_S_DOCUMENT_MM Structure for MM documents 20080807
# Exception Resumable Description Created on
1 CX_FPIA_COMMON_EXCEPTION Super class for FPIA exceptions 20080807
History
Last changed by/on SAP  20110908 
SAP Release Created in 100