SMIPRF03 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 SMIPRF03 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!
VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING kzdch = lv_kzdch.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = ls_log_handle i_s_msg = ls_msg_str.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = ls_log_handle i_s_msg = ls_msg_str.
MD_READ_MATERIAL_SIMPLE CALL FUNCTION 'MD_READ_MATERIAL_SIMPLE' EXPORTING ewerks = lv_werk ematnr = ls_matso-matnr eberid = ls_matso-berid ekzrfb = xflag CHANGING cmt61d = ls_mt61d ccm61b = ls_cm61b EXCEPTIONS material_mrp_area_not_found = 1 missing_parameter = 2 material_plant_not_found = 3 material_mrp_area_deleted = 4 OTHERS = 5.
AUFBAUEN_MDPSX_ANZEIGEN CALL FUNCTION 'AUFBAUEN_MDPSX_ANZEIGEN' EXPORTING ecm61w = p_ls_cm61w ecm61x = p_ls_cm61x emt61d = ls_mt61d et399d = p_ls_t399d ecm61b = ls_cm61b esfilt = ls_filt IMPORTING icm61m = ls_cm61m imdkp = ls_mdkp imdsta = ls_mdsta TABLES mdpsx = lt_mdpsx EXCEPTIONS error = 1 OTHERS = 2.
MD_CONVERT_MATERIAL_UNIT CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT' EXPORTING i_matnr = p_matso-matnr i_in_me = meins i_out_me = p_matso-ekpo_actual-meins i_menge = ls_mdpsx-mng01 IMPORTING e_menge = p_lt_bedarf-mng01 EXCEPTIONS error_in_application = 1 error = 2 OTHERS = 3.
ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = ls_t006-andec input = l_menge sign = '+' "rounding up IMPORTING output = l_menge EXCEPTIONS input_invalid = 01 overflow = 02 type_invalid = 03.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.