Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_DIAN_EXTRACTION | DIAN Extraction Interface | 20121206 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_DIAN_FORMAT_1001 | DIAN Format 1001 Test Class | 20121113 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_DIAN_FORMAT_GENERIC | Generic handle of DIAN Format | 20120824 |
Properties
| Class | CL_DIAN_FORMAT_BASE | |
| Short Description | DIAN format base class | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ID-DIAN-CO | DIAN: Magnetic Meida for Columbia |
| Created | 20120810 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_DIAN_EXTRACTION | DIAN Extraction Interface | 20121206 |
Friends
Class CL_DIAN_FORMAT_BASE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | C | Folder separator | 20130104 | |||
| 2 | Constant | Public | Type reference (TYPE) | I | 5000 | 20121113 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_DIAN_FORMAT_SETTINGS | 20120830 | ||||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_DIAN_XRUN_DISPATCHER | DIAN Extraction Run | 20130104 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20120830 | ||||
| 6 | Instance attribute | Protected | Type reference (TYPE) | BSEG_T | FI documents | 20121221 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | DIAN_T_PARTNER | Table type for DIAN partner data | 20121221 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | TTY_REF | 20130117 | ||||
| 9 | Instance attribute | Protected | Type reference (TYPE) | DIAN_T_TAX_SEGMENT | Table type for DIAN tax segment | 20121221 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | DIAN_T_WITH_ITEM | Table type for DIAN withholding taxes | 20121221 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | GUID | Globally Unique Identifier | 20130102 |
Methods
Events
Class CL_DIAN_FORMAT_BASE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | DIAN_FILE_T | Public | See coding | 20121113 | dian_file_t TYPE STANDARD TABLE OF ty_dian_file WITH DEFAULT KEY
|
||
| 2 | LOCALFILE_T | Public | See coding | 20121113 | localfile_t TYPE STANDARD TABLE OF localfile WITH DEFAULT KEY
|
||
| 3 | SPLITTED_DATA_T | Public | See coding | 20121127 | splitted_data_t TYPE STANDARD TABLE OF ty_splitted_data WITH DEFAULT KEY
|
||
| 4 | TTY_REF | Protected | See coding | 20130117 | tty_ref TYPE TABLE OF dian_a_extr_info
|
||
| 5 | TY_DIAN_FILE | Public | See coding | 20121113 | BEGIN OF ty_dian_file,
file_name TYPE string,
file_content TYPE xstring,
END OF ty_dian_file
|
||
| 6 | TY_SPLITTED_DATA | Public | See coding | 20121127 | BEGIN OF ty_splitted_data,
total_value TYPE dian_d_amount,
data_ref TYPE REF TO data,
END OF ty_splitted_data
|
Method Signatures
Method ASSIGN_MISSING_NITS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20121221 | |||
| 2 | IV_YEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20121221 |
Method ASSIGN_MISSING_NITS on class CL_DIAN_FORMAT_BASE has no exception.
Method ASSIGN_NIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | 20121220 | ||||
| 2 | IV_COMPANY_CODE | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20121221 | |||
| 3 | IV_YEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20121221 |
Method ASSIGN_NIT on class CL_DIAN_FORMAT_BASE has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_DIAN_FORMAT_BASE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DIAN_FORMAT_BASE has no exception.
Method FILL_LEADING_ZEROS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE | Call by reference | Type reference (TYPE) | CLIKE | 20121105 |
Method FILL_LEADING_ZEROS on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_CONCEPTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_DIAN_LIST_CONCEPT | 20121123 |
Method GET_CONCEPTS on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_DIAN_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_RESULT | Value transfer | Type reference (TYPE) | I | 20121113 |
Method GET_DIAN_FORMAT on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_FILE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_OPTIONS | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_EXTRACTION_OPTIONS | 20121113 | ||||
| 2 | IV_FILE_NUMBER | Call by reference | Type reference (TYPE) | I | 20121113 | ||||
| 3 | RV_RESULT | Value transfer | Type reference (TYPE) | STRING | 20121113 |
Method GET_FILE_NAME on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_FOLDER_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CCODE | Call by reference | Type reference (TYPE) | BKPF-BUKRS | 20130103 | ||||
| 2 | IV_SENDYEAR | Call by reference | Type reference (TYPE) | GJAHR | 20130103 | ||||
| 3 | RV_FOLDER_NAME | Value transfer | Type reference (TYPE) | STRING | 20130103 |
Method GET_FOLDER_NAME on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_FORMAT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | 20121106 |
Method GET_FORMAT_DATA on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_FORMAT_DATA_ENTRY_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LINE_ID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20130103 | |||
| 2 | RT_RESULT | Value transfer | Type reference (TYPE) | CL_DIAN_EXTRACTION_INFO_HELPER=>DIAN_S_EXTR_INFO_T | Documents information related to the extracted DIAN data | 20130103 |
Method GET_FORMAT_DATA_ENTRY_INFO on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_FORMAT_DATA_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_RESULT | Value transfer | Object reference (TYPE REF TO) | DATA | 20120821 |
Method GET_FORMAT_DATA_REF on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_FORMAT_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RI_RESULT | Value transfer | Object reference (TYPE REF TO) | IF_DIAN_FORMAT_SETTINGS | 20121113 |
Method GET_FORMAT_SETTINGS on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_FULL_FILE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DIAN_FOLDER | Call by reference | Type reference (TYPE) | STRING | 20130103 | ||||
| 2 | IV_FILE_EXT | Call by reference | Type reference (TYPE) | STRING | 20121105 | ||||
| 3 | IV_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | 20121105 | ||||
| 4 | IV_FILE_PATH | Call by reference | Type reference (TYPE) | LOCALFILE | 20121105 | ||||
| 5 | IV_FOLDER_SEPARATOR | Call by reference | Type reference (TYPE) | C | 20130103 | ||||
| 6 | RV_RESULT | Value transfer | Type reference (TYPE) | LOCALFILE | 20121105 |
Method GET_FULL_FILE_NAME on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_NIT_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | 20121221 | ||||
| 2 | RS_RESULT | Value transfer | Type reference (TYPE) | DIAN_S_NIT_NAMES | 20130206 |
Method GET_NIT_NAME on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_NUMBER_OF_LINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_RESULT | Value transfer | Type reference (TYPE) | I | 20121113 |
Method GET_NUMBER_OF_LINES on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_SPLIT_FORMAT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_RESULT | Value transfer | Type reference (TYPE) | SPLITTED_DATA_T | 20121106 |
Method GET_SPLIT_FORMAT_DATA on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_SUM_OVERFLOW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VALUE1 | Call by reference | Type reference (TYPE) | DIAN_D_AMOUNT | 20121128 | ||||
| 2 | IV_VALUE2 | Call by reference | Type reference (TYPE) | DIAN_D_AMOUNT | 20121128 | ||||
| 3 | RV_RESULT | Value transfer | Type reference (TYPE) | DIAN_D_AMOUNT | 20121128 |
Method GET_SUM_OVERFLOW on class CL_DIAN_FORMAT_BASE has no exception.
Method GET_TOTAL_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20121128 | ||||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | DIAN_D_AMOUNT | 20121128 |
Method GET_TOTAL_VALUE on class CL_DIAN_FORMAT_BASE has no exception.
Method INITIALIZE_FORMAT_DATA Signature
Method INITIALIZE_FORMAT_DATA on class CL_DIAN_FORMAT_BASE has no parameter.
Method INITIALIZE_FORMAT_DATA on class CL_DIAN_FORMAT_BASE has no exception.
Method IS_NIT_MISSING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | 20121220 | ||||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20121220 |
Method IS_NIT_MISSING on class CL_DIAN_FORMAT_BASE has no exception.
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FORMAT_CODE | Value transfer | Type reference (TYPE) | DIAN_D_FORMAT | 20121113 | ||||
| 2 | IV_YEAR | Value transfer | Type reference (TYPE) | GJAHR | 20121113 |
Method LOAD on class CL_DIAN_FORMAT_BASE has no exception.
Method LOAD_EXTRACTED_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_FILTERS | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_EXTRACTION_FILTERS | 20121113 |
Method LOAD_EXTRACTED_DATA on class CL_DIAN_FORMAT_BASE has no exception.
Method LOAD_FORMAT_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FORMAT_CODE | Value transfer | Type reference (TYPE) | DIAN_D_FORMAT | 20121113 | ||||
| 2 | IV_YEAR | Value transfer | Type reference (TYPE) | GJAHR | 20121113 | ||||
| 3 | RI_RESULT | Value transfer | Object reference (TYPE REF TO) | IF_DIAN_FORMAT_SETTINGS | 20121113 |
Method LOAD_FORMAT_SETTINGS on class CL_DIAN_FORMAT_BASE has no exception.
Method SAVE_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FILE_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20121105 | ||||
| 2 | IV_FILE_PATH | Call by reference | Type reference (TYPE) | LOCALFILE | 20121105 |
Method SAVE_FILE on class CL_DIAN_FORMAT_BASE has no exception.
Method SET_FORMAT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_VALUE | Call by reference | Type reference (TYPE) | ANY TABLE | 20121106 |
Method SET_FORMAT_DATA on class CL_DIAN_FORMAT_BASE has no exception.
Method SET_FORMAT_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_VALUE | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_FORMAT_SETTINGS | 20121113 |
Method SET_FORMAT_SETTINGS on class CL_DIAN_FORMAT_BASE has no exception.
Method TO_CSV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_OPTIONS | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_EXTRACTION_OPTIONS | 20121113 | ||||
| 2 | RT_RESULT | Value transfer | Type reference (TYPE) | DIAN_FILE_T | 20121113 |
Method TO_CSV on class CL_DIAN_FORMAT_BASE has no exception.
Method TO_CSV_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_FILTERS | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_EXTRACTION_FILTERS | Filters of DIAN Extraction | 20130103 | |||
| 2 | II_OPTIONS | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_EXTRACTION_OPTIONS | 20121113 | ||||
| 3 | IV_FILEPATH | Call by reference | Type reference (TYPE) | LOCALFILE | 20121113 | ||||
| 4 | IV_FOLDER_NAME | Call by reference | Type reference (TYPE) | STRING | 20130104 | ||||
| 5 | RT_RESULT | Value transfer | Type reference (TYPE) | LOCALFILE_T | 20121113 |
Method TO_CSV_FILE on class CL_DIAN_FORMAT_BASE has no exception.
Method TO_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_OPTIONS | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_EXTRACTION_OPTIONS | 20121113 | ||||
| 2 | RT_RESULT | Value transfer | Type reference (TYPE) | DIAN_FILE_T | 20121113 |
Method TO_XML on class CL_DIAN_FORMAT_BASE has no exception.
Method TO_XML_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_FILTERS | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_EXTRACTION_FILTERS | Filters of DIAN Extraction | 20130103 | |||
| 2 | II_OPTIONS | Call by reference | Object reference (TYPE REF TO) | IF_DIAN_EXTRACTION_OPTIONS | 20121113 | ||||
| 3 | IV_FILEPATH | Call by reference | Type reference (TYPE) | LOCALFILE | 20121113 | ||||
| 4 | IV_FOLDER_NAME | Call by reference | Type reference (TYPE) | STRING | 20130104 | ||||
| 5 | RT_RESULT | Value transfer | Type reference (TYPE) | LOCALFILE_T | 20121113 |
Method TO_XML_FILE on class CL_DIAN_FORMAT_BASE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 617 |