SAP Reports / Programs | Basis Components | Frontend Services - Use subcomponents (see SAP Note 1322184) | SAP Internet Transaction Server(BC-FES-ITS) SAP BC

ITSQ_UPLOAD_DOWNLOAD SAP ABAP Report - Program ITSQ_UPLOAD_DOWNLOAD







ITSQ_UPLOAD_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 ITSQ_UPLOAD_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 ITSQ_UPLOAD_DOWNLOAD. "Basic submit
SUBMIT ITSQ_UPLOAD_DOWNLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT ITSQ_UPLOAD_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: Program ITSQ_UPLOAD_DOWNLOAD


INCLUDES used within this REPORT ITSQ_UPLOAD_DOWNLOAD

INCLUDE ITSQ_SET_STATUS.
INCLUDE ITSQ_CL.
INCLUDE ITSQ_ASSIGN.
INCLUDE ITSQ_WS.
INCLUDE ITSQ_GUI.


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:

WWW_GET_MIME_OBJECT CALL FUNCTION 'WWW_GET_MIME_OBJECT' "#EC FB_OLDED TABLES query_string = query_table html = html_table mime = pic_data CHANGING return_code = return_code content_type = content_type content_length = content_length EXCEPTIONS object_not_found = 1 parameter_not_found = 2 OTHERS = 3.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'TEXT' SUBTYPE = 'PLAIN' * SIZE = * DATE = * TIME = * DESCRIPTION = * LIFETIME = * CACHEABLE = * SEND_DATA_AS_STRING = * FIELDS_FROM_APP = TABLES DATA = transfer_tab * FIELDS = * PROPERTIES = * COLUMNS_TO_STRETCH = CHANGING URL = URL_DP EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4 .

DP_COPY_URL CALL FUNCTION 'DP_COPY_URL' EXPORTING URL_SOURCE = URL_DP URL_DEST = TXT_URL_DEST SECURECALL = 'X' * MIMETYPE = * MIMESUBTYPE = * USERINFO = IMPORTING ERRORSTATE = errorstate EXCEPTIONS OTHERS = 1 .

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'TEXT' SUBTYPE = 'PLAIN' * SIZE = * DATE = * TIME = * DESCRIPTION = * LIFETIME = * CACHEABLE = * SEND_DATA_AS_STRING = * FIELDS_FROM_APP = TABLES DATA = transfer_tab * FIELDS = * PROPERTIES = * COLUMNS_TO_STRETCH = CHANGING URL = URL_DP EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4 .

DP_GET_STREAM_FROM_URL CALL FUNCTION 'DP_GET_STREAM_FROM_URL' EXPORTING url = url_dp_stream * TYPE = * SUBTYPE = * CALLINIT = * USERINFO = * SECURECALL = SEND_DATA_AS_STRING = c_as_string IMPORTING SIZE = dp_size ERRORSTATE = dp_errorstate RET_TYPE = dp_RET_TYPE RET_SUBTYPE = dp_RET_SUBTYPE DATE = dp_DATE TIME = dp_TIME tables data = transfer_tab EXCEPTIONS DP_FAIL = 1 DP_FAILED_INIT = 2 OTHERS = 3 .

DP_GET_STREAM_FROM_URL CALL FUNCTION 'DP_GET_STREAM_FROM_URL' EXPORTING url = url_dp_stream * TYPE = * SUBTYPE = * CALLINIT = * USERINFO = * SECURECALL = SEND_DATA_AS_STRING = c_as_string IMPORTING SIZE = dp_size ERRORSTATE = dp_errorstate RET_TYPE = dp_RET_TYPE RET_SUBTYPE = dp_RET_SUBTYPE DATE = dp_DATE TIME = dp_TIME tables data = transfer_tab_bin EXCEPTIONS DP_FAIL = 1 DP_FAILED_INIT = 2 OTHERS = 3 .

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'image' "#EC NOTEXT subtype = cndp_sap_tab_unknown TABLES data = pic_tab CHANGING url = url.

SDOK_FILE_NAME_EXTENSION_GET CALL FUNCTION 'SDOK_FILE_NAME_EXTENSION_GET' EXPORTING MIMETYPE = wa_mime IMPORTING EXTENSION = c_ext .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING bin_filesize = binlen filename = p_fpath filetype = 'BIN' append = ' ' WRITE_BOM = 'X' IMPORTING filelength = len "len TYPE i TABLES data_tab = pic_tab 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.



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