KBAS_MDGF_SET_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 KBAS_MDGF_SET_DOWNLOAD 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: HRYLEAD = Leading Field
Selection Text: HRYLEAF = Hierarchy Leaf
Selection Text: HRYNAME = Hierarchy Name
Selection Text: HRYNODE = Hierarchy Node
Selection Text: P_FILE = Hierarchy
Selection Text: P_FILE1 = Hierarchy Name
Selection Text: P_FILE2 = Hierarchy Node
Selection Text: KOKRS = D .
Selection Text: SETCLASS = D .
Selection Text: SETNAME = D .
Title: Report KBAS_MDGF_SET_DOWNLOAD
Text Symbol: 001 = Set Keys
Text Symbol: 002 = Hierarchy Entity Types
Text Symbol: 003 = Download to File
Text Symbol: 004 = Controlling Area
Text Symbol: 005 = Hierarchy Name
Text Symbol: 006 = Hierarchy Node
Text Symbol: 007 = Hierarchy
Text Symbol: 008 = Download Results
INCLUDE KBAS_MDGF_SET_DOWNLOAD_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING mask = lv_mask static = 'X' CHANGING file_name = p_file.
KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING mask = lv_mask static = 'X' CHANGING file_name = p_file1.
KD_GET_FILENAME_ON_F4 CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING mask = lv_mask static = 'X' CHANGING file_name = p_file2.
G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING shortname = setname setclass = setclass kokrs = kokrs IMPORTING new_setid = l_setid.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = ls_output-high_setid IMPORTING shortname = l_decrypt_shortname kokrs = l_decrypt_kokrs ktopl = l_decrypt_ktopl.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = ls_output-low_setid IMPORTING shortname = l_decrypt_shortname kokrs = l_decrypt_kokrs ktopl = l_decrypt_ktopl.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING no_authority_check = 'X' setnr = p_setid no_titles = ' ' IMPORTING set_header = l_header TABLES set_lines_single = lt_single set_lines_basic = lt_basic EXCEPTIONS OTHERS = 1.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = p_setid IMPORTING shortname = l_decrypt_shortname.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.