MN1PMI01 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 MN1PMI01 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: Include MN1PMI01
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = l_dynnr * REQUEST = ' ' perform_conversion_exits = ' ' perform_input_conversion = 'X' * DETERMINE_LOOP_INDEX = ' ' TABLES dynpfields = lt_field EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.
ISH_SHOW_LIST_PATIENT CALL FUNCTION 'ISH_SHOW_LIST_PATIENT' EXPORTING anfo = 'X' " Auswahlpopup npat_einri = dn1pm-einri fcode = 'PS' " Nur Patienten vcode = 'DIS' " Nur Anzeige und Auswahl IMPORTING npat_patnr = help_patnr npat_pziff = help_pziff EXCEPTIONS geschlecht_falsch = 01 no_authority = 02 npat_not_found = 03 selection_false = 04.
ISH_READ_NFAL CALL FUNCTION 'ISH_READ_NFAL' EXPORTING ss_einri = dn1pm-einri ss_falnr = nfal-falnr IMPORTING ss_nfal = nfal EXCEPTIONS not_found = 01 no_authority = 02.
ISH_READ_NPAT * CALL FUNCTION 'ISH_READ_NPAT' * EXPORTING * SS_EINRI = L_EINRI * SS_PATNR = NPAT-PATNR * SS_READ_DB = 'X' * IMPORTING * SS_NPAT = NPAT * EXCEPTIONS * NOT_FOUND = 01 * NO_AUTHORITY = 02.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.