MN1PAF02 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 MN1PAF02 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!
MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = pt_mesg.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'NF' * S, um die Verarbeitung des Aufrufers nicht durcheinanderzubringen msgty = 'S' txtnr = '666' msgv1 = p_msgtxt.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = p_id * S, um die Verarbeitung des Aufrufers nicht durcheinanderzubringen msgty = 'S' txtnr = p_number msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3.
ISH_BAPI_FILL_RETURN_PARAM CALL FUNCTION 'ISH_BAPI_FILL_RETURN_PARAM' EXPORTING msgty = p_typ msgid = p_kla msgno = p_num msgv1 = p_mv1 msgv2 = p_mv2 msgv3 = p_mv3 msgv4 = p_mv4 parameter = p_par row = p_row field = p_fld IMPORTING return = p_return EXCEPTIONS OTHERS = 0.
ISH_VERBUCHER_NLEI CALL FUNCTION 'ISH_VERBUCHER_NLEI' EXPORTING datum = sy-datum tcode = sy-tcode uname = sy-uname uzeit = sy-uzeit TABLES xnlei = nnlei ynlei = onlei.
ISHMED_UPDATE_NLEM CALL FUNCTION 'ISHMED_UPDATE_NLEM' EXPORTING datum = sy-datum tcode = sy-tcode uname = sy-uname uzeit = sy-uzeit TABLES nnlem = nnlem onlem = onlem.
DEQUEUE_ENPAT * call function 'DEQUEUE_ENPAT' * exporting * patnr = p_patnr.
ISHMED_DEQUEUE_ENPAT CALL FUNCTION 'ISHMED_DEQUEUE_ENPAT' EXPORTING patnr = p_patnr i_caller = 'MN1PAF02'.
ENQUEUE_ENPAT * call function 'ENQUEUE_ENPAT' * exporting * patnr = p_patnr * _scope = 3 * exceptions * foreign_lock = 4 * system_failure = 12.
ISHMED_ENQUEUE_ENPAT CALL FUNCTION 'ISHMED_ENQUEUE_ENPAT' EXPORTING patnr = p_patnr i_caller = 'MN1PAF02' _scope = '3' EXCEPTIONS foreign_lock = 4 system_failure = 12.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'N1' msgty = 'E' txtnr = '015' msgv1 = p_patnr.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'N1' msgty = 'E' txtnr = '016' msgv1 = p_patnr msgv2 = l_enq_uname.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'N1' msgty = 'E' txtnr = '017' msgv1 = p_patnr msgv2 = l_rc.
ISHMED_PTS_DISPO_WORKPLACE CALL FUNCTION 'ISHMED_PTS_DISPO_WORKPLACE' TABLES t_rn1f5 = lt_rn1f5.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = p_title send_if_one = 'X' show_linno = ' ' * CDuerr, MED-31443 - Begin EXCEPTIONS no_messages = 1.
MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' " Msgs löschen EXCEPTIONS a_message = 1 e_message = 2 i_message = 3 w_message = 4 OTHERS = 5.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'NF' msgty = 'I' txtnr = '666' msgv1 = pt_messages-message.
CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS a_message = 1 e_message = 2 i_message = 3 w_message = 4 OTHERS = 5.
ISHMED_READ_NTPT CALL FUNCTION 'ISHMED_READ_NTPT' EXPORTING i_einri = l_nlei-einri i_talst = l_nlei-leist i_tarif = l_nlei-haust IMPORTING e_ktxt1 = l_ntpt-ktxt1.
ISHMED_CALL_INTERNET_SERIVCE1 CALL FUNCTION 'ISHMED_CALL_INTERNET_SERIVCE1'.
ISH_MDY_CORDER_DIALOG CALL FUNCTION 'ISH_MDY_CORDER_DIALOG'.
ISHMED_ME_CREATE_ORDER CALL FUNCTION 'ISHMED_ME_CREATE_ORDER' EXPORTING i_caller = 'N1ME_CO' * I_EINRI = * I_PATNR = * I_FALNR = * I_CALL_TEMPLATE = OFF * IR_TEMPLATE = * I_ENQUEUE = ON * I_SAVE = ON * I_COMMIT = ON * IR_ENVIRONMENT = IMPORTING e_rc = l_rc CHANGING * CR_CONTROLLER = * CR_LOCK = cr_errorhandler = lr_errorhandler.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name MN1PAF02 or its description.