SAP ABAP Class CL_FCC_DOWNLOAD_TEMPLATE (download template to local files)
Hierarchy
EA-FIN (Software Component) EA-FIN
   AC (Application Component) Accounting - General
     FB_CLOSING (Package) Closing
Properties
Class CL_FCC_DOWNLOAD_TEMPLATE  
Short Description download template to local files    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FB_CLOSING   Closing 
Created 20111116   SAP 
Last change 20130531   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)
2 SBDST Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_FCC_DOWNLOAD_TEMPLATE has no interface implemented.
Friends
Class CL_FCC_DOWNLOAD_TEMPLATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_COLUMN_SEPARATOR Static Attribute Private Type reference (TYPE) CHAR1 ',' Single-Character Indicator 20111117
2 C_DATFM Static Attribute Private Type reference (TYPE) XUDATFM Date format 20111117
3 C_DECIMAL Static Attribute Private Type reference (TYPE) XUDCPFM Decimal notation 20111117
4 C_QUOTATION_MARK Static Attribute Public Type reference (TYPE) CHAR1 '"' Single-Character Indicator 20111117
5 C_QUOTATION_MARK_ESCAPED Static Attribute Public Type reference (TYPE) CHAR2 '""' Version Number Components 20111117
6 C_TIMEFM Static Attribute Private Type reference (TYPE) XUTIMEFM Time Format (12-/24-Hour Specification) 20111117
7 GC_BDS_CLASSNAME_TASK Constant Public Type reference (TYPE) SBDST_CLASSNAME 'SCHEDMAN_TASK' 20111117
8 GC_BDS_CLASSTYPE Constant Public Type reference (TYPE) SBDST_CLASSTYPE 'OT' 20111117
9 GO_TEMPL_HDR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20111117
10 GO_TEMPL_HDR_TOTAL Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20111117
11 GO_TEMPL_ITEM Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20111117
12 GO_TEMPL_ITEM_TOTAL Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20111117
13 MR_CFC Instance attribute Private Object reference (TYPE REF TO) CFC Class for Administration of Fast Close 20111117
14 TFC_ORG_VALUES Instance attribute Public See coding 20111118
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_ITEM_STRUCTURE Instance method Private Method build structure for item 20111116
2 BUILD_TITLE Instance method Public Method build title for download template to csv file 20111116
3 BUILD_TREE_TABLE Instance method Private Method build table according to tree struture 20111116
4 BULID_ENUMERATION Static method Private Method 20111116
5 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20111116
6 CONVERT_NUM_INT_TO_EXT Static method Private Method 20111118
7 CONVERT_TO_CSV Static method Public Method 20111116
8 CONV_TIME_INT_TO_EXT Static method Private Method 20111118
9 CREATE_FILE_FOR_NOTE Instance method Private Method 20111222
10 DECODE_COLUMN_TO_VALUE Static method Private Method Decode Columns to Value 20111116
11 DOWNLOAD_BDS Static method Public Method download bds file to local system 20111116
12 DOWNLOAD_TEMPLATE Instance method Public Method download template or node to csv 20111116
13 DOWNLOAD_TO_CSV Instance method Public Method 20111116
14 ENCODE_VALUE_TO_COLUMN Static method Private Method 20111116
15 GET_CHARACTERISTIC_VALUES Instance method Private Method get change value string 20111116
16 GET_DOWNLOAD_ITEMS Instance method Private Method 20111116
17 GET_EHP_RELEASE Static method Private Method 20111123
18 GET_FORMAT_MAPPING Static method Private Method 20111116
19 GET_INFO_OF_STRUCTURE Static method Public Method 20111116
20 GET_ORG_VALUE_BY_CRITERIA Instance method Private Method 20111116
21 GET_VALID_DOC_NAME Instance method Private Method 20111116
22 SELECT_ORG_TAB Instance method Private Method 20111118
23 SUBSTRING_AFTER Static method Private Method Get Substring After the Regex Last Found 20111122
Events
Class CL_FCC_DOWNLOAD_TEMPLATE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TFC_DOWNLOAD_PARAS Public See coding 20111117 BEGIN OF tfc_download_paras , decimal TYPE xudcpfm, datfm TYPE xudatfm, timefm TYPE xutimefm, sepra(4) TYPE c, langu TYPE sylangu, END OF tfc_download_paras
2 TFC_S_FILE_HDR Public See coding 20111117 BEGIN OF tfc_s_file_hdr, langu TYPE sylangu, profile TYPE tfc_profile_select, method TYPE tfc_method, text TYPE tfc_profile_text, res_usr_type(2) TYPE c, res_usr_id(30) TYPE c, authgrp TYPE tfc_authgrp, factory_calendar TYPE wfcid, destination TYPE btc_ext_sdl_dest, isol_group TYPE btc_ext_isol_group, templ_tzone TYPE tznzone, END OF tfc_s_file_hdr
3 TFC_S_FILE_ITEM Public See coding 20111117 BEGIN OF tfc_s_file_item, node TYPE scma_node, item TYPE scma_node, type TYPE tfc_orgtype, characteristic_values TYPE string, pos TYPE tfc_position, text TYPE tfc_folder_text, res_usr_type(2) TYPE c, res_usr_id(30) TYPE c, exe_usr_type(2) TYPE c, exe_usr_id(30) TYPE c, factory_calendar TYPE wfcid, authgrp TYPE tfc_authgrp, kind TYPE tfc_task_type, report TYPE tfc_programm, variante TYPE tfc_variant, transact TYPE tfc_transaction, sequence TYPE tfc_sequence, rt_def_id TYPE tfc_rt_def_id, rt_queue TYPE tfc_rt_queue, exe_day_offset TYPE tfc_offset_rel, exe_time TYPE tfc_time, runtime_days TYPE tfc_runtime_days, runtime_hours TYPE tfc_runtime_hours, runtime_minutes TYPE tfc_runtime_minutes, crit_path TYPE tfc_crit_path, iusage_m TYPE boolean, iusage_q TYPE boolean, iusage_y TYPE boolean, iusage_s TYPE boolean, iusage_z TYPE boolean, item_prev TYPE string, END OF tfc_s_file_item
4 TFC_S_FILE_MAPPING Public See coding 20111117 BEGIN OF tfc_s_file_mapping, field_name TYPE string, mapping_index TYPE int2, mapping_result TYPE boolean, field_descr TYPE string, END OF tfc_s_file_mapping
5 TFC_S_FILE_OFFICE Public See coding 20111117 BEGIN OF tfc_s_file_office, item TYPE scma_node, doc_id TYPE bds_docid, doc_descr TYPE tfc_doc_descr, type TYPE tfc_file_type, link_url TYPE tfc_link_url, lang TYPE spras, doc_comment TYPE tfc_doc_comment, file_location TYPE string, END OF tfc_s_file_office
6 TFC_TBUKRS Public See coding 20111118 tfc_tbukrs TYPE TABLE OF kokrs
7 TFC_TKOKRS Public See coding 20111118 tfc_tkokrs TYPE TABLE OF kokrs
8 TFC_TWERKS Public See coding 20111118 tfc_twerks TYPE TABLE OF werks_d
9 TFC_T_DATA_INFO Public See coding 20111117 tfc_t_data_info TYPE TABLE OF dfies
10 TFC_T_FILE_HDR Public See coding 20111117 tfc_t_file_hdr TYPE TABLE OF tfc_s_file_hdr
11 TFC_T_FILE_ITEM Public See coding 20111117 tfc_t_file_item TYPE TABLE OF tfc_s_file_item
12 TFC_T_FILE_MAPPING Public See coding 20111117 tfc_t_file_mapping TYPE TABLE OF tfc_s_file_mapping
13 TFC_T_FILE_OFFICE Public See coding 20111117 tfc_t_file_office TYPE TABLE OF tfc_s_file_office
14 TFC_T_ITEM Public See coding 20111118 tfc_t_item TYPE TABLE OF tfc_templ_item
15 TFC_T_ORG Public See coding 20111118 tfc_t_org TYPE TABLE OF tfc_templ_org
Method Signatures

Method BUILD_ITEM_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PROFILE Call by reference Type reference (TYPE) TFC_PROFILE Fast Close: Task List 20111116

Method BUILD_ITEM_STRUCTURE on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method BUILD_TITLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TITLE_MAPPING Call by reference Type reference (TYPE) TFC_T_FILE_MAPPING itab for mapping of file and structure 20111118
2 Importing IO_TEMPL_HDR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR it is only for task group template 20111118
3 Importing IO_TEMPL_ITEM Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR it is only for task group template 20111118
4 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20111118

Method BUILD_TITLE on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method BUILD_TREE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_UPLOAD_DOWNLOAD_ITEM Call by reference Type reference (TYPE) TFC_T_FILE_ITEM items for upload or download 20111118
2 Importing IT_DEPENDENCY Call by reference Type reference (TYPE) TFC_IDEP itab of dependency for upload and download 20111118
3 Importing IT_LANG Call by reference Type reference (TYPE) TFC_ILANG Itab for DB tab TFC_LANG 20111118
4 Importing IT_TEMPL_ITEM Call by reference Type reference (TYPE) TFC_T_ITEM TFC_ITEM itab 20111118
5 Importing IT_TEMPL_ORG Call by reference Type reference (TYPE) TFC_T_ORG ITAB for TFC_ORG 20111118
6 Importing IV_NODE_ID Call by reference Type reference (TYPE) SCMA_NODE Node ID 20111118

Method BUILD_TREE_TABLE on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method BULID_ENUMERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ENUMERATION_STR Call by reference Type reference (TYPE) STRING 20111116
2 Importing LV_DOMAIN_NAME Call by reference Type reference (TYPE) DOMNAME Domain name 20111116
3 Importing LV_FIELD_NAME Call by reference Type reference (TYPE) STRING 20111116

Method BULID_ENUMERATION on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PARAS Call by reference Type reference (TYPE) TFC_DOWNLOAD_PARAS 20111117

Method CONSTRUCTOR on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method CONVERT_NUM_INT_TO_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) NUMERIC 20111118
2 Importing IV_XUDCPFM Call by reference Type reference (TYPE) XUDCPFM Decimal notation 20111118
3 Returning RV_RESULT Value transfer Type reference (TYPE) STRING 20111118

Method CONVERT_NUM_INT_TO_EXT on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method CONVERT_TO_CSV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSV_LINES Call by reference Type reference (TYPE) STRING_TABLE Table of Strings 20111116
2 Importing IT_FORMAT_FIELD Call by reference Type reference (TYPE) TFC_T_FILE_MAPPING itab for mapping of file and structure 20111116
3 Importing IT_RAW_LINES Call by reference Type reference (TYPE) STANDARD TABLE 20111116
4 Importing IV_CONVERT_STRUCTURE Call by reference Type reference (TYPE) STRING judge item pass 20111116

Method CONVERT_TO_CSV on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method CONV_TIME_INT_TO_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EXTERNAL_TIME Call by reference Type reference (TYPE) STRING 20111118
2 Importing IV_INTERNAL_TIME Call by reference Type reference (TYPE) DATA 20111118
3 Importing IV_TIME_FORMAT Call by reference Type reference (TYPE) XUTIMEFM Time Format (12-/24-Hour Specification) 20111118

Method CONV_TIME_INT_TO_EXT on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method CREATE_FILE_FOR_NOTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DOCUMENT Call by reference Type reference (TYPE) TFC_S_FILE_OFFICE Office Documents 20111222
2 Importing IV_ITEM Call by reference Type reference (TYPE) SCMA_NODE Node ID 20111223
3 Importing IV_SAP_SCRIPT_ID Call by reference Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20111222
# Exception Resumable Description Created on
1 CREATE_DOCU_ERROR 20111222

Method DECODE_COLUMN_TO_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COLUMN Call by reference Type reference (TYPE) STRING 20111116
2 Returning RV_RESULT Value transfer Type reference (TYPE) STRING 20111116

Method DECODE_COLUMN_TO_VALUE on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method DOWNLOAD_BDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_FCC_TEMPL_DOC Call by reference Type reference (TYPE) TFC_S_FILE_OFFICE Office Documents 20111116
2 Importing IV_FILE_PATH Call by reference Type reference (TYPE) STRING 20111116

Method DOWNLOAD_BDS on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method DOWNLOAD_TEMPLATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILE_PATH Call by reference Type reference (TYPE) STRING 20111118
2 Importing IV_PROFILE Call by reference Type reference (TYPE) TFC_PROFILE Fast Close: Task List 20111116

Method DOWNLOAD_TEMPLATE on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method DOWNLOAD_TO_CSV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DOWNLOAD_ITEM Call by reference Type reference (TYPE) ANY 20111116
2 Importing IT_FIELD_MAPPING Call by reference Type reference (TYPE) TFC_T_FILE_MAPPING itab for mapping of file and structure 20111116
3 Importing IV_FILE_PATH Call by reference Type reference (TYPE) STRING 20111116
4 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20111116

Method DOWNLOAD_TO_CSV on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method ENCODE_VALUE_TO_COLUMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) STRING 20111116
2 Exporting RV_RESULT Value transfer Type reference (TYPE) STRING 20111116

Method ENCODE_VALUE_TO_COLUMN on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method GET_CHARACTERISTIC_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHARACTERISTIC_VALUE Call by reference Type reference (TYPE) STRING 20111118
2 Importing IV_NODE_ID Call by reference Type reference (TYPE) SCMA_NODE Node ID 20111118
3 Importing IV_NODE_TYPE Call by reference Type reference (TYPE) TFC_ORGTYPE Structure Data Type for Fast Close 20111118
4 Importing IV_PROFILE Call by reference Type reference (TYPE) TFC_PROFILE_SELECT Name of a Template 20111118

Method GET_CHARACTERISTIC_VALUES on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method GET_DOWNLOAD_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_UPLOAD_DOWNLOAD_ITEM Call by reference Type reference (TYPE) TFC_T_FILE_ITEM 20111117
2 Importing IV_PROFILE Call by reference Type reference (TYPE) TFC_PROFILE Name of a Template 20111116

Method GET_DOWNLOAD_ITEMS on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method GET_EHP_RELEASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_EHP_RELEASE Value transfer Type reference (TYPE) STRING 20111123

Method GET_EHP_RELEASE on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method GET_FORMAT_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FORMAT_MAPPING Call by reference Type reference (TYPE) TFC_T_FILE_MAPPING itab for mapping of file and structure 20111116
2 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20111116

Method GET_FORMAT_MAPPING on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method GET_INFO_OF_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STRUCTURE_INFO Call by reference Type reference (TYPE) TFC_T_DATA_INFO data info 20111116
2 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) STRING 20111116

Method GET_INFO_OF_STRUCTURE on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method GET_ORG_VALUE_BY_CRITERIA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_VAL Call by reference Type reference (TYPE) TFC_IVAL ITab for TFC_VAL 20111118
2 Importing IV_ORG_TYPE Call by reference Type reference (TYPE) TFC_ORGTYPE Structure Data Type for Fast Close 20111116

Method GET_ORG_VALUE_BY_CRITERIA on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method GET_VALID_DOC_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_DOC_NUMBER Call by reference Type reference (TYPE) STRING 20111118
2 Importing IT_ITEM_DOC Call by reference Type reference (TYPE) TFC_T_FILE_OFFICE doc for upload and download 20111118
3 Importing IV_DOC_DESCR Call by reference Type reference (TYPE) TFC_DOC_DESCR Title of Document 20111118
4 Importing IV_DOC_TYPE Call by reference Type reference (TYPE) TFC_FILE_TYPE File Type 20111118

Method GET_VALID_DOC_NAME on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method SELECT_ORG_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_VALUES Call by reference Type reference (TYPE) TFC_IVAL val_data table 20111118
2 Importing IV_ORG_TYPE Call by reference Type reference (TYPE) TFC_ORGTYPE Structure Data Type for Fast Close 20111118
3 Exporting PTAB Call by reference Type reference (TYPE) TFC_IALL_ORG TFC_ALL_ORG as ITAB 20111118

Method SELECT_ORG_TAB on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.

Method SUBSTRING_AFTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STR Call by reference Type reference (TYPE) STRING The substring after regex last found 20111122
2 Importing IV_STR Call by reference Type reference (TYPE) STRING String to be handled 20111122
3 Importing IV_SUBSTRING Call by reference Type reference (TYPE) STRING Substring to be used to split string 20111122

Method SUBSTRING_AFTER on class CL_FCC_DOWNLOAD_TEMPLATE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606