MP51SA20 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 MP51SA20 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!
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = l_datum IMPORTING last_day_of_month = l_last_day_month EXCEPTIONS day_in_no_date = 1 OTHERS = 2.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'T552A' fieldname = 'SOLST' langu = sy-langu lfieldname = 'SOLST' IMPORTING dfies_wa = l_dfies EXCEPTIONS OTHERS = 0.
PT_GUI_WORKSCHEDULE_POPUP CALL FUNCTION 'PT_GUI_WORKSCHEDULE_POPUP' EXPORTING p_datum = l_outtab_entry-datum p_tprog = l_outtab_entry-tprog p_varia = l_outtab_entry-varia p_tagty = l_outtab_entry-tagty p_ftkla = l_outtab_entry-ftkla p_zeity = m_display_selection-zeity p_mofid = m_display_selection-mofid p_mosid = m_display_selection-mosid p_schkz = m_display_selection-schkz.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'T550A' fieldname = 'TPROG' value = l_help_value display = e_display callback_program = 'SAPMP51S' callback_form = 'F4_SEL_TPROG' TABLES return_tab = l_f4_tab EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'T550A' fieldname = 'TPROG' value = l_help_value display = e_display callback_program = 'SAPMP51S' callback_form = 'F4_SEL_VARIA' TABLES return_tab = l_f4_tab EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.