SAP Reports / Programs

SOTR_PROGRAM_01 SAP ABAP Report - OTR Program







SOTR_PROGRAM_01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for For the comparison to be correct, the same selections must be entered on both selection screens for the download and upload...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SOTR_PROGRAM_01 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 SOTR_PROGRAM_01. "Basic submit
SUBMIT SOTR_PROGRAM_01 AND RETURN. "Return to original report after report execution complete
SUBMIT SOTR_PROGRAM_01 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: R_UPL = Upload
Selection Text: R_TEXT = Short Text
Selection Text: R_STRING = Long Text
Selection Text: R_DOWNL = Download
Selection Text: P_FILE = File
Title: Compare OTR texts in different systems
Text Symbol: 031 = (on both this screen and the following selection screen).
Text Symbol: 030 = The same selections have to be entered for uploading and downloading
Text Symbol: 021 = File
Text Symbol: 020 = Database:
Text Symbol: 012 = Text does not exist in file
Text Symbol: 011 = Text does not exist in the database
Text Symbol: 010 = Texts are different:
Text Symbol: 005 = Different texts:
Text Symbol: 003 = the system:
Text Symbol: 002 = file from
Text Symbol: 001 = The following texts were written to


INCLUDES used within this REPORT SOTR_PROGRAM_01

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:

SOTR_SEL_SCREEN call function 'SOTR_SEL_SCREEN' exporting string = r_string i_slang = sy-langu tables text_entries = text_entries string_entries = l_string_entries exceptions no_entry_found = 1 others = 2.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting filename = file tables data_tab = text_entries 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.

SOTR_TAGS_REMOVE_FROM_STRING call function 'SOTR_TAGS_REMOVE_FROM_STRING' changing text = l_string_entries_wa-text.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting filename = file tables data_tab = string_entries 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 = file tables data_tab = text_entries 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_UPLOAD call function 'GUI_UPLOAD' exporting filename = file tables data_tab = string_entries 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.

SOTR_SEL_SCREEN call function 'SOTR_SEL_SCREEN' exporting string = r_string i_slang = sy-langu tables text_entries = text_entries_2 string_entries = l_string_entries_2 exceptions no_entry_found = 1 others = 2.

SOTR_TAGS_REMOVE_FROM_STRING call function 'SOTR_TAGS_REMOVE_FROM_STRING' changing text = l_string_entries_2_wa-text.

SOTR_WBO_ENTRIES_INSERT call function 'SOTR_WBO_ENTRIES_INSERT' exporting paket = l_paket sotr_keys = l_sotr_keys object = l_object changing we_order = l_we_order exceptions user_cancelled = 1 permission_failure = 2 others = 3.



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