SAP Reports / Programs | Basis Components | Basis Components | Test Organizer(BC-TWB-ORG) SAP BC

RSTWB_NOTES_UP_DOWNLOAD SAP ABAP Report - Download/Upload SAPScript Notes







RSTWB_NOTES_UP_DOWNLOAD 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 RSTWB_NOTES_UP_DOWNLOAD 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 RSTWB_NOTES_UP_DOWNLOAD. "Basic submit
SUBMIT RSTWB_NOTES_UP_DOWNLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT RSTWB_NOTES_UP_DOWNLOAD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Download/Upload SAPScript Notes
Text Symbol: B01 = Selection
Text Symbol: S00 = Test Plan
Text Symbol: S01 = Save as Local File
Text Symbol: S02 = Load Local File


INCLUDES used within this REPORT RSTWB_NOTES_UP_DOWNLOAD

INCLUDE LS_TWB_HCON.


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:

S_TWB_U_GET_SYSTEM_TYPE CALL FUNCTION 'S_TWB_U_GET_SYSTEM_TYPE' IMPORTING sap_system = sap_system.

STREE_STRUCTURE_EXIST CALL FUNCTION 'STREE_STRUCTURE_EXIST' EXPORTING structure_id = strucid IMPORTING message = message.

STREE_RAISE_MESSAGE CALL FUNCTION 'STREE_RAISE_MESSAGE' EXPORTING message = message.

STREE_STRUCTURE_READ CALL FUNCTION 'STREE_STRUCTURE_READ' EXPORTING structure_id = strucid IMPORTING message = message structure_header = structure_header TABLES description = structure_description.

STREE_HIERARCHY_READ CALL FUNCTION 'STREE_HIERARCHY_READ' EXPORTING structure_id = strucid IMPORTING message = message TABLES list_of_nodes = list_of_nodes list_of_references = list_of_references list_of_texts = list_of_texts.

STREE_GET_FILTER CALL FUNCTION 'STREE_GET_FILTER' EXPORTING structure_id = strucid TABLES filter = l_filter.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = l_fullpath * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = tr 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 = l_filename * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = tr 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.

DOCU_DELETE CALL FUNCTION 'DOCU_DELETE' EXPORTING head = head typ = i_dokil-typ version = i_dokil-version.

S_TWB_U_F4_STRUCTURE CALL FUNCTION 'S_TWB_U_F4_STRUCTURE' EXPORTING tree_type = type_plan multiple_selection = sw_multiple default_value_text = sname IMPORTING sel_structure = sel_structure sel_structure_text = sel_structure_text EXCEPTIONS canceled = 1 already_used = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = dyname dynumb = dynumb TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.



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 RSTWB_NOTES_UP_DOWNLOAD or its description.