Project

Embed Size (px)

DESCRIPTION

sap

Citation preview

*&---------------------------------------------------------------------* *& Report ZSOFTCOPY * *& * *&---------------------------------------------------------------------* *& * *& This program is free software: you can redistribute it and/or * *& modify it under the terms of the GNU General Public License as * *& published by the Free Software Foundation, either version 3 of the * *& License, or any later version. * *& * *& This program is distributed in the hope that it will be useful, * *& but WITHOUT ANY WARRANTY; without even the implied warranty of * *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * *& See the GNU General Public License for more details. * *& * *& You should have received a copy of the GNU General Public License * *& along with this program. If not, see .* *& * *&---------------------------------------------------------------------* *& * *& Author: Ruediger von Creytz [email protected] * *& Copyright: globalBIT, LLC http://www.globalbit.net * *& Version: 20091027 * *& * *&---------------------------------------------------------------------* REPORT ZSOFTCOPY. ***required *&---------------------------------------------------------------------* *& Include ZSOFTCOPY_TYPES * *& * *&---------------------------------------------------------------------* *& * *& This file is part of ZSOFTCOPY. * *& * *& ZSOFTCOPY is free software: you can redistribute it and/or modify * *& it under the terms of the GNU General Public License as published * *& by the Free Software Foundation, either version 3 of the License, * *& or any later version. * *& * *& ZSOFTCOPY is distributed in the hope that it will be useful, * *& but WITHOUT ANY WARRANTY; without even the implied warranty of * *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * *& GNU General Public License for more details. * *& * *& You should have received a copy of the GNU General Public License * *& along with ZDOWNLOAD. If not, see . * *& * *&---------------------------------------------------------------------* *& * *& Author: Ruediger von Creytz [email protected] * *& Copyright: globalBIT, LLC http://www.globalbit.net * *& * *&---------------------------------------------------------------------* type-pools: abap.

types: it_abapsource type standard table of abapsource, begin of st_abaptxt255, line(255) type c, end of st_abaptxt255, it_abaptxt255 type standard table of st_abaptxt255, begin of st_access, checked type flag, ddtext type string, sub type n, end of st_access, it_access type standard table of st_access, begin of st_attributes, descript type string, person_responsible type as4user, person_responsible_text type ad_namtext, author type bname, author_text type ad_namtext, date_created type string, bname type bname, name_text type ad_namtext, date_last_changed type string, time_last_changed type string, date_last_generation type string, time_last_generation type string, devclass type devclass, devclass_descr type as4text, laiso type laiso, sptxt type sptxt, display_appview type flag, appview type string, display_rfcenable type flag, rfcenable type flag, application_component type akhkompo, end of st_attributes, begin of st_component, component type dlvunit, release type saprelease, level type num4, high_package type patch, desc_text type comp_desc, end of st_component, it_component type standard table of st_component, it_d021s type standard table of d021s, begin of st_data_type, domname type domname, domdescr type as4text, datatype type datatype_d, datadescr type val_text, dataleng type ddleng, datadeci type decimals, refkind type typekind, reftype(1) type c,

end of st_data_type, begin of st_definition_1, datatype type datatype_d, datadescr type string, dataleng type ddleng, datadeci type decimals, outputlen type outputlen, convexit type convexit, signflag type signflag, lowercase type lowercase, end of st_definition_1, begin of st_definition_2, selmethod type selmethod, texttab type selmethtxt, dialogtype type ddshdiatyp, hotkey type ddshhotkey, selmexit type ddshselext, end of st_definition_2, begin of st_deliv_maint, display_cont type flag, contflag type contflag, contflag_text type string, display_main type flag, mainflag_text type string, sqltab type sqlappdtab, end of st_deliv_maint, begin of st_dom_value, text type val_text, value type domvalue_l, end of st_dom_value, it_dom_value type standard table of st_dom_value, begin of st_dynpro_function_new, "since version 4.01 type(1) type c, code type tcode, end of st_dynpro_function_new, begin of st_dynpro_function_old, "till version 4.00 code(4) type c, type(1) type c, end of st_dynpro_function_old, begin of st_dynpro_name, prog like d020s-prog, dnum like d020s-dnum, end of st_dynpro_name, begin of st_dynpro_release, rel(1) type c, dot(1) type c, version(2) type c, end of st_dynpro_release, it_feld type standard table of feld, begin of st_feld_redef,

dropdown type string, fobl type string, end of st_feld_redef, it_feld_redef type standard table of st_feld_redef, begin of st_field_label, scrlen_s type scrlen_s, scrtext_s type scrtext_s, scrlen_m type scrlen_m, scrtext_m type scrtext_m, scrlen_l type scrlen_l, scrtext_l type scrtext_l, headlen type headlen, reptext type reptext, end of st_field_label, begin of st_further_char, shlpname type shlpname, shlpfield type shlpfield, memoryid type memoryid, deffdname type deffdname, logflag type logflag, end of st_further_char, begin of st_init_access, info1 type string, info2 type string, occurs(5) type n, unknown type flag, end of st_init_access, begin of st_join_conditions, tabname_l type tabname, fieldname_l type fieldname, operator type string, tabname_r type tabname, fieldname_r type fieldname, end of st_join_conditions, it_join_conditions type standard table of st_join_conditions, begin of st_key, info type string, end of st_key, begin of st_last_logon, date type sydatum, time type syuzeit, date_now type sydatum, time_now type syuzeit, end of st_last_logon, begin of st_line_type, info type string, rowkind type string, rowtype type string, rowdescr type string, datatype type datatype_d, dataleng type ddleng, datadeci type decimals, reftype(1) type c,

refdescr type string, range_ctyp type string, ctdatatype type datatype_d, ctleng type ddleng, ctdecimals type decimals, end of st_line_type, begin of st_link, descript type as4text, title type string, href type string, onclick type string, end of st_link, it_link type standard table of st_link, begin of st_o2pageline, line type char255, end of st_o2pageline, it_o2pageline type standard table of st_o2pageline, begin of st_pack_intf, intf_name type scomifnam, forsys type as4text, descript type as4text, end of st_pack_intf, it_pack_intf type standard table of st_pack_intf, begin of st_pack_perm, pack_name type packname, intf_name type scomifnam, err_sever type as4text, end of st_pack_perm, it_pack_perm type standard table of st_pack_perm, begin of st_pack_sub, devclass type packname, ctext type as4text, end of st_pack_sub, it_pack_sub type standard table of st_pack_sub, begin of st_parameter, name type string, typing type string, structure type string, defvalue type string, optional type flag, passvalue type flag, stext type string, ltext type string, ltext_onclick type string, ltext_doku_obj type doku_obj, end of st_parameter, it_parameter type standard table of st_parameter, begin of st_prop, name(5) type c, value(40) type c, end of st_prop, it_prop type standard table of st_prop,

begin of st_properties, superclass type seoclsref, check_model_inh type seostatf1c, descript type seodescr, creatable type ddtext, clsfinal type seofinal, end of st_properties, begin of st_ref_seoalias, cpdname type seocpdname, cmptype type seocmptype, type type string, refcmpname type seocmpname, exposure type string, owner type seoclsname, end of st_ref_seoalias, it_ref_seoalias type standard table of st_ref_seoalias, begin of st_ref_seoattrib, cpdname type seocpdname, inherited type flag, exposure type string, check_model type flag, decltype type string, attrdonly type seordonly, typtype type string, type type rs38l_typ, onclick type string, typelink type string, descript type seodescr, attvalue type seovalue, owner type seoclsname, end of st_ref_seoattrib, it_ref_seoattrib type standard table of st_ref_seoattrib, begin of st_ref_seoevent, cpdname type seocpdname, inherited type flag, type type string, exposure type string, check_model type flag, descript type seodescr, owner type seoclsname, end of st_ref_seoevent, it_ref_seoevent type standard table of st_ref_seoevent, begin of st_ref_seofriends, refclsname type seoclsname, check_model type boolean, descript type seodescr, end of st_ref_seofriends, it_ref_seofriends type standard table of st_ref_seofriends, begin of st_ref_seointerface, refclsname type seoclsname, hierlevel type i, inherited type flag, impfinal type flag, impabstrct type flag, check_model type flag,

descript type seodescr, owner type seoclsname, end of st_ref_seointerface, it_ref_seointerface type standard table of st_ref_seointerface, begin of st_ref_seomethod, cpdname type seocpdname, inherited type flag, active type string, onclick type string, redefin type flag, type type string, exposure type string, check_model type flag, methodtype type string, descript type seodescr, owner type seoclsname, end of st_ref_seomethod, it_ref_seomethod type standard table of st_ref_seomethod, begin of st_ref_seosignature, declaration type string, parameter type string, type type string, descript type string, end of st_ref_seosignature, it_ref_seosignature type standard table of st_ref_seosignature, begin of st_ref_seotype, cpdname type seocpdname, inherited type flag, typtype type string, type type rs38l_typ, exposure type string, check_model type flag, onclick type string, typelink type string, descript type seodescr, owner type seoclsname, end of st_ref_seotype, it_ref_seotype type standard table of st_ref_seotype, begin of st_seo_super_class, clsname type seoclsname, hierlevel type i, end of st_seo_super_class, it_seo_super_class type standard table of st_seo_super_class, it_string type standard table of string, begin of st_table_structure, id type char10, row_nr(3) type n, fieldname type fieldname, title_elem type fieldname, link_row type fieldname, row_def type char1, colored_row type fieldname, comparator type char2, comp_value type char30,

title type as4text, end of st_table_structure, it_table_structure type standard table of st_table_structure, begin of st_tables, primary type flag, tabname type tabname, enqmode type string, end of st_tables, it_tables type standard table of st_tables, begin of st_tabname, tabname type tabname, end of st_tabname, it_tabname type standard table of st_tabname, begin of st_tabstrip, form type fieldname, id(100) type c, parent_id(100) type c, tab_nr(2) type n, firstrow type flag, active_order(1) type n, text_elem type char30, comparator type char2, comp_value type char30, active type flag, disabled type flag, hidden type flag, empty type flag, text type as4text, end of st_tabstrip, it_tabstrip type standard table of st_tabstrip, begin of st_text_element, fieldname type fieldname, txt_prefix type char30, dtel_rollname type rollname, dtel_field type c, domname type char30, domvalue(10) type c, icon_id type icon_d, icon_field type c, conc_v1 type fieldname, conc_copula(20) type c, conc_v2 type fieldname, conc_sep_space type flag, msg_id(20) type c, msg_nr(3) type n, msg_v1 type fieldname, msg_v2 type fieldname, msg_v3 type fieldname, msg_v4 type fieldname, is_set type flag, end of st_text_element, it_text_element type standard table of st_text_element, begin of st_text_element_t, fieldname type fieldname, spras type spras,

text type as4text, end of st_text_element_t, it_text_element_t type standard table of st_text_element_t, begin of st_textinput, space type flag, name type string, name_suffix type string, no_name type flag, value type string, value_text type string, value_double_length type flag, value_ext type string, value_ext_text type string, description type string, flag type flag, input type flag, has_value_ext type flag, flag_col type i, end of st_textinput, it_textinput type standard table of st_textinput, it_textpool type standard table of textpool, begin of st_textpool_addons, entry type textpooltx, strlen type i, dict_ref type flag, end of st_textpool_addons, it_textpool_addons type standard table of st_textpool_addons, it_seotypepls type standard table of seotypepls, begin of st_value_range, domvalue_l type domvalue_l, domvalue_h type domvalue_h, ddtext type ddtext, end of st_value_range, it_value_range type standard table of st_value_range, begin of st_varid, report type vari_reprt, vari type variant, end of st_varid, it_varid type standard table of st_varid, begin of st_variant, program type syrepid, variant type syslset, selname type rsscr_name, text type sychar30, kind type string, sign type string, option type string, low type tvarv_val, high type tvarv_val, end of st_variant, it_variant type standard table of st_variant, begin of st_version_info,

type(21) type c, value(59) type c, end of st_version_info, it_version_info type table of st_version_info, begin of st_zdd03p_ext, shlporigin_f type flag, shlporigin_p type flag, shlporigin_ddtext type string, end of st_zdd03p_ext, it_zdd03p_ext type standard table of st_zdd03p_ext, begin of st_zseomethod, pgmid type pgmid, object type trobjtype, devclass type devclass, clsname type seoclsname, cpdname type seocpdname, active type string, downloaded type flag, subrc type sysubrc, end of st_zseomethod, it_zseomethod type standard table of st_zseomethod, begin of st_ztadir, pgmid type pgmid, object type trobjtype, subc type subc, obj_name type sobj_name, devclass type devclass, progname type progname, futype type char1, funcname type rs38l_fnam, dynpronr type dynpronr, descript type string, tabclass type tabclass, aggtype type aggtype, masterlang type masterlang, downloaded type flag, subrc type sysubrc, end of st_ztadir, it_ztadir type standard table of st_ztadir. *&---------------------------------------------------------------------* *& Include ZSOFTCOPY_TXT * *&---------------------------------------------------------------------* *&!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!* *&!!!!!!!!!!! generated by ZSOFTCOPY_MAKE !!!!! do not edit !!!!!!!!!!!* *&!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!* *&---------------------------------------------------------------------* constants g_c_version type sydatum value '20091026'. data: TPT_DDIC_DOMA type string, TPT_DDIC_DTEL type string, TPT_DDIC_ENQU type string, TPT_DDIC_SHLP type string, TPT_DDIC_STRU type string, TPT_DDIC_TABL type string, TPT_DDIC_TTYP type string, TPT_DDIC_TYPE type string,

TPT_DDIC_VIEW type string, TPT_FUGR_FUBA type string, TPT_FUGR_FUGR type string, TPT_FUGR_INCL type string, TPT_FUGR_SCR type string, TPT_O2_XSLT type string, TPT_PACK_DEVC type string, TPT_PROG_INCL type string, TPT_PROG_REPO type string, TPT_SEO_CLAS type string, TPT_SEO_INTF type string, TXTT_CLASS_NAME_VALUE type string, TXTT_CONTEXT_MENU_FORM_ON_CTME type string, TXTT_CURRENCY_QUANTITY_FIELD type string, TXTT_ENTRY_HELP_CHECK type string, TXTT_INCLUDE_NAME_VALUE type string, TXTT_INTERFACE_NAME_VALUE type string, TXTT_LINES_COLUMNS type string, TXTT_REPORT_NAME_VALUE type string, TXTT_SCREEN_FOR_NAME_VALUE type string, TXTT_TABLES_JOIN_CONDITIONS type string, TXTT_TRANSFORMATION_NAME_VALUE type string, TXTT_TYPE_GROUP_OBJECT_TYPE type string, TXTT_UNICODE_CHECKS_ACTIVE type string, TXT_2_DIMENSIONAL type string, TXT_ABAP_LOAD type string, TXT_ABOUT type string, TXT_ABSTRACT type string, TXT_ACCESS type string, TXT_ACCESS_TYPE_IS_GIVEN_FOR_A type string, TXT_ACTIVATED type string, TXT_ACTIVE___1 type string, TXT_ACTIVE___2 type string, TXT_ALIAS type string, TXT_ALIASES type string, TXT_ALLOWED_OBJECT_TYPES type string, TXT_ALLOW_RFC type string, TXT_ALL_RIGHTS_RESERVED type string, TXT_AND_OR type string, TXT_APPENDING_VIEW type string, TXT_APPLICATION type string, TXT_APPLICATION_COMPONENT type string, TXT_ASSOCIATED_TYPE type string, TXT_ASSOCIATED_TYPE_FOR_LOW_HI type string, TXT_AS_LABEL_LEFT type string, TXT_AS_LABEL_RIGHT type string, TXT_ATTRIBUTE type string, TXT_ATTRIBUTES___1 type string, TXT_ATTRIBUTES___2 type string, TXT_AUTHORIZATION_GROUP type string, TXT_AUTHORIZATION_OBJECT type string, TXT_BRG type string, TXT_BUFFERING type string, TXT_BUFFERING_TYPE type string, TXT_BUILT_IN_TYPE type string, TXT_CATEGORY type string, TXT_CHANGED_ON type string, TXT_CHANGES_ARE_RECORDED type string, TXT_CHANGE_DOCUMENT type string, TXT_CHANGING type string,

TXT_CHECK type string, TXT_CHECK_TABLE type string, TXT_CLASS type string, TXT_CLASSES type string, TXT_CLASSIFICATION type string, TXT_CLASS_DOCUMENTATION type string, TXT_CLASS_LIBRARY type string, TXT_CLIENT type string, TXT_CLUSTER_TABLE type string, TXT_COLL_RUN type string, TXT_COLUMN type string, TXT_COLUMNS type string, TXT_COLUMN_HEADING type string, TXT_COMPARE_FLAG type string, TXT_COMPARISON_VALUE type string, TXT_COMPILATION type string, TXT_COMPLETE type string, TXT_COMPLETED type string, TXT_COMPONENT type string, TXT_COMPONENTS type string, TXT_COMPONENT_INFORMATION type string, TXT_COMPONENT_TYPE type string, TXT_COMPONENT_VERSION type string, TXT_COMPRESSED type string, TXT_CONTEXT_MENU type string, TXT_CONTROL_COMPOSITE_NAME type string, TXT_CONVERSION_EXIT type string, TXT_CONVERS_ROUTINE type string, TXT_CREATED type string, TXT_CREATED_BY___1 type string, TXT_CREATED_BY___2 type string, TXT_CREATED_ON type string, TXT_CREATE_STATEMENT type string, TXT_CUA_LOAD type string, TXT_CURRENCY type string, TXT_CURSOR_POSITION type string, TXT_DATABASE_CONTENT type string, TXT_DATABASE_DATA type string, TXT_DATABASE_INFORMATION type string, TXT_DATABASE_SYSTEM type string, TXT_DATABASE_TABLES type string, TXT_DATA_BROWSER_TABLE_VIEW_MA type string, TXT_DATA_CLASS type string, TXT_DATA_COLLECTION type string, TXT_DATA_ELEM type string, TXT_DATA_ELEMENTS type string, TXT_DATA_ELEMENT___1 type string, TXT_DATA_ELEMENT___2 type string, TXT_DATA_TYPE type string, TXT_DBSL_PATCH_LEVEL type string, TXT_DBSL_VERSION type string, TXT_DB_CLIENT_LIB type string, TXT_DB_RELEASES type string, TXT_DECIMAL_PLACES___M type string, TXT_DECIMAL_PLACES___T type string, TXT_DEFAULTS type string, TXT_DEFAULT_COMPONENT_NAME type string, TXT_DEFAULT_VALUE___1 type string, TXT_DEFAULT_VALUE___2 type string, TXT_DEFINITION type string,

TXT_DEFLG type string, TXT_DELIVERY_AND_MAINTENANCE type string, TXT_DELIVERY_CLASS type string, TXT_DESCRIPTION type string, TXT_DIALOG_BEHAVIOR type string, TXT_DIALOG_DATA_TRANSPORT_DETA type string, TXT_DIALOG_TYPE type string, TXT_DICTIONARY_REFERENCE type string, TXT_DICT_FIELD type string, TXT_DICT_MODIFIED type string, TXT_DICT_OBJS type string, TXT_DIRECTORY type string, TXT_DISABLED type string, TXT_DISPLAY type string, TXT_DISPLAY_ATTR type string, TXT_DLEN type string, TXT_DOCUMENTATION type string, TXT_DOMAIN type string, TXT_DOMAINS type string, TXT_DROPDOWN type string, TXT_DTYP type string, TXT_DYNAMIC_CONTEXT_MENU type string, TXT_EDITOR_LOCK type string, TXT_EDIT_LOCK type string, TXT_ELEMENTARY_SRCH_HLP type string, TXT_ELEMENTARY_TYPE type string, TXT_ELEMENT_LIST type string, TXT_EMPTY_TAB type string, TXT_ENHANCEMENT_CATEGORY type string, TXT_ENHANCEMENT_CATEGORY_FOR_S type string, TXT_ENTER_A_PACKAGE type string, TXT_ENTRY type string, TXT_ENTRY_HELP type string, TXT_EQ type string, TXT_ERROR_SEVERITY type string, TXT_EVENT type string, TXT_EVENTS type string, TXT_EXCEPTIONS type string, TXT_EXCEPTION___1 type string, TXT_EXCEPTION___2 type string, TXT_EXCLUSIVE type string, TXT_EXP type string, TXT_EXPORT type string, TXT_FIELD type string, TXT_FIELDS type string, TXT_FIELD_LABEL type string, TXT_FIELD_NAME type string, TXT_FINAL type string, TXT_FIRST_PAGE type string, TXT_FIXED_FONT type string, TXT_FIXED_POINT_ARITHMETIC type string, TXT_FIX_VAL type string, TXT_FLOW_LOGIC type string, TXT_FOREIGN_KEY type string, TXT_FOREIGN_SOURCE_SYSTEM type string, TXT_FORMAT type string, TXT_FORMATTING type string, TXT_FORWARD_DECLARATIONS type string, TXT_FRAMESET type string, TXT_FRIENDS type string,

TXT_FULLY_BUFFERED type string, TXT_FUNCTIONAL_TYPE type string, TXT_FUNCTION_CODE type string, TXT_FUNCTION_GROUP type string, TXT_FUNCTION_GROUPS type string, TXT_FUNCTION_GROUP_DOC type string, TXT_FUNCTION_MODULE type string, TXT_FUNCTION_MODULES type string, TXT_FUNCTION_MODULE_DOCUMENTAT type string, TXT_FURTHER_CHARACTERISTICS type string, TXT_GENERAL_ATTR type string, TXT_GENERAL_DATA type string, TXT_GENERIC_AREA_BUFFERED type string, TXT_GET_PARAMETER type string, TXT_GLOBAL type string, TXT_GROUP type string, TXT_GROUP_1 type string, TXT_GROUP_2 type string, TXT_GROUP_3 type string, TXT_GROUP_4 type string, TXT_GUI_STATUS type string, TXT_HEADING type string, TXT_HEIGHT type string, TXT_HELP type string, TXT_HIDDEN type string, TXT_HIERARCHY type string, TXT_HIGHEST_SUPPORT_PACKAGE type string, TXT_HOLD_DATA type string, TXT_HOLD_SCROLL_POSITION type string, TXT_HOST type string, TXT_HOST_DATA type string, TXT_HOT_KEY type string, TXT_ICON type string, TXT_ICON_NAME type string, TXT_ICON_TEXT type string, TXT_IMMEDIATE_START_NO_RESTART type string, TXT_IMP type string, TXT_IMPLEMENTATION type string, TXT_IMPLEMENTED_ACTIVE type string, TXT_IMPORT type string, TXT_INACTIVE type string, TXT_INCLUDE type string, TXT_INCLUDES type string, TXT_INCLUDE_NAME type string, TXT_INCLUSIVE type string, TXT_INFO type string, TXT_INITIALIZATION_AND_ACCESS type string, TXT_INITIAL_LINE_NUMBER type string, TXT_INITIAL_VALUE type string, TXT_INITIAL_VALUES type string, TXT_INPUT type string, TXT_INSTALLATION_NUMBER type string, TXT_INSTANTIATION type string, TXT_INTERFACE type string, TXT_INTERFACES type string, TXT_INTERFACE_COMPONENT type string, TXT_INTERFACE_DOCUMENTATION type string, TXT_INTERNALLY_RELEASED_ON type string, TXT_INTERVALS type string, TXT_INVISIBLE type string,

TXT_IP_ADDRESS type string, TXT_JOIN_CONDITIONS type string, TXT_KERNEL_INFORMATION___1 type string, TXT_KERNEL_INFORMATION___2 type string, TXT_KERNEL_RELEASE type string, TXT_KEY type string, TXT_KEY_ATTRIBUTE_DEFINED_FOR1 type string, TXT_KEY_ATTRIBUTE_DEFINED_FOR2 type string, TXT_KEY_CATEGORY type string, TXT_KEY_COMPONENTS type string, TXT_KEY_DEFINITION type string, TXT_KEY___KEY type string, TXT_LANGUAGE type string, TXT_LAST_CHANGED_BY___1 type string, TXT_LAST_CHANGED_BY___2 type string, TXT_LAST_CHANGED_ON_BY type string, TXT_LAST_GENERATION type string, TXT_LEADING_ZEROS type string, TXT_LENGTH type string, TXT_LEVEL type string, TXT_LICENSE_EXPIRATION type string, TXT_LINE type string, TXT_LINES type string, TXT_LINE_TYPE type string, TXT_LIST_HEADER type string, TXT_LIST_HEADINGS type string, TXT_LOCAL_TYPES type string, TXT_LOCK_MODE type string, TXT_LOCK_OBJECTS type string, TXT_LOCK_OBJECT___1 type string, TXT_LOCK_OBJECT___2 type string, TXT_LOCK_PARAMETER type string, TXT_LOGICAL_DATABASE type string, TXT_LOGICAL_STORAGE_PARAMETERS type string, TXT_LOGON type string, TXT_LOG_DATA_CHANGES type string, TXT_LONG type string, TXT_LONG_TEXT type string, TXT_LOWERCASE type string, TXT_LOWER_LIMIT type string, TXT_LPOS type string, TXT_MACHINE_TYPE type string, TXT_MACROS type string, TXT_MAINTENANCE type string, TXT_MAINTENANCE_SCREENS type string, TXT_MAINTENANCE_TYPE type string, TXT_MAINT_SCREEN_NO type string, TXT_MAINT_STATUS type string, TXT_MAIN_PACKAGE type string, TXT_MAIN_PROGRAM type string, TXT_MAX_NO_OF_LINES type string, TXT_MEDIUM type string, TXT_MENU type string, TXT_MESSAGE_CLASS type string, TXT_METHOD type string, TXT_METHODS type string, TXT_METHOD_TYPE type string, TXT_MOD type string, TXT_MODAL_DIALOG_BOX type string, TXT_MODE type string,

TXT_MODELED_ONLY type string, TXT_MODIFIED type string, TXT_MOD_GROUPS_FUNCTIONS type string, TXT_NAME type string, TXT_NAME_OF_REF_TYPE type string, TXT_NEXT_SCREEN type string, TXT_NO type string, TXT_NORMAL type string, TXT_NORMAL_FUNCTION_MODULE type string, TXT_NOT_RELEASED type string, TXT_NO_LENGTH_RESTRICTION type string, TXT_NO_OF_CHARACTERS type string, TXT_NO_OF_KEY_FIELDS type string, TXT_NO_OR_USER_RECORDING_ROUTI type string, TXT_NO_RESET type string, TXT_OBJECTS type string, TXT_OBJECT_TYPE type string, TXT_OCCUPIED type string, TXT_ONE_STEP type string, TXT_OPERATING_SYSTEM type string, TXT_OPERATOR type string, TXT_OPTION type string, TXT_OPTIONAL type string, TXT_OPTIONS type string, TXT_OP_RELEASE type string, TXT_ORIGINAL_LANGUAGE type string, TXT_ORIGIN_OF_THE_INPUT_HELP type string, TXT_OTHER_ATTRIBUTES type string, TXT_OUTPUT type string, TXT_OUTPUT_CHARACTERISTICS type string, TXT_OUTPUT_LENGTH type string, TXT_OUTPUT_ONLY type string, TXT_OVERVIEW_SCREEN type string, TXT_OWNER type string, TXT_PACKAGE type string, TXT_PACKAGES_INCLUDED type string, TXT_PACKAGE_CHECK_AS_CLIENT type string, TXT_PACKAGE_CHECK_AS_SERVER type string, TXT_PACKAGE_INTERFACE type string, TXT_PACKAGE_INTERFACES type string, TXT_PACKAGE_NOT_EXTENDABLE type string, TXT_PACKAGE_PROPERTIES type string, TXT_PARAMETER type string, TXT_PARAMETERS type string, TXT_PARAMETER_ID type string, TXT_PARAMETER_NAME type string, TXT_PASS_VALUE type string, TXT_PERSON_RESPONSIBLE___1 type string, TXT_PERSON_RESPONSIBLE___2 type string, TXT_PLATFORM_ID type string, TXT_PLEASE_ENTER_A_ROOT_DIR type string, TXT_PLEASE_ENTER_A_VALID_PATH type string, TXT_POOLED_TABLE type string, TXT_POOL_CLUSTER type string, TXT_POSITION type string, TXT_POSS_ENTRIES_KEY type string, TXT_PREVIOUS_LOGON type string, TXT_PRIMARY_TABLE type string, TXT_PROCESSING_TYPE type string, TXT_PRODUCT_UNDER_GPL type string,

TXT_PROGRAMS type string, TXT_PROGRAM_GUI type string, TXT_PROGRAM_NAME type string, TXT_PROGRAM_SCREEN type string, TXT_PROGRAM_STATUS type string, TXT_PROPERTIES type string, TXT_PROPERTY_LIST type string, TXT_QUANTITY_FIELD type string, TXT_READ_ONLY type string, TXT_RECORDING_ROUTINE type string, TXT_REFERENCES type string, TXT_REFERENCE_FIELD type string, TXT_REFERENCE_TABLE type string, TXT_REFERENCE_TO_PREDEFINED_TY type string, TXT_REFERENCE_TYPE type string, TXT_REF_FIELD type string, TXT_RELEASE type string, TXT_RELEASED_INTERNALLY type string, TXT_REMOTE_ENABLED_MODULE type string, TXT_REPORT type string, TXT_REPOSITORY_DATA type string, TXT_RESP_TO_DBLCLK type string, TXT_RESTRICT type string, TXT_RIGHT_JUST type string, TXT_RSYN_FILE type string, TXT_RTYPE type string, TXT_SAP_DATA type string, TXT_SAP_SYSTEM_DATA type string, TXT_SAP_VERSIONS type string, TXT_SAVED type string, TXT_SCREENS type string, TXT_SCREEN_FOR type string, TXT_SCREEN_GROUP type string, TXT_SCREEN_NUMBER type string, TXT_SCREEN_TYPE type string, TXT_SCROLLABLE type string, TXT_SDIS type string, TXT_SEARCH_HELP type string, TXT_SEARCH_HELP_EXIT type string, TXT_SEARCH_HELP_PARAMETER type string, TXT_SECONDARY_TABLES type string, TXT_SELECTION type string, TXT_SELECTION_CONDITIONS type string, TXT_SELECTION_CRITERIA type string, TXT_SELECTION_METHOD type string, TXT_SELECTION_SCREEN type string, TXT_SELECTION_SCREEN_VERSION type string, TXT_SELECTION_TEXTS type string, TXT_SERVER_NAME type string, TXT_SETTINGS type string, TXT_SET_PARAMETER type string, TXT_SHARED_MEMORY_ENABLED type string, TXT_SHORT type string, TXT_SHORT_DESCRIPTION_OF_SOFTW type string, TXT_SHORT_DESCRIPTION___1 type string, TXT_SHORT_DESCRIPTION___2 type string, TXT_SHORT_TEXT___1 type string, TXT_SHORT_TEXT___2 type string, TXT_SIGN type string, TXT_SINGLE_RECORDS_BUFF type string,

TXT_SINGLE_SCREEN type string, TXT_SINGLE_VARS type string, TXT_SIZE_CATEGORY type string, TXT_SOFTWARE_COMPONENT type string, TXT_SOURCECDE type string, TXT_SOURCE_CODE type string, TXT_SPECIAL_ATTR type string, TXT_SPOS type string, TXT_SRCH_HELP type string, TXT_SRCH_HELPS type string, TXT_STANDARD_RECORDING_ROUTINE type string, TXT_START_DELAYED type string, TXT_START_IMMED type string, TXT_START_USING_VARIANT type string, TXT_STATUS type string, TXT_STRUCTURE type string, TXT_STRUCTURED_ROW_TYPE type string, TXT_STRUCTURED_TYPE type string, TXT_STRUCTURES type string, TXT_SUBSCREEN type string, TXT_SUPERCLASS type string, TXT_SUPPLEMENTARY_DOCUMENTATIO type string, TXT_SUP_PKG_LVL type string, TXT_SURROUNDING_PACKAGE type string, TXT_SWITCH_OFF_RUNTIME_COMPRES type string, TXT_SYMBOL type string, TXT_SYSTEM type string, TXT_SYSTEM_INFORMATION type string, TXT_SYSTEM_TIME type string, TXT_TABLE type string, TXT_TABLES type string, TXT_TABLE_MAINTENANCE_GENERATO type string, TXT_TABLE_TYPE type string, TXT_TABLE_TYPES type string, TXT_TECHNICAL_DIALOG_DETAILS type string, TXT_TECHNICAL_SETTINGS type string, TXT_TEMPLATE_NON_EXECUTABLE type string, TXT_TEXT type string, TXT_TEXTS_IO_TEMPLATES type string, TXT_TEXT_ELEMENTS type string, TXT_TEXT_OR_IO_FIELD type string, TXT_TEXT_TABLE type string, TXT_TITLE type string, TXT_TRANSACTION type string, TXT_TRANSFORMATION type string, TXT_TRANSFORMATIONS type string, TXT_TRANSPORT_ATTRIBUTES type string, TXT_TRANSPORT_LAYER type string, TXT_TRANSP_TABLE type string, TXT_TWO_STEP type string, TXT_TYPES type string, TXT_TYPE_GROUP type string, TXT_TYPE_GRPS type string, TXT_TYPE_IS_GENERIC type string, TXT_TYPE_OF_SCREEN_ELEMENT type string, TXT_TYPE_SPEC type string, TXT_TYPE___1 type string, TXT_TYPE___2 type string, TXT_TYPING type string, TXT_UNICODE_CHECKS type string,

TXT_UNICODE_SYSTEM type string, TXT_UPDATES type string, TXT_UPDATE_MODULE type string, TXT_UPPERLIMIT type string, TXT_UPPER_LOWER_CASE_ENTRY type string, TXT_USAGE_DATA type string, TXT_USER type string, TXT_USE_ACCESS type string, TXT_VALUE_LIST type string, TXT_VALUE_RANGE type string, TXT_VARIANT type string, TXT_VARIANTS type string, TXT_VARIANTS_OF_REPORTS type string, TXT_VERSION type string, TXT_VIEW type string, TXT_VIEWS type string, TXT_VIEW_FIELD type string, TXT_VIEW_FLDS type string, TXT_VISIBILITY type string, TXT_VISIBLE type string, TXT_VISLG type string, TXT_W type string, TXT_WITHOUT_APPLICATION_TOOLBA type string, TXT_WITHOUT_TEMPLATE type string, TXT_WITH_ICON type string, TXT_YES type string, VAR_NAME_VALUE type string. *&---------------------------------------------------------------------* *& Include ZSOFTCOPY_VARIABLES * *& * *&---------------------------------------------------------------------* *& * *& This file is part of ZSOFTCOPY. * *& * *& ZSOFTCOPY is free software: you can redistribute it and/or modify * *& it under the terms of the GNU General Public License as published * *& by the Free Software Foundation, either version 3 of the License, * *& or any later version. * *& * *& ZSOFTCOPY is distributed in the hope that it will be useful, * *& but WITHOUT ANY WARRANTY; without even the implied warranty of * *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * *& GNU General Public License for more details. * *& * *& You should have received a copy of the GNU General Public License * *& along with ZDOWNLOAD. If not, see . * *& * *&---------------------------------------------------------------------* *& * *& Author: Ruediger von Creytz [email protected] * *& Copyright: globalBIT, LLC http://www.globalbit.net * *& * *&---------------------------------------------------------------------* data: g_add_db_content g_add_db_format_csv g_add_db_format_xml g_add_db_max_lines

type type type type

flag flag flag i

value value value value

abap_true, abap_true, abap_true, 500,

g_add_elem_ddic g_add_elem_tabl g_add_elem_view g_add_elem_ttyp g_add_elem_struc g_add_elem_dtel g_add_elem_doma g_add_elem_shlp g_add_elem_enqu g_add_elem_type g_add_elem_clslib g_add_elem_clas g_add_elem_intf g_add_elem_prog g_add_elem_fugr g_add_elem_fuba g_add_elem_scr g_add_elem_fuincl g_add_elem_incl g_add_elem_xslt g_add_sourcecode g_add_report_variants g_empty_tab g_folder g_pack g_cnt_elems g_cnt_downloads

type type type type type type type type type type type type type type type type type type type type type type type type type type type

flag flag flag flag flag flag flag flag flag flag flag flag flag flag flag flag flag flag flag flag flag flag c string, devclass, i i

value value value value value value value value value value value value value value value value value value value value value value value

abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, abap_true, 'D',

value 0, value 0,

*must be initial g_it_link type it_link, *download database contents (all packages) g_it_tadir type standard table of tadir, *download elements g_it_ztadir type it_ztadir, *download class methods g_it_zseomethod type it_zseomethod, g_it_tdevc type standard table of tdevc, g_st_tdevc type tdevc, g_it_table_structure type it_table_structure, g_it_tabstrip type it_tabstrip, g_it_text_element type it_text_element, g_it_text_element_t type it_text_element_t, g_it_varid_broken type it_varid. constants: g_c_delimiter g_c_empty_tab_disable g_c_empty_tab_display g_c_empty_tab_hide g_c_extension_csv g_c_extension_htm g_c_extension_txt g_c_extension_xml g_c_extension_xsl g_c_futype_group g_c_futype_include g_c_futype_screen g_c_futype_module g_c_subrc_deselected g_c_subrc_do_not_add type type type type type type type type type type type type type type type c c c c char3 char3 char3 char3 char3 c c c c sysubrc sysubrc value value value value value value value value value value value value value value value '\', 'D', 'N', 'H', 'csv', 'htm', 'txt', 'xml', 'xsl', 'G', 'I', 'S', 'M', 97, 98,

g_c_subrc_not_found g_c_src_max_rows tables: dd02l, tdevc.

type sysubrc type i

value 99, value 16000.

*----------------------------------------------------------------------* form: init *----------------------------------------------------------------------form init. refresh: g_it_ztadir, g_it_zseomethod. g_cnt_elems = 0. g_cnt_downloads = 0. endform. *&---------------------------------------------------------------------* *& Include ZSOFTCOPY_GUI * *& * *&---------------------------------------------------------------------* *& * *& This file is part of ZSOFTCOPY. * *& * *& ZSOFTCOPY is free software: you can redistribute it and/or modify * *& it under the terms of the GNU General Public License as published * *& by the Free Software Foundation, either version 3 of the License, * *& or any later version. * *& * *& ZSOFTCOPY is distributed in the hope that it will be useful, * *& but WITHOUT ANY WARRANTY; without even the implied warranty of * *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * *& GNU General Public License for more details. * *& * *& You should have received a copy of the GNU General Public License * *& along with ZDOWNLOAD. If not, see . * *& * *&---------------------------------------------------------------------* *& * *& Author: Ruediger von Creytz [email protected] * *& Copyright: globalBIT, LLC http://www.globalbit.net * *& * *&---------------------------------------------------------------------* *----------------------------------------------------------------------* Selection screen declaration *----------------------------------------------------------------------selection-screen begin of block b1 with frame title t_choice. * Package selection-screen begin of line. selection-screen comment 1(22) t_pack. select-options p_devcl for tdevc-devclass. selection-screen end of line. * Folder selection-screen begin of line. selection-screen comment 1(25) t_path. parameters p_folder type rlgrap-filename memory id MFOLDER.

selection-screen end of line. selection-screen end of block b1. *----------------------------------------------------------------------selection-screen begin of block b2 with frame title t_opts. * Add SourceCode selection-screen begin of line. selection-screen comment 1(25) t_add_sc. parameters p_add_sc as checkbox default abap_true. selection-screen end of line. * Empty Tab: display|disabled|hidden selection-screen uline. selection-screen begin of line. selection-screen comment 1(25) t_etab. parameters p_etab_n radiobutton group etab. selection-screen comment 34(10) t_etab_n for field p_etab_n. parameters p_etab_d radiobutton group etab default 'X'. selection-screen comment 49(10) t_etab_d for field p_etab_d. parameters p_etab_h radiobutton group etab. selection-screen comment 64(10) t_etab_h for field p_etab_h. selection-screen end of line. * database content selection-screen uline. selection-screen begin of line. selection-screen comment 1(25) t_dbcont. parameters p_dbcont as checkbox default abap_true modif id dis user-command u_dbcont. selection-screen end of line. selection-screen begin of line. selection-screen comment 6(20) t_dbform. parameters p_db_csv as checkbox default abap_true. selection-screen comment 29(15) t_db_csv. parameters p_db_xml as checkbox default abap_false. selection-screen comment 47(15) t_db_xml. selection-screen end of line. selection-screen begin of line. selection-screen comment 6(20) t_dbmax. parameters p_dbmax type i default 500. selection-screen end of line. selection-screen begin of line. selection-screen comment 6(17) t_dblim. select-options p_dblim for dd02l-tabname. selection-screen end of line. * variants of reports selection-screen uline. selection-screen begin of line. selection-screen comment 1(25) t_add_rv. parameters p_add_rv as checkbox default abap_true. selection-screen end of line. selection-screen end of block b2. *----------------------------------------------------------------------selection-screen: begin of block b3 with frame title t_elems. * Dictionary Objects selection-screen begin of line. parameters p_ddic as checkbox default abap_true modif id dis user-command u_ddic. selection-screen comment 5(20) t_ddic.

selection-screen end of line. * * Database Tables selection-screen begin of line. selection-screen position 6. parameters p_tabl as checkbox default abap_true. selection-screen comment 10(20) t_tabl. selection-screen end of line. * * Views selection-screen begin of line. selection-screen position 6. parameters p_view as checkbox default abap_true. selection-screen comment 10(20) t_view. selection-screen end of line. * * Table Types selection-screen begin of line. selection-screen position 6. parameters p_ttyp as checkbox default abap_true. selection-screen comment 10(20) t_ttyp. selection-screen end of line. * * Structures selection-screen begin of line. selection-screen position 6. parameters p_struc as checkbox default abap_true. selection-screen comment 10(20) t_struc. selection-screen end of line. * * Data Elements selection-screen begin of line. selection-screen position 6. parameters p_dtel as checkbox default abap_true. selection-screen comment 10(20) t_dtel. selection-screen end of line. * * Domains selection-screen begin of line. selection-screen position 6. parameters p_doma as checkbox default abap_true. selection-screen comment 10(20) t_doma. selection-screen end of line. * * Search Helps selection-screen begin of line. selection-screen position 6. parameters p_shlp as checkbox default abap_true. selection-screen comment 10(20) t_shlp. selection-screen end of line. * * Lock Objects selection-screen begin of line. selection-screen position 6. parameters p_enqu as checkbox default abap_true. selection-screen comment 10(20) t_enqu. selection-screen end of line. * * Type Groups selection-screen begin of line. selection-screen position 6. parameters p_type as checkbox default abap_true. selection-screen comment 10(20) t_type. selection-screen end of line. * Class Library selection-screen begin of line. parameters p_clslib as checkbox default abap_true modif id dis user-command u_clslib.

selection-screen comment 5(20) t_clslib. selection-screen end of line. * * Classes selection-screen begin of line. selection-screen position 6. parameters p_clas as checkbox default abap_true. selection-screen comment 10(20) t_clas. selection-screen end of line. * * Interfaces selection-screen begin of line. selection-screen position 6. parameters p_intf as checkbox default abap_true. selection-screen comment 10(20) t_intf. selection-screen end of line. * Programs selection-screen begin of line. parameters p_prog as checkbox default abap_true. selection-screen comment 5(20) t_prog. selection-screen end of line. * Function Groups selection-screen begin of line. parameters p_fugr as checkbox default abap_true modif id dis user-command u_fugr. selection-screen comment 5(20) t_fugr. selection-screen end of line. * * Function Modules selection-screen begin of line. selection-screen position 6. parameters p_fuba as checkbox default abap_true. selection-screen comment 10(20) t_fuba. selection-screen end of line. * * Screens selection-screen begin of line. selection-screen position 6. parameters p_scr as checkbox default abap_true. selection-screen comment 10(20) t_scr. selection-screen end of line. * * Includes selection-screen begin of line. selection-screen position 6. parameters p_fuincl as checkbox default abap_true. selection-screen comment 10(20) t_fuincl. selection-screen end of line. * Includes selection-screen begin of line. parameters p_incl as checkbox default abap_true. selection-screen comment 5(20) t_incl. selection-screen end of line. * Transformations selection-screen begin of line. parameters p_xslt as checkbox default abap_true. selection-screen comment 5(20) t_xslt. selection-screen end of line. selection-screen: end of block b3. *----------------------------------------------------------------------* Display a directory picker window *-----------------------------------------------------------------------

at selection-screen on value-request for p_folder. data: l_obj_file type ref to cl_gui_frontend_services, l_selected_folder type string, l_initial_folder type string, l_message type string, l_txt type string, l_subrc type sysubrc. if sy-batch is initial. perform cl_gui_get_folder changing l_selected_folder l_subrc. if l_subrc = 0. p_folder = l_selected_folder. else. perform get_message_text using 'EA' '334' p_folder space space space changing l_message. perform decode_html_io using txt_please_enter_a_root_dir changing l_txt. write: / l_message, / l_txt. endif. endif. *----------------------------------------------------------------------* at selection-screen *----------------------------------------------------------------------at selection-screen. case sy-ucomm. when 'U_CLSLIB'. if p_clslib = abap_false. p_clas = abap_false. p_intf = abap_false. else. p_clas = abap_true. p_intf = abap_true. endif. when 'U_DBCONT'. if p_dbcont = abap_false. p_db_csv = abap_false. p_db_xml = abap_false. else. p_db_csv = abap_true. p_db_xml = abap_true. endif. when 'U_DDIC'. if p_ddic = abap_false. p_doma = abap_false. p_dtel = abap_false. p_enqu = abap_false. p_shlp = abap_false. p_struc = abap_false. p_tabl = abap_false. p_ttyp = abap_false.

p_type = abap_false. p_view = abap_false. else. p_doma = abap_true. p_dtel = abap_true. p_enqu = abap_true. p_shlp = abap_true. p_struc = abap_true. p_tabl = abap_true. p_ttyp = abap_true. p_type = abap_true. p_view = abap_true. endif. when 'U_FUGR'. if p_fugr = abap_false. p_fuba = abap_false. p_fuincl = abap_false. p_scr = abap_false. else. p_fuba = abap_true. p_fuincl = abap_true. p_scr = abap_true. endif. endcase. *----------------------------------------------------------------------* at selection-screen OUTPUT *----------------------------------------------------------------------at selection-screen OUTPUT. loop at screen. * Class Library if screen-name = 'P_CLAS' or screen-name = 'P_INTF'. if p_clslib = abap_false. screen-input = 0. else. screen-input = 1. endif. modify screen. endif. * Dictionary Objects if screen-name = 'P_DOMA' or screen-name = 'P_DTEL' or screen-name = 'P_ENQU' or screen-name = 'P_SHLP' or screen-name = 'P_STRUC' or screen-name = 'P_TABL' or screen-name = 'P_TTYP' or screen-name = 'P_TYPE' or screen-name = 'P_VIEW'. if p_ddic = abap_false. screen-input = 0. else. screen-input = 1. endif. modify screen. endif. * Function Group if screen-name = 'P_FUBA'

or screen-name = 'P_FUINCL' or screen-name = 'P_SCR'. if p_fugr = abap_false. screen-input = 0. else. screen-input = 1. endif. modify screen. endif. * database content if screen-name = 'P_DB_CSV' or screen-name = 'P_DB_XML' or screen-name = 'P_DBMAX' or screen-name = 'P_DBLIM-HIGH' or screen-name = 'P_DBLIM-LOW' or screen-name = '%_P_DBLIM_%_APP_%-VALU_PUSH'. if p_dbcont = abap_false. screen-input = 0. else. screen-input = 1. endif. modify screen. endif. endloop. *----------------------------------------------------------------------* Initialization *----------------------------------------------------------------------initialization. * load... perform csv_tools. perform decode_html_io using txt_source_code changing perform decode_html_io using txt_variants_of_reports changing t_add_rv. perform decode_html_io using txt_selection changing perform decode_html_io using txt_classes changing perform decode_html_io using txt_class_library changing t_db_csv = g_c_extension_csv. t_db_xml = g_c_extension_xml. perform decode_html_io using txt_database_content changing perform decode_html_io using txt_format changing perform decode_html_io using txt_restrict changing perform decode_html_io using txt_max_no_of_lines changing perform decode_html_io using txt_dict_objs changing perform decode_html_io using txt_domains changing perform decode_html_io using txt_data_elements changing perform decode_html_io using txt_objects changing perform decode_html_io using txt_lock_objects changing perform decode_html_io using txt_empty_tab changing perform decode_html_io using txt_disabled changing perform decode_html_io using txt_hidden changing perform decode_html_io using txt_display changing perform decode_html_io using txt_function_modules changing perform decode_html_io using txt_function_groups changing perform decode_html_io using txt_includes changing perform decode_html_io using txt_includes changing perform decode_html_io using txt_interfaces changing perform decode_html_io using txt_options changing t_add_sc. t_choice. t_clas. t_clslib. t_dbcont. t_dbform. t_dblim. t_dbmax. t_ddic. t_doma. t_dtel. t_elems. t_enqu. t_etab. t_etab_d. t_etab_h. t_etab_n. t_fuba. t_fugr. t_fuincl. t_incl. t_intf. t_opts.

perform perform perform perform perform perform perform perform perform perform perform

decode_html_io decode_html_io decode_html_io decode_html_io decode_html_io decode_html_io decode_html_io decode_html_io decode_html_io decode_html_io decode_html_io

using using using using using using using using using using using

txt_package txt_directory txt_programs txt_screens txt_srch_helps txt_structures txt_database_tables txt_table_types txt_type_grps txt_views txt_transformations

changing changing changing changing changing changing changing changing changing changing changing

t_pack. t_path. t_prog. t_scr. t_shlp. t_struc. t_tabl. t_ttyp. t_type. t_view. t_xslt.

*----------------------------------------------------------------------* start-of-selection *----------------------------------------------------------------------start-of-selection. data: s_dir type string, s_dir_check type flag, s_dir_rc type i, s_message type string, s_txt type string, s_it_tadir type standard table of tadir, s_tabname type tabname. field-symbols: type tadir. clear: g_folder, g_pack. refresh: g_it_tadir. if p_devcl is initial. perform decode_html_io using txt_enter_a_package changing s_txt. write / s_txt. elseif p_folder is initial. perform decode_html_io using txt_please_enter_a_root_dir changing s_txt. write / s_txt. else. * block3 g_add_elem_ddic = p_ddic. g_add_elem_tabl = p_tabl. g_add_elem_view = p_view. g_add_elem_ttyp = p_ttyp. g_add_elem_struc = p_struc. g_add_elem_dtel = p_dtel. g_add_elem_doma = p_doma. g_add_elem_shlp = p_shlp. g_add_elem_enqu = p_enqu. g_add_elem_type = p_type. g_add_elem_clslib = p_clslib.

*

*

g_add_elem_clas = p_clas. g_add_elem_intf = p_intf. g_add_elem_prog = p_prog. g_add_elem_fugr = p_fugr. g_add_elem_fuba = p_fuba. g_add_elem_scr = p_scr. g_add_elem_fuincl = p_fuincl. g_add_elem_incl = p_incl. g_add_elem_xslt = p_xslt. block2 g_add_sourcecode = p_add_sc. case abap_true. when p_etab_n. g_empty_tab = g_c_empty_tab_display. when p_etab_d. g_empty_tab = g_c_empty_tab_disable. when p_etab_h. g_empty_tab = g_c_empty_tab_hide. endcase. g_add_db_content = p_dbcont. g_add_db_format_csv = p_db_csv. g_add_db_format_xml = p_db_xml. g_add_db_max_lines = p_dbmax. if g_add_db_content = abap_true. if not p_dblim is initial. select * from tadir into table s_it_tadir where pgmid = 'R3TR' and object = 'TABL' and obj_name in p_dblim and devclass in p_devcl. else. select * from tadir into table s_it_tadir where pgmid = 'R3TR' and object = 'TABL' and devclass in p_devcl. endif. loop at s_it_tadir assigning . s_tabname = -obj_name. select single tabname from dd02l into s_tabname where as4local = 'A' and tabclass = 'TRANSP' and tabname = s_tabname. if sy-subrc = 0. append to g_it_tadir. endif. endloop. refresh s_it_tadir. endif. g_add_report_variants = p_add_rv. block 1 s_dir = p_folder. call method cl_gui_frontend_services=>directory_exist exporting directory = s_dir receiving result = s_dir_check exceptions others = 1. if sy-subrc = 0 and s_dir_check = abap_false. call method cl_gui_frontend_services=>directory_create

exporting directory = s_dir changing rc = s_dir_rc exceptions others = 1. if sy-subrc = 0 and s_dir_rc = 0. g_folder = p_folder. endif. elseif sy-subrc = 0. g_folder = p_folder. endif. if g_folder is initial. clear s_message. perform get_message_text using 'EA' '334' p_folder space space space changing s_message. perform decode_html_io using txt_please_enter_a_valid_path changing s_txt. write: / s_message, / s_txt. else. select * from tdevc into table g_it_tdevc where devclass in p_devcl. if sy-subrc 0. clear s_message. do. if p_devcl-low na '%'. exit. endif. perform replace_all using '%' '*' changing p_devcl-low. enddo. perform get_message_text using 'PACKAGE_BUILDER01' '411' p_devcl-low space space space changing s_message. perform decode_html_io using txt_please_enter_a_root_dir changing s_txt. write: / s_message, / s_txt. endif. endif. endif. end-of-selection. *----------------------------------------------------------------------if not g_it_tdevc is initial and not g_folder is initial. loop at g_it_tdevc into g_st_tdevc. g_pack = g_st_tdevc-devclass. perform init. perform select. perform html_base. perform links. perform optionals. perform system.

endloop. perform decode_html_io using txt_completed changing s_txt. write s_txt. endif. *&---------------------------------------------------------------------* *& Include ZCOMMAND__REPLACE * *& * *&---------------------------------------------------------------------* *& * *& This file is part of ZDOWNLOAD. * *& * *& ZDOWNLOAD is free software: you can redistribute it and/or modify * *& it under the terms of the GNU General Public License as published * *& by the Free Software Foundation, either version 3 of the License, * *& or any later version. * *& * *& ZDOWNLOAD is distributed in the hope that it will be useful, * *& but WITHOUT ANY WARRANTY; without even the implied warranty of * *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * *& GNU General Public License for more details. * *& * *& You should have received a copy of the GNU General Public License * *& along with ZDOWNLOAD. If not, see . * *& * *&---------------------------------------------------------------------* *& * *& Author: Ruediger von Creytz [email protected] * *& Copyright: globalBIT, LLC http://www.globalbit.net * *& * *&---------------------------------------------------------------------* *----------------------------------------------------------------------* replace_all *----------------------------------------------------------------------form replace_all using value(i_old) value(i_new) changing c_str type any. replace all occurrences of i_old in c_str with i_new. endform. "replace_all

*----------------------------------------------------------------------* replace_single *----------------------------------------------------------------------form replace_single using value(i_old) value(i_new) changing c_str type any.

replace i_old in c_str with i_new. endform. "replace_single *&---------------------------------------------------------------------* *& Include ZCONVERT_NUM * *& * *&---------------------------------------------------------------------* *& * *& This file is part of ZDOWNLOAD. * *& * *& ZDOWNLOAD is free software: you can redistribute it and/or modify * *& it under the terms of the GNU General Public License as published * *& by the Free Software Foundation, either version 3 of the License, * *& or any later version. * *& * *& ZDOWNLOAD is distributed in the hope that it will be useful, * *& but WITHOUT ANY WARRANTY; without even the implied warranty of * *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * *& GNU General Public License for more details. * *& * *& You should have received a copy of the GNU General Public License * *& along with ZDOWNLOAD. If not, see . * *& * *&---------------------------------------------------------------------* *& * *& Author: Ruediger von Creytz [email protected] * *& Copyright: globalBIT, LLC http://www.globalbit.net * *& * *&---------------------------------------------------------------------* *----------------------------------------------------------------------* number_to_hex_char *----------------------------------------------------------------------form number_to_hex_char using i_num type i changing c_hex type c. clear c_hex. if i_num 0. concatenate l_out+0(l_outlen) l_str+0(l_fdpos) into l_out. l_outlen = l_outlen + l_fdpos. endif. l_xpos = l_fdpos + 3. l_strlen = strlen( l_str ). l_strlen = l_strlen - l_xpos. l_str = l_str+l_xpos(l_strlen). split l_str at ';' into l_hex l_str. l_xstr = l_hex. call function 'NLS_STRING_CONVERT_TO_SYS' exporting lang_used = sy-langu source = l_xstr importing result = l_char exceptions others = 1. if sy-subrc = 0. concatenate l_out+0(l_outlen) l_char+0(1) into l_out. else.

concatenate l_out+0(l_outlen) '#' into l_out. endif. l_outlen = l_outlen + 1. else. exit. endif. enddo. l_strlen = strlen( l_str ). concatenate l_out+0(l_outlen) l_str+0(l_strlen) into l_out. c_txt = l_out. endform. "decode_html *----------------------------------------------------------------------* decode_html_io *----------------------------------------------------------------------form decode_html_io using i_html type string changing c_txt type any. c_txt = i_html. perform decode_html changing c_txt. endform. "decode_html_io

*----------------------------------------------------------------------* encode_html *----------------------------------------------------------------------form encode_html changing c_txt type string. data: l_xstr type xstring, l_hex type string, l_hexlen type i, l_xlen type i, l_xpos type i, l_str type string, l_strlen type i, l_out type string, l_outlen type i, l_pos type i, l_chars(255) type c. check not c_txt is initial. check c_txt ns ''. concatenate "characters not to encode ' :;,./()-_+*#' '0123456789' 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

into l_chars. l_str = c_txt. call function 'NLS_STRING_CONVERT_FROM_SYS' exporting lang_used = sy-langu source = l_str importing result = l_xstr. l_hex = l_xstr. l_hexlen = strlen( l_hex ). l_strlen = strlen( l_str ). l_xlen = l_hexlen / l_strlen. do. if l_chars na l_str+l_pos(1). l_xpos = l_pos * l_xlen. if l_outlen = 0. concatenate '' l_hex+l_xpos(l_xlen) ';' into l_out. else. concatenate l_out+0(l_outlen) '' l_hex+l_xpos(l_xlen) ';' into l_out. endif. l_outlen = l_outlen + 4 + l_xlen. else. if l_outlen = 0. l_out = l_str+l_pos(1). else. concatenate l_out+0(l_outlen) l_str+l_pos(1) into l_out. endif. l_outlen = l_outlen + 1. endif. l_pos = l_pos + 1. l_strlen = strlen( l_str ). if l_pos = l_strlen. exit. endif. enddo. c_txt = l_out. endform. "encode_html

*----------------------------------------------------------------------* form: encode_uri *----------------------------------------------------------------------form encode_uri changing c_url type string. data: l_url type string, l_params type string, l_it_param type it_string, l_key type string, l_value type string,

l_len type i. field-symbols: type string. check not c_url is initial. if c_url ca '?'. split c_url at '?' into l_url l_params. concatenate l_url '?' into l_url. else. l_params = c_url. endif. split l_params at '&' into table l_it_param. loop at l_it_param assigning . clear: l_key, l_value. split at '=' into l_key l_value. perform encode_uri_value changing l_value. concatenate l_url l_key '=' l_value '&' into l_url. endloop. l_len = strlen( l_url ). l_len = l_len - 1. "remove last '&' c_url = l_url+0(l_len). endform. "encode_uri *----------------------------------------------------------------------* form: encode_uri_value *----------------------------------------------------------------------form encode_uri_value changing c_value type string. data: l_xstr type xstring, l_hex type string, l_hexlen type i, l_chex type string, l_chex_pos type i, l_xlen type i, l_xpos type i, l_str type string, l_strlen type i, l_out type string, l_outlen type i, l_pos type i, l_chars(62) type c. check not c_value is initial. concatenate "characters not to encode '0123456789' 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' into l_chars. l_str = c_value.

call function 'NLS_STRING_CONVERT_FROM_SYS' exporting lang_used = sy-langu source = l_str importing result = l_xstr. l_hex = l_xstr. l_hexlen = strlen( l_hex ). l_strlen = strlen( l_str ). l_xlen = l_hexlen / l_strlen. do. if l_chars na l_str+l_pos(1). l_xpos = l_pos * l_xlen. l_chex = l_hex+l_xpos(l_xlen). l_chex_pos = strlen( l_chex ). l_chex_pos = l_chex_pos - 2. l_chex = l_chex+l_chex_pos(2). if l_outlen = 0. concatenate '%' l_chex into l_out. else. concatenate l_out+0(l_outlen) '%' l_chex into l_out. endif. l_outlen = l_outlen + 3. else. if l_outlen = 0. l_out = l_str+l_pos(1). else. concatenate l_out+0(l_outlen) l_str+l_pos(1) into l_out. endif. l_outlen = l_outlen + 1. endif. l_pos = l_pos + 1. l_strlen = strlen( l_str ). if l_pos = l_strlen. exit. endif. enddo. c_value = l_out. endform. "encode_uri_value *&---------------------------------------------------------------------* *& Include ZDB_DOWNLOAD_CONVERT_DATA * *& * *&---------------------------------------------------------------------* *& * *& This file is part of ZDB_DOWNLOAD. * *& * *& ZDB_DOWNLOAD is free software: you can redistribute it and/or * *& modify it under the terms of the GNU General Public License as * *& published by the Free Software Foundation, either version 3 of the * *& License, or any later version. * *& * *& ZDB_DOWNLOAD is distributed in the hope that it will be useful, * *& but WITHOUT ANY WARRANTY; without even the implied warranty of * *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *

*& GNU General Public License for more details. * *& * *& You should have received a copy of the GNU General Public License * *& along with ZDOWNLOAD. If not, see . * *& * *&---------------------------------------------------------------------* *& * *& Author: Ruediger von Creytz [email protected] * *& Copyright: globalBIT, LLC http://www.globalbit.net * *& * *&---------------------------------------------------------------------* *----------------------------------------------------------------------* form: data2csv *----------------------------------------------------------------------form data2csv using value(i_tabname) changing c_it_csv type it_string. data: l_it_dd03l type standard table of dd03l, l_st_dd02l type dd02l, l_fieldname type fieldname, l_position type tabfdpos, l_value type string, l_csv type string, l_len type i, l_length type string, l_st_fs type ref to data. field-symbols: type dd03l, type any, type any. refresh c_it_csv. select * from dd03l into table l_it_dd03l where tabname = i_tabname and as4local = 'A' order by position. select single * from dd02l into l_st_dd02l where tabname = i_tabname and as4local = 'A'. loop at l_it_dd03l assigning . if not l_csv is initial. concatenate l_csv ';' into l_csv. endif. l_len = -intlen. l_length = l_len. condense l_length. concatenate l_csv '"' -fieldname '(' -inttype l_length ')"' into l_csv. endloop. append l_csv to c_it_csv.

*content create data l_st_fs type (i_tabname). assign l_st_fs->* to . select * from (i_tabname) into . clear l_csv. loop at l_it_dd03l assigning . clear l_value. assign component -fieldname of structure to . l_value = . if not l_csv is initial. concatenate l_csv ';' into l_csv. endif. concatenate l_csv '"' l_value '"' into l_csv. endloop. append l_csv to c_it_csv. if sy-dbcnt = g_add_db_max_lines. exit. endif. endselect. endform. "select_data2csv

*----------------------------------------------------------------------* form: data2xml *----------------------------------------------------------------------form data2xml using value(i_tabname) changing c_it_xml type it_string. data: l_it_dd03l type standard table of dd03l, l_st_dd03t type dd03t, l_st_dd02l type dd02l, l_st_dd02t type dd02t, l_fieldname(30) type c, l_position type tabfdpos, l_value type string, l_xml type string, l_st_fs type ref to data. field-symbols: type dd03l, type any, type any. refresh c_it_xml. select * from dd03l into table l_it_dd03l where tabname = i_tabname and as4local = 'A' order by position. append '' to c_it_xml. append '' to c_it_xml. append '' to c_it_xml. select single * from dd02l into l_st_dd02l where tabname = i_tabname

and as4local = 'A'. select fieldname position from dd03l into (l_fieldname, l_position) where tabname = 'DD02L' order by position. assign component l_fieldname of structure l_st_dd02l to . if not is initial. l_value = . perform encode_html changing l_value. translate l_fieldname to lower case. concatenate '' into l_xml. append l_xml to c_it_xml. endif. endselect. select * from dd02t into l_st_dd02t where tabname = i_tabname and as4local = 'A'. concatenate '' l_st_dd02t-ddtext '' into l_xml. append l_xml to c_it_xml. endselect. append '' to c_it_xml. loop at l_it_dd03l assigning . append '' to c_it_xml. select fieldname position from dd03l into (l_fieldname, l_position) where tabname = 'DD03L' and fieldname 'TABNAME' order by position. assign component l_fieldname of structure to . l_value = . if not is initial. perform encode_html changing l_value. translate l_fieldname to lower case. concatenate '' l_value '' into l_xml. append l_xml to c_it_xml. endif. endselect. select * from dd03t into l_st_dd03t where tabname = -tabname and fieldname = -fieldname and as4local = 'A'. concatenate '' l_st_dd03t-ddtext '' into l_xml. append l_xml to c_it_xml. endselect. append '' to c_it_xml.

endloop. append '' to c_it_xml. *content append '' to c_it_xml. create data l_st_fs type (i_tabname). assign l_st_fs->* to . select * from (i_tabname) into . clear l_xml. append '' to c_it_xml. loop at l_it_dd03l assigning . clear l_value. assign component -fieldname of structure to . l_value = . perform encode_html changing l_value. if not is initial. if -fieldname(1) = '.'. -fieldname(1) = '_'. endif. concatenate '' l_value '' into l_xml. append l_xml to c_it_xml. endif. endloop. append '' to c_it_xml. if sy-dbcnt = g_add_db_max_lines. exit. endif. endselect. append '' to c_it_xml. endform. "select_data2xml *&---------------------------------------------------------------------* *& Include ZGPL * *& * *&---------------------------------------------------------------------* *& * *& This file is part of ZDOWNLOAD. * *& * *& ZDOWNLOAD is free software: you can redistribute it and/or modify * *& it under the terms of the GNU General Public License as published * *& by the Free Software Foundation, either version 3 of the License, * *& or any later version. * *& * *& ZDOWNLOAD is distributed in the hope that it will be useful, * *& but WITHOUT ANY WARRANTY; without even the implied warranty of * *& MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * *& GNU General Public License for more details. * *& * *& You should have received a copy of the GNU General Public License * *& along with ZDOWNLOAD. If not, see . * *& *

*&---------------------------------------------------------------------* *& * *& Author: Ruediger von Creytz [email protected] * *& Copyright: globalBIT, LLC http://www.globalbit.net * *& * *&---------------------------------------------------------------------* *----------------------------------------------------------------------* gpl_html *----------------------------------------------------------------------form gpl_html changing c_title type string c_it_html type it_string. data: l_st_html type string. c_title = 'GNU General Public License'. concatenate 'Version 3, 29 June 2007' 'Copyright 2007 Free Software Foundation, Inc.' ' ' 'Everyone is permitted to copy and distribute verbatim copies' ' of this license document, but changing it is not allowed.' into l_st_html. append l_st_html to c_it_html. append 'Preamble' to c_it_html. concatenate 'The GNU General Public License is a free, copyleft license for' ' software and other kinds of works.' into l_st_html. append l_st_html to c_it_html. concatenate 'The licenses for most software and other practical works are' ' designed to take away your freedom to share and change the works.' ' By contrast, the GNU General Public License is intended to' ' guarantee your freedom to share and change all versions of a' ' program--to make sure it remains free software for all its users.' ' We, the Free Software Foundation, use the GNU General Public' ' License for most of our software; it applies also to any other' ' work released this way by its authors. You can apply it to your' ' programs, too.' into l_st_html. append l_st_html to c_it_html. concatenate 'When we speak of free software, we are referring to freedom, not' ' price. Our General Public Licenses are designed to make sure that' ' you have the freedom to distribute copies of free software (and' ' charge for them if you wish), that you receive source code or can' ' get it if you want it, that you can change the software or use' ' pieces of it in new free programs, and that you know you can do' ' these things.' into l_st_html.

append l_st_html to c_it_html. concatenate 'To protect your rights, we need to prevent others from denying' ' you these rights or asking you to surrender the rights.' ' Therefore, you have certain responsibilities if you distribute' ' copies of the software, or if you modify it: responsibilities to' ' respect the freedom of others.' into l_st_html. append l_st_html to c_it_html. concatenate 'For example, if you distribute copies of such a program, whether' ' gratis or for a fee, you must pass on to the recipients the same' ' freedoms that you received. You must make sure that they, too,' ' receive or can get the source code. And you must show them these' ' terms so they know their rights.' into l_st_html. append l_st_html to c_it_html. concatenate 'Developers that use the GNU GPL protect your rights with two' ' steps: (1) assert copyright on the software, and (2) offer you' ' this License giving you legal permission to copy, distribute' ' and/or modify it.' into l_st_html. append l_st_html to c_it_html. concatenate 'For the developers'' and authors'' protection, the GPL clearly' ' explains that there is no warranty for this free software. For' ' both users'' and authors'' sake, the GPL requires that modified' ' versions be marked as changed, so that their problems will not be' ' attributed erroneously to authors of previous versions.' into l_st_html. append l_st_html to c_it_html. concatenate 'Some devices are designed to deny users access to install or run' ' modified versions of the software inside them, although the' ' manufacturer can do so. This is fundamentally incompatible with' ' the aim of protecting users'' freedom to change the software. The' ' systematic pattern of such abuse occurs in the area of products' ' for individuals to use, which is precisely where it is most' ' unacceptable. Therefore, we have designed this version of the GPL' ' to prohibit the practice for those products. If such problems' ' arise substantially in other domains, we stand ready to extend' ' this provision to those domains in future versions of the GPL, as' ' needed to protect the freedom of users.' into l_st_html. append l_st_html to c_it_html. concatenate 'Finally, every program is threatened constantly by' ' software patents. States should not allow patents to restrict' ' development and use of software on general-purpose computers, but' ' in those that do, we wish to avoid the special danger that' ' patents applied to a free program could make it effectively' ' proprietary. To prevent this, the GPL assures that patents' ' cannot be used to render the program non-free.'

into l_st_html. append l_st_html to c_it_html. concatenate 'The precise terms and conditions for copying, distribution and' ' modification follow.' into l_st_html. append l_st_html to c_it_html. append 'TERMS AND CONDITIONS' to c_it_html. append '0. Definitions.' to c_it_html. concatenate 'This License refers to version 3 of the GNU' ' General Public License.' into l_st_html. append l_st_html to c_it_html. concatenate 'Copyright also means copyright-like laws that' ' apply to other kinds of works, such as semiconductor masks.' into l_st_html. append l_st_html to c_it_html. concatenate 'The Program refers to any copyrightable work' ' licensed under this License. Each licensee is addressed as' ' you. Licensees and' ' recipients may be individuals or organizations.' into l_st_html. append l_st_html to c_it_html. concatenate 'To modify a work means to copy from or adapt all' ' or part of the work in a fashion requiring copyright permission,' ' other than the making of an exact copy. The resulting work is' ' called a modified version of the earlier work or a' ' work based on the earlier work.' into l_st_html. append l_st_html to c_it_html. concatenate 'A covered work means either the unmodified' ' Program or a work based on the Program.' into l_st_html. append l_st_html to c_it_html. concatenate 'To propagate a work means to do anything with it' ' that, without permission, would make you directly or secondarily' ' liable for infringement under applicable copyright law, except' ' executing it on a computer or modifying a private copy.' ' Propagation includes copying, distribution (with or without' ' modification), making available to the public, and in some' ' countries other activities as well.' into l_st_html. append l_st_html to c_it_html.

concatenate 'To convey a work means any kind of propagation' ' that enables other parties to make or receive copies. Mere' ' interaction with a user through a computer network, with no' ' transfer of a copy, is not conveying.' into l_st_html. append l_st_html to c_it_html. concatenate 'An interactive user interface displays Appropriate Legal' ' Notices to the extent that it includes a convenient and' ' prominently visible feature that (1) displays an appropriate' ' copyright notice, and (2) tells the user that there is no' ' warranty for the work (except to the extent that warranties are' ' provided), that licensees may convey the work under this License,' ' and how to view a copy of this License. If the interface presents' ' a list of user commands or options, such as a menu, a prominent' ' item in the list meets this criterion.' into l_st_html. append l_st_html to c_it_html. append '1. Source Code.' to c_it_html. concatenate 'The source code for a work means the preferred' ' form of the work for making modifications to it. Object' ' code means any non-source form of a work.' into l_st_html. append l_st_html to c_it_html. concatenate 'A Standard Interface means an interface that' ' either is an official standard defined by a recognized standards' ' body, or, in the case of interfaces specified for a particular' ' programming language, one that is widely used among developers' ' working in that language.' into l_st_html. append l_st_html to c_it_html. concatenate 'The System Libraries of an executable work' ' include anything, other than the work as a whole, that (a) is' ' included in the normal form of packaging a Major Component, but' ' which is not part of that Major Component, and (b) serves only' ' to enable use of the work with that Major Component, or to' ' implement a Standard Interface for which an implementation is' ' available to the public in source code form. A' ' Major Component, in this context, means a major' ' essential component (kernel, window system, and so on) of the' ' specific operating system (if any) on which the executable work' ' runs, or a compiler used to produce the work, or an object code' ' interpreter used to run it.' into l_st_html. append l_st_html to c_it_html. concatenate 'The Corresponding Source for a work in object' ' code form means all the source code needed to generate, install,'

' and (for an executable work) run the object code and to modify' ' the work, including scripts to control those activities. However,' ' it does not include the work''s System Libraries, or' ' general-purpose tools or generally available free programs which' ' are used unmodified in performing those activities but which are' ' not part of the work. For example, Corresponding Source includes' ' interface definition files associated with source files for the' ' work, and the source code for shared libraries and dynamically' ' linked subprograms that the work is specifically designed to' ' require, such as by intimate data communication or control flow' ' between those subprograms and other parts of the work.' into l_st_html. append l_st_html to c_it_html. concatenate 'The Corresponding Source need not include anything that users' ' can regenerate automatically from other parts of the' ' Corresponding Source.' into l_st_html. append l_st_html to c_it_html. concatenate 'The Corresponding Source for a work in source code form is that' ' same work.' into l_st_html. append l_st_html to c_it_html. append '2. Basic Permissions.' to c_it_html. concatenate 'All rights granted under this License are granted for the term' ' of copyright on the Program, and are irrevocable provided the' ' stated conditions are met. This License explicitly affirms your' ' unlimited permission to run the unmodified Program. The output' ' from running a covered work is covered by this License only if' ' the output, given its content, constitutes a covered work. This' ' License acknowledges your rights of fair use or other equivalent,' ' as provided by copyright law.' into l_st_html. append l_st_html to c_it_html. concatenate 'You may make, run and propagate covered works that you do not' ' convey, without conditions so long as your license otherwise' ' remains in force. You may convey covered works to others for the' ' sole purpose of having them make modifications exclusively for' ' you, or provide you with facilities for running those works,' ' provided that you comply with the terms of this License in' ' conveying all material for which you do not control copyright.' ' Those thus making or running the covered works for you must do so' ' exclusively on your behalf, under your direction and control, on' ' terms that prohibit them from making any copies of your' ' copyrighted material outside their relationship with you.' into l_st_html. append l_st_html to c_it_html. concatenate 'Conveying under any other circumstances is permitted solely' ' under the conditions stated below. Sublicensing is not allowed;'

' section 10 makes it unnecessary.' into l_st_html. append l_st_html to c_it_html. concatenate '3. Protecting Users'' Legal Rights From' ' Anti-Circumvention Law.' into l_st_html. append l_st_html to c_it_html. concatenate 'No covered work shall be deemed part of an effective' ' technological measure under any applicable law fulfilling' ' obligations under article 11 of the WIPO copyright treaty adopted' ' on 20 December 1996, or similar laws prohibiting or restricting' ' circumvention of such measures.' into l_st_html. append l_st_html to c_it_html. concatenate 'When you convey a covered work, you waive any legal power to' ' forbid circumvention of technological measures to the extent such' ' circumvention is effected by exercising rights under this License' ' with respect to the covered work, and you disclaim any intention' ' to limit operation or modification of the work as a means of' ' enforcing, against the work''s users, your or third parties''' ' legal rights to forbid circumvention of technological measures.' '' into l_st_html. append l_st_html to c_it_html. append '4. Conveying Verbatim Copies.' to c_it_html. concatenate 'You may convey verbatim copies of the Program''s source code as' ' you receive it, in any medium, provided that you conspicuously' ' and appropriately publish on each copy an appropriate copyright' ' notice; keep intact all notices stating that this License and any' ' non-permissive terms added in accord with section 7 apply to the' ' code; keep intact all notices of the absence of any warranty; and' ' give all recipients a copy of this License along with the' ' Program.' into l_st_html. append l_st_html to c_it_html. concatenate 'You may charge any price or no price for each copy that you' ' convey, and you may offer support or warranty protection for a' ' fee.' into l_st_html. append l_st_html to c_it_html. concatenate '5. Conveying Modified Source' ' Versions.' into l_st_html. append l_st_html to c_it_html.

concatenate 'You may convey a work based on the Program, or the' ' modifications to produce it from the Program, in the form of' ' source code under the terms of section 4, provided that you also' ' meet all of these conditions:' into l_st_html. append l_st_html to c_it_html. concatenate '

  • ' '
  • a) The work must carry prominent notices stating that you' ' modified it, and giving a relevant date.

' into l_st_html. append l_st_html to c_it_html. concatenate 'b) The work must carry prominent notices stating that it is' ' released under this License and any conditions added under' ' section 7. This requirement modifies the requirement in section 4' ' to keep intact all notices.' into l_st_html. append l_st_html to c_it_html. concatenate 'c) You must license the entire work, as a whole, under this' ' License to anyone who comes into possession of a copy. This' ' License will therefore apply, along with any applicable section 7' ' additional terms, to the whole of the work, and all its parts,' ' regardless of how they are packaged. This License gives no' ' permission to license the work in any other way, but it does not' ' invalidate such permission if you have separately received it.' '' into l_st_html. append l_st_html to c_it_html. concatenate 'd) If the work has interactive user interfaces, each must' ' display Appropriate Legal Notices; however, if the Program has' ' interactive interfaces that do not display Appropriate Legal' ' Notices, your work need not make them do so.' '' into l_st_html. append l_st_html to c_it_html. concatenate 'A compilation of a covered work with other separate and' ' independent works, which are not by their nature extensions of' ' the covered work, and which are not combined with it such as to' ' form a larger program, in or on a volume of a storage or' ' distribution medium, is called an aggregate if the' ' compilation and its resulting copyright are not used to limit the' ' access or legal rights of the compilation''s users beyond what the' ' individual works permit. Inclusion of a covered work in an' ' aggregate does not cause this License to apply to the other parts' ' of the aggregate.' into l_st_html. append l_st_html to c_it_html. append '6. Conveying Non-Source Forms.'

to c_it_html. concatenate 'You may convey a covered work in object code form under the terms' ' of sections 4 and 5, provided that you also convey the' ' machine-readable Corresponding Source under the terms of this' ' License, in one of these ways:' into l_st_html. append l_st_html to c_it_html. concatenate '

  • ' '
  • a) Convey the object code in, or embodied in, a physical' ' product (including a physical distribution medium), accompanied' ' by the Corresponding Source fixed on a durable physical medium' ' customarily used for software interchange.

' into l_st_html. append l_st_html to c_it_html. concatenate 'b) Convey the object code in, or embodied in, a physical' ' product (including a physical distribution medium), accompanied' ' by a written offer, valid for at least three years and valid for' ' as long as you offer spare parts or customer support for that' ' product model, to give anyone who possesses the object code' ' either (1) a copy of the Corresponding Source for all the' ' software in the product that is covered by this License, on a' ' durable physical medium customarily used for software' ' interchange, for a price no more than your reasonable cost of' ' physically performing this conveying of source, or (2) access to' ' copy the Corresponding Source from a network server at no charge.' '' into l_st_html. append l_st_html to c_it_html. concatenate 'c) Convey individual copies of the object code with a copy of' ' the written offer to provide the Corresponding Source. This' ' alternative is allowed only occasionally and noncommercially, and' ' only if you received the object code with such an offer, in' ' accord with subsection 6b.' into l_st_html. append l_st_html to c_it_html. concatenate 'd) Convey the object code by offering access from a designated' ' place (gratis or for a charge), and offer equivalent access to' ' the Corresponding Source in the same way through the same place' ' at no further charge. You need not require recipients to copy the' ' Corresponding Source along with the object code. If the place to' ' copy the object code is a network server, the Corresponding' ' Source may be on a different server (operated by you or a third' ' party) that supports equivalent copying facilities, provided you' ' maintain clear directions next to the object code saying where to' ' find the Corresponding Source. Regardless of what server hosts the' ' Corresponding Source, you remain obligated to ensure that it is' ' available for as long as needed to satisfy these requirements.' '' into l_st_html. append l_st_html to c_it_html.

concatenate 'e) Convey the object code using peer-to-peer transmission,' ' provided you inform other peers where the object code and' ' Corresponding Source of the work are being offered to the general' 'public at no charge under subsection 6d.' '' into l_st_html. append l_st_html to c_it_html. concatenate 'A separable portion of the object code, whose source code is' ' excluded from the Corresponding Source as a System Library, need' ' not be included in conveying the object code work.' into l_st_html. append l_st_html to c_it_html. concatenate 'A User Product is either (1) a consumer' ' product, which means any tangible personal property which' ' is normally used for personal, family, or household purposes, or' ' (2) anything designed or sold for incorporation into a dwelling.' ' In determining whether a product is a consumer product, doubtful' ' cases shall be resolved in favor of coverage. For a particular' ' product received by a particular user, normally used' ' refers to a typical or common use of that class of product,' ' regardless of the status of the particular user or of the way in' ' which the particular user actually uses, or expects or is' ' expected to use, the product. A product is a consumer product' ' regardless of whether the product has substantial commercial,' ' industrial or non-consumer uses, unless such uses represent' ' the only significant mode of use of the product.' into l_st_html. append l_st_html to c_it_html. concatenate 'Installation Information for a User Product means' ' any methods, procedures, authorization keys, or other information' ' required to install and execute modified versions of a covered' ' work in that User Product from a modified version of its' ' Corresponding Source. The information must suffice to ensure that' ' the continued functioning of the modified object code is in no' ' case prevented or interfered with solely because modification has' ' been made.' into l_st_html. append l_st_html to c_it_html. concatenate 'If you convey an object code work under this section in, or' ' with, or specifically for use in, a User Product, and the' ' conveying occurs as part of a transaction in which the right of' ' possession and use of the User Product is transferred to the' ' recipient in perpetuity or for a fixed term (regardless of how' ' the transaction is characterized), the Corresponding Source' ' conveyed under this section must be accompanied by the' ' Installation Information. But this requirement does not apply if' ' neither you nor any third party retains the ability to install' ' modified object code on the User Product (for example, the work' ' has been installed in ROM).' into l_st_html.

append l_st_html to c_it_html. concatenate 'The requirement to provide Installation Information does not' ' include a requirement to continue to provide support service,' ' warranty, or updates for a work that has been modified or installed' ' by the recipient, or for the User Product in which it has been' ' modified or installed. Access to a network may be denied when the' ' modification itself materially and adversely affects the operation' ' of the network or violates the rules and protocols for' ' communication across the network.' into l_st_html. append l_st_html to c_it_html. concatenate 'Corresponding Source conveyed, and Installation Information' ' provided, in accord with this section must be in a format that is' ' publicly documented (and with an implementation available to the' ' public in source code form), and must require no special password' ' or key for unpacking, reading or copying.' into l_st_html. append l_st_html to c_it_html. append '7. Additional Terms.' to c_it_html. concatenate 'Additional permissions are terms that supplement' ' the terms of this License by making exceptions from one or more' ' of its conditions. Additional permissions that are applicable to' ' the entire Program shall be treated as though they were included' ' in this License, to the extent that they are valid under' ' applicable law. If additional permissions apply only to part of' ' the Program, that part may be used separately under those' ' permissions, but the entire Program remains governed by this' ' License without regard to the additional permissions.' into l_st_html. append l_st_html to c_it_html. concatenate 'When you convey a copy of a covered work, you may at your' ' option remove any additional permissions from that copy, or from' ' any part of it. (Additional permissions may be written to require' ' their own removal in certain cases when you modify the work.)' ' You may place additional permissions on material, added by you to' ' a covered work, for which you have or can give appropriate' ' copyright permission.' into l_st_html. append l_st_html to c_it_html. concatenate 'Notwithstanding any other provision of this License, for' ' material you add to a covered work, you may (if authorized by the' ' copyright holders of that material) supplement the terms of this' ' License with terms:' into l_st_html. append l_st_html to c_it_html. concatenate '

  • '

    '

  • a) Disclaiming warranty or limiting liability differently from' ' the terms of sections 15 and 16 of this License; or

' into l_st_html. append l_st_html to c_it_html. concatenate 'b) Requiring preservation of specified reasonable legal' ' notices or author attributions in that material or in the' ' Appropriate Legal Notices displayed by works containing it;' ' or' into l_st_html. append l_st_html to c_it_html. concatenate 'c) Prohibiting misrepresentation of the origin of that' ' material, or requiring that modified versions of such material be' ' marked in reasonable ways as different from the original version;' ' or' i