DB6_XML_MON_UDFS_GEN_SQL 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 DB6_XML_MON_UDFS_GEN_SQL 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.
Title: DB6: tool to generate XMLTABLE access to MON_GET_*_DETAILS UDFs
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting filename = outfile write_lf = abap_true confirm_overwrite = abap_true trunc_trailing_blanks_eol = abap_false write_lf_after_last_line = abap_false tables data_tab = stmt_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.
GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting filename = outfile write_lf = abap_true confirm_overwrite = abap_true trunc_trailing_blanks_eol = abap_false write_lf_after_last_line = abap_false tables data_tab = stmt_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.
GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting filename = outfile write_lf = abap_true confirm_overwrite = abap_true trunc_trailing_blanks_eol = abap_false write_lf_after_last_line = abap_false tables data_tab = stmt_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.
GUI_UPLOAD call function 'GUI_UPLOAD' exporting filename = filepath filetype = 'ASC' has_field_separator = abap_false header_length = 0 read_by_line = abap_true dat_mode = abap_false tables data_tab = filelines 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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DB6_XML_MON_UDFS_GEN_SQL - DB6: tool to generate XMLTABLE access to MON_GET_*_DETAILS UDFs DB6_XML_MON_UDFS_GEN_SQL - DB6: tool to generate XMLTABLE access to MON_GET_*_DETAILS UDFs DB6_ECATT_EXECUTE_TEST - Program DB6_ECATT_EXECUTE_TEST DB6_ECATT_EXECUTE_TEST - Program DB6_ECATT_EXECUTE_TEST DB301SUB - documentation and ABAP source code DB2_V10_CHECK - Program DB2_V10_CHECK