SAP ABAP Class CL_REXC_ES_M180_IS (Informationsystem for withholding tax data)
Hierarchy
EA-FIN (Software Component) EA-FIN
   FI-LOC (Application Component) Localization
     GLO_REFX_ES_RA (Package) Localization Flexible Real Estate Spain
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_REIS_DATA ALV Reporting: Model Component [Abstract] 20120828
Properties
Class CL_REXC_ES_M180_IS  
Short Description Informationsystem for withholding tax data    
Super Class CL_REIS_DATA ALV Reporting: Model Component [Abstract] 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class REXCES    
Program status P  SAP Standard Production Program 
Category 0   
Package GLO_REFX_ES_RA   Localization Flexible Real Estate Spain 
Created 20120828   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CNTB Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RECA0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RECA2 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RECD1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RECD2 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_REXC_ES_M180_IS has no interface implemented.
Friends
Class CL_REXC_ES_M180_IS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_DMEE_TREE_ID Constant Protected Type reference (TYPE) DMEE_TREE_HEAD-TREE_ID 'RE_XC_ES_M180' DMEE: ID for a DMEE format tree 20120913
2 MC_DMEE_TREE_TYPE Constant Protected Type reference (TYPE) DMEE_TREE_HEAD-TREE_TYPE 'REE2' DMEE: tree type 20120913
3 MC_FUNC_FILE Constant Private Type reference (TYPE) SYUCOMM 'REXC_FILE' Screens, function code triggered by PAI 20120828
4 MC_FUNC_PRINT Constant Private Type reference (TYPE) SYUCOMM 'REXC_PRINT' Function code that PAI triggered 20120828
5 MC_FUNC_SAVE Instance attribute Private Type reference (TYPE) SYUCOMM 'REXC_SAVE' Save, , function code triggered by PAI 20120910
6 MC_M180_NR Constant Protected Type reference (TYPE) NRNR '01' Number range number 20120921
7 MD_DECTYP Static Attribute Public Type reference (TYPE) REXCESDECTYP Type of Declaration 20120918
8 MD_EXTNR Static Attribute Public Type reference (TYPE) REXCESEXTNR External ID number 20121120
9 MD_MEDIUM Static Attribute Public Type reference (TYPE) REXCESMEDIUM Type of output medium 20120918
10 MD_PATH Static Attribute Public Type reference (TYPE) LOCALFILE Local file for upload/download 20120913
11 MF_BUTTONS_ENABLE Instance attribute Public Type reference (TYPE) RECABOOL Enable extra buttons in the toolbar 20120828
12 MT_LIST Static Attribute Public Type reference (TYPE) RE_T_ES_M180_L Modelo 180 report data 20120912
13 MT_M180_DEC Static Attribute Public Type reference (TYPE) RE_T_ES_M180_DEC Modelo 180 - Witholding Tax Declarer Line 01 20120912
14 MT_M180_DECO Static Attribute Public Type reference (TYPE) RE_T_ES_M180_DEC Modelo 180 - Witholding Tax Declarer Line 01 20120917
15 MT_M180_REC Static Attribute Public Type reference (TYPE) RE_T_ES_M180_REC Modelo 180 - Witholding Tax Recipients DMEE Line 02 20120912
16 MT_M180_RECO Static Attribute Public Type reference (TYPE) RE_T_ES_M180_REC Modelo 180 - Witholding Tax Recipients DMEE Line 02 20120917
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ITEMS Instance method Public Method Adds objects for Reporting 20120913
2 ADD_REC_ITEM Instance method Public Method Add Recipient Line 20120917
3 BULK_POSTING Instance method Public Method Property Tax Posting 20120828
4 CHECK_ALL_OBJECTS Instance method Public Method Consistency check of all objects subject to prop. tax 20120828
5 CHECK_VOUCHERS Instance method Public Method Check Declaration type and prepared data 20121121
6 COMPL_VOUCHERS Instance method Private Method Process Complementary Vouchers 20120918
7 DMEE_DEC_ITEM Instance method Public Method Fill Declaration record type 1 - Declarant Record 20121101
8 DMEE_REC_ITEM Instance method Public Method Fill Declaration record type 2 - Recipient Record 20121101
9 FILE_OUTPUT Instance method Private Method File output through DME interface 20120911
10 GENERATE_DMEE Instance method Public Method Generate DMEE output 20120911
11 NORML_VOUCHERS Instance method Private Method Normal Vouchers 20121120
12 NUMBERING_VOUCHERS Instance method Private Method Numbering of new Vouchers 20120911
13 PREVIOUS_NUMBER Instance method Private Method Number of previous Vouchers to new Vouchers 20120919
14 PROCESS_VOUCHERS Instance method Public Method Prepare Vouchers for Saving 20120918
15 READ_MORE_VOUCHERS Instance method Private Method Read more Declaration Vouchers 20120919
16 READ_VOUCHERS_BY_KEY Instance method Private Method Read one old Delaration Voucher 20120919
17 REFRESH_ALV Instance method Public Method Refresh content of ALV from data tables 20120912
18 SAVE_VOUCHERS Instance method Public Method Save New Vouchers to DB 20120911
19 SET_BUTTONS_ENABLE Instance method Public Method sets the mf_buttons_enable attribute 20120828
20 SET_DECTYPE Instance method Public Method Set Declaration type 20120918
21 SET_DEC_ITEM Instance method Private Method Fill Declarant Line 20120917
22 SET_PARAMS Instance method Public Method Add Path to output File 20121120
23 SET_VOUCHERS Instance method Public Method Read existing Declaration Vouchers from DB 20120918
24 SUBST_VOUCHERS Instance method Private Method Process Substitute Vouchers 20120919
25 VALID_VOUCHERS Instance method Public Method Validate Vouchers 20121120
Events
Class CL_REXC_ES_M180_IS has no event.
Types
Class CL_REXC_ES_M180_IS has no local type.
Method Signatures

Method ADD_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_M180_DEC Call by reference Type reference (TYPE) RE_T_ES_M180_DEC Modelo 180 - Witholding Tax Declarer Line 01 20120913
2 Importing IT_M180_REC Call by reference Type reference (TYPE) RE_T_ES_M180_REC Modelo 180 - Witholding Tax Recipients DMEE Line 02 20120913
# Exception Resumable Description Created on
1 ERROR 20120913
2 TEXT_ASSIGNEDOBJ_NOTFOUND Text was not found for the assigned object 20120913

Method ADD_REC_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal year 20120921
2 Importing IS_LFA1 Call by reference Type reference (TYPE) LFA1 Vendor Master (General Section) 20120921
3 Importing IS_LFB1 Call by reference Type reference (TYPE) LFB1 Vendor Master (Company Code) 20120917
4 Importing IT_WITH_ITEM Call by reference Type reference (TYPE) RE_T_ES_WITH_ITEM Witholding tax info per W/tax type and FI line item 20120921

Method ADD_REC_ITEM on class CL_REXC_ES_M180_IS has no exception.

Method BULK_POSTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_MODE Call by reference Type reference (TYPE) RECAPROCESSMODE Execution Mode of Process 20120828
2 Importing IT_INDEX Call by reference Type reference (TYPE) RE_T_TABIX Table With Indexes 20120828
# Exception Resumable Description Created on
1 ERROR Error during posting 20120828

Method CHECK_ALL_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_INDEX Call by reference Type reference (TYPE) RE_T_TABIX Table With Indexes 20120828

Method CHECK_ALL_OBJECTS on class CL_REXC_ES_M180_IS has no exception.

Method CHECK_VOUCHERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_STATUS Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20121207
# Exception Resumable Description Created on
1 SKIPP_INSERT_OF_NEW_VOUCHER 20121121
2 SKIPP_UPDATE_OF_OLD_VOUCHER 20121121
3 SKIPP_WRITING_TO_DB 20121121

Method COMPL_VOUCHERS Signature

Method COMPL_VOUCHERS on class CL_REXC_ES_M180_IS has no parameter.
# Exception Resumable Description Created on
1 ZERO_DIFFERENCE Difference between previous and new voucher is zero 20120919

Method DMEE_DEC_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DMEE Call by reference Type reference (TYPE) REXCESM180_DMEE DMEE: Transaction Data for Modelo 180 Spain 20121101
2 Importing IS_DB_DEC Call by reference Type reference (TYPE) VIXCESM180DEC Modelo 180 - Witholding Tax Declarer Line 01 20121101

Method DMEE_DEC_ITEM on class CL_REXC_ES_M180_IS has no exception.

Method DMEE_REC_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DMEE Call by reference Type reference (TYPE) REXCESM180_DMEE DMEE: Transaction Data for Modelo 180 Spain 20121101
2 Importing IS_DB_DEC Call by reference Type reference (TYPE) VIXCESM180DEC Modelo 180 - Witholding Tax Declarer Line 01 20121101
3 Importing IS_DB_REC Call by reference Type reference (TYPE) VIXCESM180REC Modelo 180 - Witholding Tax Recipients DMEE Line 02 20121101

Method DMEE_REC_ITEM on class CL_REXC_ES_M180_IS has no exception.

Method FILE_OUTPUT Signature

Method FILE_OUTPUT on class CL_REXC_ES_M180_IS has no parameter.
# Exception Resumable Description Created on
1 DOWNLOAD_ERROR GUI Download Error 20120911

Method GENERATE_DMEE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DMEE_OUTPUT Call by reference Type reference (TYPE) TAB_DMEE_OUTPUT_FILE DMEE: Table Type for DMEE_OUTPUT_FILE 20120911

Method GENERATE_DMEE on class CL_REXC_ES_M180_IS has no exception.

Method NORML_VOUCHERS Signature

Method NORML_VOUCHERS on class CL_REXC_ES_M180_IS has no parameter.
Method NORML_VOUCHERS on class CL_REXC_ES_M180_IS has no exception.

Method NUMBERING_VOUCHERS Signature

Method NUMBERING_VOUCHERS on class CL_REXC_ES_M180_IS has no parameter.
# Exception Resumable Description Created on
1 ERROR_BY_NUMBERING Error by numbering of voucher 20120911
2 NUMBERING_SKIPPED Numbering process is skipped 20121120

Method PREVIOUS_NUMBER Signature

Method PREVIOUS_NUMBER on class CL_REXC_ES_M180_IS has no parameter.
Method PREVIOUS_NUMBER on class CL_REXC_ES_M180_IS has no exception.

Method PROCESS_VOUCHERS Signature

Method PROCESS_VOUCHERS on class CL_REXC_ES_M180_IS has no parameter.
Method PROCESS_VOUCHERS on class CL_REXC_ES_M180_IS has no exception.

Method READ_MORE_VOUCHERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DEC Call by reference Type reference (TYPE) RE_T_ES_M180_DEC Modelo 180 - Witholding Tax Declarer Line 01 20120919
2 Exporting ET_REC Call by reference Type reference (TYPE) RE_T_ES_M180_REC Modelo 180 - Witholding Tax Recipients DMEE Line 02 20120919
3 Importing ID_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20120919
4 Importing ID_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120919

Method READ_MORE_VOUCHERS on class CL_REXC_ES_M180_IS has no exception.

Method READ_VOUCHERS_BY_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DEC Call by reference Type reference (TYPE) RE_T_ES_M180_DEC Modelo 180 - Witholding Tax Declarer Line 01 20120919
2 Exporting ET_REC Call by reference Type reference (TYPE) RE_T_ES_M180_REC Modelo 180 - Witholding Tax Recipients DMEE Line 02 20120919
3 Importing ID_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20120919
4 Importing ID_DECNR Call by reference Type reference (TYPE) REXCESDECNR Voucher number 20120919
5 Importing ID_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120919
6 Importing IT_KEY Call by reference Type reference (TYPE) RE_T_VIXCESM180DEC_KEY Key for Modelo 180 - Record 1 (VIXCESM180DEC) 20120919

Method READ_VOUCHERS_BY_KEY on class CL_REXC_ES_M180_IS has no exception.

Method REFRESH_ALV Signature

Method REFRESH_ALV on class CL_REXC_ES_M180_IS has no parameter.
Method REFRESH_ALV on class CL_REXC_ES_M180_IS has no exception.

Method SAVE_VOUCHERS Signature

Method SAVE_VOUCHERS on class CL_REXC_ES_M180_IS has no parameter.
# Exception Resumable Description Created on
1 ERROR_BY_SAVING Error by saving voucher to database 20120911
2 ILEGAL_WRITING Ilegal writing into previously created vouchers 20121120

Method SET_BUTTONS_ENABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_BUTTONS_ENABLE Call by reference Type reference (TYPE) RECABOOL Are the buttons enabled in the toolbar? 20120828

Method SET_BUTTONS_ENABLE on class CL_REXC_ES_M180_IS has no exception.

Method SET_DECTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_DECTYP Call by reference Type reference (TYPE) REXCESDECTYP Complementary or substitute declaration 20120918

Method SET_DECTYPE on class CL_REXC_ES_M180_IS has no exception.

Method SET_DEC_ITEM Signature

Method SET_DEC_ITEM on class CL_REXC_ES_M180_IS has no parameter.
Method SET_DEC_ITEM on class CL_REXC_ES_M180_IS has no exception.

Method SET_PARAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_EXTNR Call by reference Type reference (TYPE) REXCESEXTNR External ID number 20121120
2 Importing ID_MEDIUM Call by reference Type reference (TYPE) REXCESMEDIUM Type of output medium 20121120
3 Importing ID_PATH Call by reference Type reference (TYPE) LOCALFILE Local file for upload/download 20121120

Method SET_PARAMS on class CL_REXC_ES_M180_IS has no exception.

Method SET_VOUCHERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20120918
2 Importing ID_DECNR Call by reference Type reference (TYPE) REXCESDECNR Voucher number 20120918
3 Importing ID_GJAHR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120918
# Exception Resumable Description Created on
1 OLD_VOUCHER_EXISTS Old Voucher for Keys Company Code and Fiscal Year exists 20120919
2 OLD_VOUCHER_NOT_EXISTS Old Voucher not exists 20120919

Method SUBST_VOUCHERS Signature

Method SUBST_VOUCHERS on class CL_REXC_ES_M180_IS has no parameter.
Method SUBST_VOUCHERS on class CL_REXC_ES_M180_IS has no exception.

Method VALID_VOUCHERS Signature

Method VALID_VOUCHERS on class CL_REXC_ES_M180_IS has no parameter.
Method VALID_VOUCHERS on class CL_REXC_ES_M180_IS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 617