SAP Reports / Programs | SAP Business Information Warehouse | Planning | Business Planning and Simulation(BW-PLA-BPS) SAP BW

UPWB_TEMPLATE_EDITOR SAP ABAP Report - Template Editor for Web Interface Builder







UPWB_TEMPLATE_EDITOR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter UPWB_TEMPLATE_EDITOR into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT UPWB_TEMPLATE_EDITOR. "Basic submit
SUBMIT UPWB_TEMPLATE_EDITOR AND RETURN. "Return to original report after report execution complete
SUBMIT UPWB_TEMPLATE_EDITOR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: VERSION = D HTML Version
Selection Text: TEM_NAME = D Template Name
Selection Text: CLASS = D Class/Interface
Title: Template Editor for Web Interface Builder
Text Symbol: 022 = Files Loaded -> Replace Templates
Text Symbol: 021 = Do you really want to replace ALL templates?
Text Symbol: 020 = File
Text Symbol: 019 = ALL templates are uploaded from the local file system
Text Symbol: 018 = Save Templates in Local File
Text Symbol: 017 = Focus Cannot Be Set
Text Symbol: 016 = Auto Indent Mode Cannot Be Set
Text Symbol: 015 = Container Cannot Be Generated
Text Symbol: 014 = Template Does Not Exist - Create?
Text Symbol: 013 = Gen. Template
Text Symbol: 012 = Delete Template
Text Symbol: 011 = Do you really want to delete the template?
Text Symbol: 009 = Template Was Deleted
Text Symbol: 008 = Status Cannot Be Reset to Unchanged
Text Symbol: 007 = Save
Text Symbol: 006 = Save Data and Replace Current Template?
Text Symbol: 003 = Error in Control Processing
Text Symbol: 002 = Error
Text Symbol: 001 = Error when Building the Text Editor


INCLUDES used within this REPORT UPWB_TEMPLATE_EDITOR

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = 'Vorlage existiert nicht - Anlegen?'(014) titel = 'Vorlage erzeugen'(013) cancel_display = ' ' importing answer = ans.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'N' textline1 = 'Wollen Sie die Vorlage wirklich löschen?'(011) titel = 'Vorlage löschen'(012) cancel_display = ' ' importing answer = ans.

TR_REQUEST_CHOICE call function 'TR_REQUEST_CHOICE' exporting iv_suppress_dialog = ' ' iv_request_types = 'K' iv_cli_dep = ' ' iv_request = ' ' it_e071 = lt_e071 it_e071k = lt_e071k iv_lock_objects = ' ' iv_start_column = 3 iv_start_row = 7 iv_with_error_log = 'X' iv_no_owner_check = ' ' importing es_request = request exceptions invalid_request = 1 invalid_request_type = 2 user_not_owner = 3 no_objects_appended = 4 enqueue_error = 5 cancelled_by_user = 6 recursive_call = 7 others = 8.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = 'Daten sichern und aktuelle Template ersetzen?'(006) titel = 'Sichern'(007) cancel_display = 'X' importing answer = ans.

F4IF_GET_SHLP_DESCR call function 'F4IF_GET_SHLP_DESCR' exporting shlpname = 'UPWB_TEMPLATES2' * SHLPTYPE = 'SH' importing shlp = shlp .

F4IF_START_VALUE_REQUEST call function 'F4IF_START_VALUE_REQUEST' exporting shlp = shlp * DISPONLY = ' ' * MAXRECORDS = 500 * MULTISEL = ' ' * CUCOL = SY-CUCOL * CUROW = SY-CUROW importing rc = subrc tables return_values = retval .

POPUP_GET_VALUES call function 'POPUP_GET_VALUES' exporting popup_title = popup_title importing returncode = ans tables fields = fields.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting * BIN_FILESIZE = filename = filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = tables data_tab = templates exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 others = 22 .

GUI_UPLOAD call function 'GUI_UPLOAD' exporting filename = filename * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * IMPORTING * FILELENGTH = * HEADER = tables data_tab = templates exceptions file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 others = 17 .

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Dateien geladen -> Templates ersetzen'(022) * DIAGNOSE_OBJECT = ' ' text_question = 'Wollen Sie wirklich alle (!!) Templates ersetzen?'(021) * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' default_button = '2' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = importing answer = ans * TABLES * PARAMETER = * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2 .

GUI_UPLOAD call function 'GUI_UPLOAD' exporting filename = filename * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * IMPORTING * FILELENGTH = * HEADER = tables data_tab = templates exceptions file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 others = 17 .

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting * BIN_FILESIZE = filename = filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = tables data_tab = templates exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 others = 22 .

UPWB_GET_STORAGE call function 'UPWB_GET_STORAGE' importing eo_storage = r_storage.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name UPWB_TEMPLATE_EDITOR or its description.