SMUM_TEST_SHELL 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 SMUM_TEST_SHELL into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: FILE_DIR = File directory
Selection Text: RECEIVER = Receiver id
Selection Text: SENDER = Sender id
Selection Text: XMLFILE = XML filename
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WS_UPLOAD *CALL FUNCTION 'WS_UPLOAD' * EXPORTING ** CODEPAGE = ' ' * FILENAME = XFILE * FILETYPE = 'BIN' ** HEADLEN = ' ' ** LINE_EXIT = ' ' ** TRUNCLEN = ' ' ** USER_FORM = ' ' ** USER_PROG = ' ' * IMPORTING * FILELENGTH = filelength * TABLES * DATA_TAB = xml_lines ** EXCEPTIONS ** CONVERSION_ERROR = 1 ** FILE_OPEN_ERROR = 2 ** FILE_READ_ERROR = 3 ** INVALID_TABLE_WIDTH = 4 ** INVALID_TYPE = 5 ** NO_BATCH = 6 ** UNKNOWN_ERROR = 7 ** GUI_REFUSE_FILETRANSFER = 8 ** OTHERS = 9 *..
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = XFILE FILETYPE = 'BIN' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 IMPORTING FILELENGTH = filelength * HEADER = TABLES DATA_TAB = xml_lines * 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 .
SMUM_TPUSER CALL FUNCTION 'SMUM_TPUSER' EXPORTING SENDER = sender RECEIVER = receiver * DOCTYPE = DOCSTRING = xml_xstring_in REQUESTMODE = 'SYNC' CORRELATIONID = correlationid IMPORTING * RETDOCTYPE = RETDOCSTRING = xml_xstring_out .
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING BIN_FILESIZE = filelen FILENAME = outfile FILETYPE = 'BIN' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = xml_lines * 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 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.