SAP ABAP Class CL_ACCOUNT_MMSRV (Class for accounting)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-SRV (Application Component) External Services
     MMSRV_SP_ACC (Package) Account Assignment: External Service Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_ACCOUNT_MMSRV Interface for Service Accounting Data 20060428
Properties
Class CL_ACCOUNT_MMSRV  
Short Description Class for accounting    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MMSRV_SP_ACC   Account Assignment: External Service Management 
Created 20060424   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ACCOUNT_MMSRV has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_ACCOUNT_MMSRV Interface for Service Accounting Data 20060428
Friends
Class CL_ACCOUNT_MMSRV has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MY_ACC_CATEGORY_CUST Instance attribute Private Type reference (TYPE) T163K Account Assignment Categories in Purchasing Document 20060424
2 MY_COMP_CODE Instance attribute Private Type reference (TYPE) T001 Company Codes 20060424
3 MY_EXT_HEADER Instance attribute Private Type reference (TYPE) SRV_EXT_HEADER Service External Header Data 20060424
4 MY_EXT_HEADERX Instance attribute Private Type reference (TYPE) SRV_EXT_HEADERX Service External Header Datax BAPI Update 20060424
5 MY_LIMIT_DATA Instance attribute Private Type reference (TYPE) SRV_LIMIT_ACCOUNT_DATA Accounting data passed by limit class 20060424
6 MY_MSG_KEY Instance attribute Private Type reference (TYPE) SRV_KEY Stores key of a service package 20060502
7 MY_REPEAT_ACC_KEY Static Attribute Public Type reference (TYPE) REPEAT_ACC_KEY 20100426
8 MY_REPEAT_ACC_OBJECT Instance attribute Private Type reference (TYPE) REPEAT_ACC_KEY 20120605
9 MY_SP_HEADER Instance attribute Private Type reference (TYPE) SRV_SP_HEADER SP Header 20060424
10 MY_T_ACC_LINE Instance attribute Private Type reference (TYPE) SRV_ACC_DATA_TTY Reference Structure For Account Assignment of Service Line 20060424
11 MY_T_ACC_LINEX Instance attribute Private Type reference (TYPE) SRV_ACC_DATAX_TTY BAPI interface for service line accounts 20060424
12 MY_T_ACC_LINE_OLD Instance attribute Private Type reference (TYPE) SRV_ACC_DATA_TTY Reference Structure For Account Assignment of Service Line 20060502
13 MY_T_ACC_TOTALS Instance attribute Private Type reference (TYPE) SRV_ACC_TOTALS_TTY Total Account Assignment For Services 20060424
14 MY_T_ACC_TOTALSX Instance attribute Private Type reference (TYPE) SRV_ACC_TOTALSX_TTY Change Toolbar for Enjoy Purchase Req. - Account Assignment 20060424
15 MY_T_COMMITMENTS Instance attribute Private Type reference (TYPE) SRV_EKPR_TTY Table Type: Commitment Communication structure 20060424
16 MY_T_SERVICE_DATA Instance attribute Private Type reference (TYPE) SRV_SERVICE_DATA_TTY Table Type: service line related accounting data 20060424
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ACCOUNT Instance method Public Method Checks accounting data 20060424
2 CHECK_FIELD_SELECTION Instance method Private Method Checks the field selection for accounting 20060424
3 CHECK_RWIN Instance method Private Method Implements the RWIN inerface 20060424
4 CONSTRUCTOR Instance method Public Constructor Constructor for Accounting Class 20060424
5 CORRECT_ROUNDING_DIFF Instance method Private Method To correct the rounding issues 20130206
6 DETERMINE_GL_ACCOUNT Instance method Public Method Determines GL account number 20060424
7 DETERMINE_TOTALS Instance method Public Method Calculates total accounts 20060424
8 FILL_FIELD_SELECTION Instance method Private Method Fills field selection for accounting 20060424
9 FILL_FROM_COBL Instance method Private Method Fill account data and total account data from COBL 20060424
10 FILL_TO_COBL Instance method Private Method Fills the communication structure COBL 20060424
11 MERGE_DATA Instance method Private Method Merges the data base data and interface data 20060424
12 MEX_CHECK_AUSWAHL_KONTIERUNG Instance method Private Method 20100202
13 MODIFY_ACC_DATA Instance method Private Method Modifies Account data (private atrribute) 20060424
14 OVERWRITE_AA Instance method Public Method deletes the aa present and replaces with new aa 20100503
15 POST Instance method Public Method Posts accounting data 20060424
16 PROCESS Instance method Public Method Process of accounting data 20060424
17 PROCESS_COMMITMENTS Instance method Private Method Process and fills the commitments communication structure 20060424
18 READ_FIELD_SELECTION Instance method Private Method 20100202
19 REFRESH_ACCOUNT Instance method Public Method Refresh the accounting class variables 20071005
20 REPEAT_AA Instance method Public Method copies the account assignment data to new service line 20100426
21 SET_ACC_DATAX Instance method Private Method 20100427
22 SET_ACC_LIMIT_DATA Instance method Public Method Sets limit data relevant for accounting 20060424
23 SET_ACC_SERVICE_DATA Instance method Public Method Sets service line data relevant for accounting 20060424
24 SET_EXT_HEADER Instance method Public Method Sets external header to the private attribute 20060424
Events
Class CL_ACCOUNT_MMSRV has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 REPEAT_ACC_KEY Public See coding 20100426 BEGIN OF repeat_acc_key, packno type PACKNO, row_key type SERVICE_NO, vrtkz type VRTKZ, p_row_key TYPE CHAR100, ENd of repeat_acc_key
2 T_ACC_TOTAL Public See coding 20100202 BEGIN OF t_acc_total . INCLUDE TYPE srv_acc_totals. TYPES: flag(1), END OF t_acc_total
Method Signatures

Method CHECK_ACCOUNT Signature

Method CHECK_ACCOUNT on class CL_ACCOUNT_MMSRV has no parameter.
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_CHECK 20060428

Method CHECK_FIELD_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMT_FLD_SELECTION Call by reference Type reference (TYPE) SRV_FIELD_SELECTION_TTY Table Type: Field Selection 20060424
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_FIELD 20060428

Method CHECK_RWIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_COBL Call by reference Type reference (TYPE) COBL Coding Block 20060424
2 Importing IM_COBL Call by reference Type reference (TYPE) COBL Coding Block 20060424
3 Importing IM_GJAHR Call by reference Type reference (TYPE) COBL-GJAHR Fiscal Year 20060424
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_RWIN 20060428

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SP_HEADER Call by reference Type reference (TYPE) SRV_SP_HEADER SP Header 20060424

Method CONSTRUCTOR on class CL_ACCOUNT_MMSRV has no exception.

Method CORRECT_ROUNDING_DIFF Signature

Method CORRECT_ROUNDING_DIFF on class CL_ACCOUNT_MMSRV has no parameter.
Method CORRECT_ROUNDING_DIFF on class CL_ACCOUNT_MMSRV has no exception.

Method DETERMINE_GL_ACCOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_GL_ACCOUNT Call by reference Type reference (TYPE) SRV_ACC_TOTALS-GL_ACCOUNT G/L Account Number 20060424
2 Exporting EX_ISVAL Call by reference Type reference (TYPE) FLAG General Flag 20060424
3 Importing IM_ACC_DATA Call by reference Type reference (TYPE) SRV_ACC_DATA Account Assignment of Service Line 20060424
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_GL 20060428

Method DETERMINE_TOTALS Signature

Method DETERMINE_TOTALS on class CL_ACCOUNT_MMSRV has no parameter.
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_TOTALS 20060429

Method FILL_FIELD_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXT_FLD_SELECTION Call by reference Type reference (TYPE) SRV_FIELD_SELECTION_TTY Table Type: Field Selection 20060424
# Exception Resumable Description Created on
1 ERROR_FILL_FIELD_SELECTION 20060506

Method FILL_FROM_COBL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACC_TOTALS Call by reference Type reference (TYPE) SRV_ACC_TOTALS Total Account Assignment For Services 20060504
2 Importing IM_COBL Call by reference Type reference (TYPE) COBL Coding Block 20060424

Method FILL_FROM_COBL on class CL_ACCOUNT_MMSRV has no exception.

Method FILL_TO_COBL Signature

Method FILL_TO_COBL on class CL_ACCOUNT_MMSRV has no parameter.
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_RWIN 20060502

Method MERGE_DATA Signature

Method MERGE_DATA on class CL_ACCOUNT_MMSRV has no parameter.
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_MERGE 20060428

Method MEX_CHECK_AUSWAHL_KONTIERUNG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMASKE Call by reference Type reference (TYPE) MEXFT-HMASKE Character 100 20100202
2 Importing IM_SRV_ACC_TOTAL Call by reference Type reference (TYPE) T_ACC_TOTAL Total Account Assignment for Service/Limit 20100202
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_CHECK 20100202

Method MODIFY_ACC_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_SUCCESS Call by reference Type reference (TYPE) FLAG General Flag 20060428
2 Importing IM_ACC_LINE Call by reference Type reference (TYPE) SRV_ACC_DATA Structure for service line data 20060424
3 Importing IM_GL_ACCOUNT Call by reference Type reference (TYPE) SRV_ACC_TOTALS-GL_ACCOUNT G/L Account Number 20060424

Method MODIFY_ACC_DATA on class CL_ACCOUNT_MMSRV has no exception.

Method OVERWRITE_AA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_OVERWRITE_KEY Call by reference Type reference (TYPE) MMSRV_ACCOUNT_DAT_INFO_SERVICE DATA STRUCTURE FOR service account info 20100503

Method OVERWRITE_AA on class CL_ACCOUNT_MMSRV has no exception.

Method POST Signature

Method POST on class CL_ACCOUNT_MMSRV has no parameter.
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_POST 20060428

Method PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_SRV_COM Call by reference Type reference (TYPE) SRV_EXT_HEADER-COMMITMENT Item affects commitments 20061012
2 Exporting EX_VRTKZ Call by reference Type reference (TYPE) SRV_EXT_HEADER-VRTKZ Distribution Indicator for Multiple Account Assignment 20061018
# Exception Resumable Description Created on
1 ERROR_ACCOUNT_PROCESS 20060428

Method PROCESS_COMMITMENTS Signature

Method PROCESS_COMMITMENTS on class CL_ACCOUNT_MMSRV has no parameter.
Method PROCESS_COMMITMENTS on class CL_ACCOUNT_MMSRV has no exception.

Method READ_FIELD_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXT_FLD_SELECTION Call by reference Type reference (TYPE) SRV_FIELD_SELECTION_TTY Table Type: Field Selection 20100202

Method READ_FIELD_SELECTION on class CL_ACCOUNT_MMSRV has no exception.

Method REFRESH_ACCOUNT Signature

Method REFRESH_ACCOUNT on class CL_ACCOUNT_MMSRV has no parameter.
Method REFRESH_ACCOUNT on class CL_ACCOUNT_MMSRV has no exception.

Method REPEAT_AA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SRV_ACC_DATA Call by reference Type reference (TYPE) SRV_SERVICE_DATA Accounting Data for Service Line 20100426

Method REPEAT_AA on class CL_ACCOUNT_MMSRV has no exception.

Method SET_ACC_DATAX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CHANGE_FLAG Value transfer Type reference (TYPE) BOOL Link field for view query 20100427
2 Exporting EX_SRV_ACC_DATAX Value transfer Type reference (TYPE) SRV_ACC_DATAX Change Parameters: Account Assignment Data for Service/Limit 20100427
3 Importing IM_SRV_ACC_DATA Call by reference Type reference (TYPE) SRV_ACC_DATA Account Assignment Data for Service/Limit 20100427
4 Importing IM_SRV_ACC_DATA_OLD Call by reference Type reference (TYPE) SRV_ACC_DATA Account Assignment Data for Service/Limit 20100427

Method SET_ACC_DATAX on class CL_ACCOUNT_MMSRV has no exception.

Method SET_ACC_LIMIT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LIMIT_ACCOUNT_DATA Call by reference Type reference (TYPE) SRV_LIMIT_ACCOUNT_DATA Accounting data passed by limit class 20060424

Method SET_ACC_LIMIT_DATA on class CL_ACCOUNT_MMSRV has no exception.

Method SET_ACC_SERVICE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SRV_ACC_DATA Call by reference Type reference (TYPE) SRV_SERVICE_DATA model structure for service data 20060424

Method SET_ACC_SERVICE_DATA on class CL_ACCOUNT_MMSRV has no exception.

Method SET_EXT_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_EXT_HEADER Call by reference Type reference (TYPE) SRV_EXT_HEADER Service External Header Data 20060424
2 Importing IM_EXT_HEADERX Call by reference Type reference (TYPE) SRV_EXT_HEADERX Service External Header Datax BAPI Update 20060424

Method SET_EXT_HEADER on class CL_ACCOUNT_MMSRV has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 700