SAP ABAP Class CL_TRANSLATION_DOWNLOAD (cl_translation_download)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DOC-TTL (Application Component) Translation Tools
     SLXE (Package) New MLT Environment
Properties
Class CL_TRANSLATION_DOWNLOAD  
Short Description cl_translation_download    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SLXE   New MLT Environment 
Created 20090512   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_ABAP_ZIP Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_TRANSLATION_DOWNLOAD has no interface implemented.
Friends
Class CL_TRANSLATION_DOWNLOAD has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_ELEMENT_NAME_COMMENT Constant Private Type reference (TYPE) STRING 'comment' 20090512
2 CO_FILEEXT_ITFXML Constant Private See coding '.xml' 20090520
3 CO_FILEEXT_TXT Constant Private See coding '.txt' 20090520
4 CO_NAMESPACE_ITF Constant Private Type reference (TYPE) STRING 'itf' 20090512
5 FILE_TAB Instance attribute Public Type reference (TYPE) TTY_FILE_TAB 20090616
6 LT_DOMS Instance attribute Public See coding Texts for Domains 20090812
7 LT_LANG_PAIRS Instance attribute Public See coding 20090512
8 LT_SEL_GRAPHS Instance attribute Public See coding 20090710
9 LT_SEL_OBJS Instance attribute Public See coding 20090513
10 LT_TRN_STATS Instance attribute Public Type reference (TYPE) TTY_TRN_STATS 20090512
11 LV_CUSTTYPE Instance attribute Private Type reference (TYPE) LXECUSTTYPE 20090512
12 LV_DIRNAME_3 Instance attribute Private Type reference (TYPE) STRING 20090512
13 LV_DOMANAM Instance attribute Private Type reference (TYPE) LXEDOMANAM 20090512
14 LV_ERROR_LOG Instance attribute Private Type reference (TYPE) TTY_ERROR_LOG 20090512
15 LV_ERROR_MSG Instance attribute Private Type reference (TYPE) STRING 20090512
16 LV_FILENAME Instance attribute Private Type reference (TYPE) STRING 20090512
17 LV_FILE_SEP Instance attribute Private See coding 20090512
18 LV_FILE_SEP_EXP Instance attribute Private See coding file separator for export path 20090813
19 LV_LANG_PAIRS Instance attribute Private Type reference (TYPE) LXE_LANG_PAIR Language Pair 20090512
20 LV_SYS_CNTRY Instance attribute Private Type reference (TYPE) TCP0C-COUNTRY Country Key 20090824
21 LV_SYS_LANG Instance attribute Private Type reference (TYPE) TCP0C-LANGU Language Key 20090824
22 LV_SYS_MOD Instance attribute Private Type reference (TYPE) TCP0C-MODIFIER Sub-Selection For Determining a Locale 20090824
23 LV_TYPATTR Instance attribute Private Type reference (TYPE) LXETYPEATT 20090512
24 LV_ZIP Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_ZIP 20090512
25 LV_ZIPCNT Instance attribute Private Type reference (TYPE) N 20100112
26 PATH Instance attribute Public Type reference (TYPE) STRING 20090512
27 WLISTID Instance attribute Public Type reference (TYPE) LXEWLISTID 20090512
28 WL_OPTIMIZER Static Attribute Private Object reference (TYPE REF TO) CL_WL_OPTIMIZER Buffers Attributes of Translation Area, Lang, Object Type 20090518
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FILE_EXTENSION Instance method Private Method 20090512
2 CHECK_EMPTY_XML Instance method Private Method 20090512
3 CHECK_SELECTION Instance method Public Method 20090512
4 CHMOD_FILE Instance method Private Method Changes file permission 20090813
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090520
6 CONSTRUCTOR Instance method Public Constructor Constructor 20090824
7 FILENAME_GEN Instance method Private Method 20090512
8 INIT Instance method Private Method 20090512
9 PROCESS_WL2ZIP Instance method Public Method 20090512
10 READ_WRITE2ZIP Instance method Private Method 20090512
11 RESET_LOCAL Instance method Private Method 20090824
12 SAVE_ZIP Instance method Private Method 20100112
13 SET_LOCAL Instance method Private Method 20090824
14 WRITE_ERROR_LOG Instance method Private Method 20090512
Events
Class CL_TRANSLATION_DOWNLOAD has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 STY_FILE_TAB Public See coding 20090616 BEGIN OF sty_file_tab, filename TYPE string, xcontent TYPE xstring, END OF sty_file_tab
2 STY_LANG_PAIRS Public See coding 20090512 BEGIN OF sty_lang_pairs, sel TYPE flag, s_lang TYPE lxeisolang, t_lang TYPE lxeisolang, END OF sty_lang_pairs
3 STY_TRN_STATS Public See coding 20090512 BEGIN OF sty_trn_stats, sel TYPE flag, trn_stat TYPE lxestattrn, END OF sty_trn_stats
4 TTY_ERROR_LOG Public See coding 20090616 tty_error_log TYPE STANDARD TABLE OF string
5 TTY_FILE_TAB Public See coding 20090616 tty_file_tab TYPE STANDARD TABLE OF sty_file_tab
6 TTY_LANG_PAIRS Public See coding 20090512 tty_lang_pairs TYPE STANDARD TABLE OF sty_lang_pairs
7 TTY_TRN_STATS Public See coding 20090512 tty_trn_stats TYPE STANDARD TABLE OF sty_trn_stats
8 TTY_WORKLIST Public See coding 20090520 tty_worklist TYPE STANDARD TABLE OF lxe_wrkob
9 T_X Private See coding 20090512 t_x TYPE x LENGTH 1000
Method Signatures

Method ADD_FILE_EXTENSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CUSTMNR Call by reference Type reference (TYPE) LXECUSTMNR 20090512
2 Changing FILENAME Call by reference Type reference (TYPE) STRING 20090512
3 Importing OBJTYPE Call by reference Type reference (TYPE) LXEOBJTYPE 20090512

Method ADD_FILE_EXTENSION on class CL_TRANSLATION_DOWNLOAD has no exception.

Method CHECK_EMPTY_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing XMLSTRING Call by reference Type reference (TYPE) LXEXSTRING String 20090512
# Exception Resumable Description Created on
1 CX_EMPTY_ITFXML_ERROR Kein übersetzbarer Text im ITF-XML 20090513
2 CX_LXE_PARSE_ERROR ixml parsing error 20090513

Method CHECK_SELECTION Signature

Method CHECK_SELECTION on class CL_TRANSLATION_DOWNLOAD has no parameter.
Method CHECK_SELECTION on class CL_TRANSLATION_DOWNLOAD has no exception.

Method CHMOD_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_PATH Call by reference Type reference (TYPE) STRING 20090813

Method CHMOD_FILE on class CL_TRANSLATION_DOWNLOAD has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_TRANSLATION_DOWNLOAD has no parameter.
Method CLASS_CONSTRUCTOR on class CL_TRANSLATION_DOWNLOAD has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_TRANSLATION_DOWNLOAD has no parameter.
# Exception Resumable Description Created on
1 FILE_OPEN_ERROR 20100112
2 FILE_WRITE_ERROR 20100112

Method FILENAME_GEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CUSTMNR Call by reference Type reference (TYPE) LXECUSTMNR 20090512
2 Changing FILENAME Call by reference Type reference (TYPE) STRING 20090512
3 Importing OBJNAME Call by reference Type reference (TYPE) LXEOBJNAME 20090512
4 Importing OBJTYPE Call by reference Type reference (TYPE) LXEOBJTYPE 20090512
5 Importing TEXTKEY Call by reference Type reference (TYPE) LXETEXTKEY 20090512

Method FILENAME_GEN on class CL_TRANSLATION_DOWNLOAD has no exception.

Method INIT Signature

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

Method PROCESS_WL2ZIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WORKLIST Call by reference Type reference (TYPE) TTY_WORKLIST 20090520
# Exception Resumable Description Created on
1 FILE_OPEN_ERROR Datei konnte nicht geöffnet werden 20090824
2 FILE_WRITE_ERROR In Datei konnte nicht geschrieben werden 20090824

Method READ_WRITE2ZIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting FILENAME Call by reference Type reference (TYPE) STRING 20090824
2 Importing LANG Call by reference Type reference (TYPE) LXEISOLANG 20090512
3 Importing WAWORKLIST Call by reference Type reference (TYPE) LXE_WRKOB 20090512
# Exception Resumable Description Created on
1 CX_EMPTY_ITFXML_ERROR Kein übersetzbarer Text im ITF-XML 20090513
2 CX_LXE_GETTEXT_ERROR CX_LXE_GETTEXT_ERROR 20090824

Method RESET_LOCAL Signature

Method RESET_LOCAL on class CL_TRANSLATION_DOWNLOAD has no parameter.
Method RESET_LOCAL on class CL_TRANSLATION_DOWNLOAD has no exception.

Method SAVE_ZIP Signature

Method SAVE_ZIP on class CL_TRANSLATION_DOWNLOAD has no parameter.
# Exception Resumable Description Created on
1 FILE_OPEN_ERROR 20100112
2 FILE_WRITE_ERROR 20100112

Method SET_LOCAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LANG Call by reference Type reference (TYPE) LXEISOLANG ISO Sprachkennzeichen 20090824

Method SET_LOCAL on class CL_TRANSLATION_DOWNLOAD has no exception.

Method WRITE_ERROR_LOG Signature

Method WRITE_ERROR_LOG on class CL_TRANSLATION_DOWNLOAD has no parameter.
Method WRITE_ERROR_LOG on class CL_TRANSLATION_DOWNLOAD has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 730