SM59_FORMS is a standard ABAP INCLUDE 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 SM59_FORMS 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'RFC Trace-Dateien'(rtt) text_question = 'Trace-Dateien(dev_rfc*) wirklich löschen?'(trd) text_button_1 = 'Ja'(020) text_button_2 = 'Nein'(021) default_button = '2' display_cancel_button = 'X' IMPORTING answer = l_antwort.
RFC_TRACE_DELETE CALL FUNCTION 'RFC_TRACE_DELETE' EXPORTING authority_check = 'X' EXCEPTIONS authority_not_available = 1 file_authority_not_available = 2 OTHERS = 3.
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' TABLES list = serverlist EXCEPTIONS no_server_list = 1.
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' IMPORTING rfcsi_export = l_rfcsi.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'SM59_ALVNODE' fieldname = 'RFCDEST' TABLES return_tab = lt_return EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.
RFCDES_DISPLAY CALL FUNCTION 'RFCDES_DISPLAY' EXPORTING rfcdes_export = ls_rfcdes editable = p_editmode IMPORTING rfcdes_import = newrfcdes modified = l_mod.
RFCDES_DISPLAY CALL FUNCTION 'RFCDES_DISPLAY' EXPORTING rfcdes_export = ls_rfcdes editable = p_editmode IMPORTING rfcdes_import = newrfcdes modified = p_mod.
RFCDES_DISPLAY CALL FUNCTION 'RFCDES_DISPLAY' EXPORTING rfcdes_export = ps_rfcdes editable = p_editmode IMPORTING rfcdes_import = newrfcdes modified = p_mod.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = ps_rfcdes-rfcdest text_question = 'Destination wirklich löschen ?'(del) text_button_1 = 'Ja'(020) text_button_2 = 'Nein'(021) default_button = '2' display_cancel_button = 'X' IMPORTING answer = antwort.
RFC_PREPARE_DESTINATION CALL FUNCTION 'RFC_PREPARE_DESTINATION' EXPORTING destination = ps_rfcdes-rfcdest action = 'D' "Delete ! EXCEPTIONS authority_not_available = 1 destination_already_exist = 2 destination_not_exist = 3 destination_enqueue_reject = 4 destination_is_locked = 5 information_failure = 6 internal_failure = 7 OTHERS = 8.
AUTHORITY_CHECK_DATASET CALL FUNCTION 'AUTHORITY_CHECK_DATASET' EXPORTING * PROGRAM = activity = p_act filename = l_filename EXCEPTIONS no_authority = 1 activity_unknown = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.