SAP ABAP Class CL_DIAN_XRUN_DISPATCHER (DIAN Extraction Run)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-LOC (Application Component) Localization
     ID-DIAN-CO (Package) DIAN: Magnetic Meida for Columbia
Properties
Class CL_DIAN_XRUN_DISPATCHER  
Short Description DIAN Extraction Run    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package ID-DIAN-CO   DIAN: Magnetic Meida for Columbia 
Created 20121220   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_DIAN_XRUN_DISPATCHER has no forward declaration.
Interfaces
Class CL_DIAN_XRUN_DISPATCHER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_DIAN_FORMAT_BASE 20130104 DIAN format base class
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BAL_OBJECT Constant Protected Type reference (TYPE) BALOBJ_D 'DIAN_XRUN' Application Log: Object Name (Application Code) 20121220
2 GT_ACCOUNTS Instance attribute Protected Type reference (TYPE) DIAN_T_ACCOUNTS Account settings 20121220
3 GT_FORMATS Instance attribute Protected Type reference (TYPE) DIAN_T_FORMATS Format settings 20121220
4 GT_IMPLEMENTATIONS Instance attribute Protected Type reference (TYPE) TTY_IMPLEMENTATION 20121220
5 GT_PARTNER_DATA Instance attribute Private Type reference (TYPE) DIAN_T_PARTNER Table type for DIAN partner data 20130206
6 GT_TAXES Instance attribute Private Type reference (TYPE) BSET_TAB Tax Data Document Segment 20130206
7 GT_VAT_PER_FORMAT Instance attribute Protected Type reference (TYPE) DIAN_T_VAT_FORST VAT format settings 20121220
8 GT_WITHHOLDING_TAXES Instance attribute Private Type reference (TYPE) DIAN_T_WITH_ITEM Table type for DIAN withholding taxes 20130206
9 GV_BAL_HANDLE Instance attribute Public Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20121220
10 GV_CUST_ALREADY_READ Instance attribute Private Type reference (TYPE) FLAG Has customizing already been read? 20121220
11 GV_XRUN_AJAHR Instance attribute Private Type reference (TYPE) AJAHR Year 20121220
12 GV_XRUN_BUKRS Instance attribute Private Type reference (TYPE) BUKRS Company Code 20121220
13 GV_XRUN_GUID Instance attribute Protected Type reference (TYPE) GUID Globally Unique Identifier 20121220
14 MS_MCONTEXT Instance attribute Private Type reference (TYPE) DIAN_S_XRUN_CONTEXT DIAN extraction: Context for application log 20130114
15 MS_MDEF Instance attribute Private Type reference (TYPE) BAL_S_MDEF Application Log: Message Defaults 20130114
16 MT_OT_PARTNER Instance attribute Private Type reference (TYPE) DIAN_T_PARTNER Table type for DIAN partner data 20130227
17 MT_PARTNER_DATA Instance attribute Private Type reference (TYPE) DIAN_T_PARTNER Table type for DIAN partner data 20130227
18 MV_OT_PARTNER_CHECKED Instance attribute Private Type reference (TYPE) FLAG General Flag 20130227
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20121220
2 EXECUTE Instance method Private Method Perform/Execute 20121220
3 FINALIZE Instance method Private Method Final steps 20121220
4 GET_COMPANY_CODE_ADDRESS Instance method Public Method 20130228
5 GET_PARTNER_DATA_FOR_DOCUMENTS Instance method Public Method 20130228
6 GET_PARTNER_DATA_FOR_KUNNR Instance method Public Method 20130228
7 GET_PARTNER_DATA_FOR_LIFNR Instance method Public Method 20130228
8 GET_TAXES Instance method Private Method Get Tax Data (DB) 20121220
9 GET_WITHHOLDING_TAXES Instance method Private Method Get WT (DB) 20121220
10 INIT Instance method Protected Method 20130114
11 PROCESS_DOCUMENTS Instance method Private Method Dispatch 20121220
12 READ_CUSTOMIZING Instance method Private Method Get Customizing (DB) ... 20121220
13 SAVE Instance method Protected Method Save results to database 20130102
Events
Class CL_DIAN_XRUN_DISPATCHER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TTY_IMPLEMENTATION Protected See coding 20130104 tty_implementation type table of ty_implementation
2 TY_IMPLEMENTATION Protected See coding 20130104 begin of ty_implementation, format type dian_d_format, table_name type tabname16, instance type ref to if_dian_extraction, end of ty_implementation
3 TY_PARTNER_SELECTION Protected See coding 20130301 begin of ty_partner_selection, bukrs type bukrs, lifnr type lifnr, kunnr type kunnr, stcd1 type stcd1, stcdt type j_1atoid, stkzn type stkzn, name1 type name1_gp, name2 type name2_gp, name3 type name3_gp, name4 type name4_gp, stras type stras_gp, ort01 type ort01_gp, regio type regio, land1 type land1_gp, xcpds type xcpds, akont type akont, end of ty_partner_selection
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BAL_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20130214
2 Importing IV_XRUN_AJAHR Value transfer Type reference (TYPE) AJAHR Year 20121220
3 Importing IV_XRUN_BUKRS Value transfer Type reference (TYPE) BUKRS Company Code 20121220
4 Importing IV_XRUN_GUID Value transfer Type reference (TYPE) GUID Globally Unique Identifier 20121220

Method CONSTRUCTOR on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method EXECUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_XRUN_AJAHR Call by reference Type reference (TYPE) AJAHR Year 20121220
2 Importing IV_XRUN_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20121220
3 Importing IV_XRUN_GUID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20121220

Method EXECUTE on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method FINALIZE Signature

Method FINALIZE on class CL_DIAN_XRUN_DISPATCHER has no parameter.
Method FINALIZE on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method GET_COMPANY_CODE_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20130301
2 Returning RS_PARTNER_DATA Value transfer Type reference (TYPE) DIAN_S_PARTNER DIAN partner data 20130301

Method GET_COMPANY_CODE_ADDRESS on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method GET_PARTNER_DATA_FOR_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BSEG Call by reference Type reference (TYPE) BSEG_T Table Type for BSEG 20130228
2 Returning RT_PARTNER_DATA Value transfer Type reference (TYPE) DIAN_T_PARTNER Table type for DIAN partner data 20130228

Method GET_PARTNER_DATA_FOR_DOCUMENTS on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method GET_PARTNER_DATA_FOR_KUNNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20130228
2 Importing IV_KUNNR Call by reference Type reference (TYPE) KUNNR Customer Number 20130228
3 Returning RS_PARTNER_DATA Value transfer Type reference (TYPE) DIAN_S_PARTNER DIAN partner data 20130228

Method GET_PARTNER_DATA_FOR_KUNNR on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method GET_PARTNER_DATA_FOR_LIFNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20130228
2 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20130228
3 Returning RS_PARTNER_DATA Value transfer Type reference (TYPE) DIAN_S_PARTNER DIAN partner data 20130228

Method GET_PARTNER_DATA_FOR_LIFNR on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method GET_TAXES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BSEG Call by reference Type reference (TYPE) BSEG_T Table Type for BSEG 20121220
2 Returning RT_TAXES Value transfer Type reference (TYPE) BSET_TAB Tax Data Document Segment 20121220

Method GET_TAXES on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method GET_WITHHOLDING_TAXES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BSEG Call by reference Type reference (TYPE) BSEG_T Table Type for BSEG 20121220
2 Returning RT_WITHHOLDING_TAXES Value transfer Type reference (TYPE) DIAN_T_WITH_ITEM Table type for DIAN withholding taxes 20121220

Method GET_WITHHOLDING_TAXES on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method INIT Signature

Method INIT on class CL_DIAN_XRUN_DISPATCHER has no parameter.
Method INIT on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method PROCESS_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BKPF Call by reference Type reference (TYPE) BKPF_T Standard Table Type for BKPF 20121220
2 Importing IT_BSEG Call by reference Type reference (TYPE) BSEG_T Table Type for BSEG 20121220

Method PROCESS_DOCUMENTS on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method READ_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AJAHR Call by reference Type reference (TYPE) AJAHR Year 20121220
2 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20121220

Method READ_CUSTOMIZING on class CL_DIAN_XRUN_DISPATCHER has no exception.

Method SAVE Signature

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