MWPUKF07 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 MWPUKF07 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: Form Routines Store Physical Inventory
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
IDOC_INPUT_STORE_INVENTORY call function 'IDOC_INPUT_STORE_INVENTORY' EXPORTING input_method = input_method mass_processing = mass_processing IMPORTING workflow_result = workflow_result application_variable = application_variable in_update_task = in_update_task call_transaction_done = call_transaction_done TABLES idoc_contrl = idoc_kopf idoc_data = g_t_edidd idoc_status = idoc_status return_variables = return_variables serialization_info = serialization_info EXCEPTIONS wrong_function_called = 01.
CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = g_s_e1wvinh-iblnr IMPORTING output = l_iblnr.
MB_READ_INVENTORY call function 'MB_READ_INVENTORY' EXPORTING gjahr = l_gjahr iblnr = l_iblnr tkenn = 'IKPF' trtyp = l_trtyp IMPORTING inve_daten = ikpf TABLES seqtab = l_t_iseg EXCEPTIONS not_found = 1 error_message = 100 others = 2.
MB_READ_INVENTORY call function 'MB_READ_INVENTORY' exporting gjahr = l_gjahr iblnr = l_iblnr tkenn = 'ISEG' trtyp = l_trtyp * importing * inve_daten = p_s_ikpf tables seqtab = l_t_iseg exceptions not_found = 1 error_message = 100 others = 2.
UNIT_OF_MEASURE_SAP_TO_ISO call function 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING sap_code = l_sap_code_me IMPORTING iso_code = l_iso_code_me EXCEPTIONS not_found = 1 no_iso_code = 2 others = 3.
CURRENCY_CODE_SAP_TO_ISO * call function 'CURRENCY_CODE_SAP_TO_ISO' * exporting * sap_code = l_sap_code_waers * importing * iso_code = l_iso_code_waers * exceptions * not_found = 1 * others = 2.
POS_EDI_STATUS_READ call function 'POS_EDI_STATUS_READ' EXPORTING docnum = g_idoc_out-docnum langua = sy-langu IMPORTING descrp = g_idoc_out-descrp statva = g_idoc_out-statva status_error = g_idoc_out-error CHANGING status = g_idoc_out-status EXCEPTIONS idoc_not_found = 01 valence_not_found = 02 description_not_found = 03.
POS_EDI_STATUS_READ call function 'POS_EDI_STATUS_READ' EXPORTING docnum = g_idoc_in-docnum langua = sy-langu IMPORTING descrp = g_idoc_in-descrp statva = g_idoc_in-statva status_error = g_idoc_in-error CHANGING status = g_idoc_in-status EXCEPTIONS idoc_not_found = 01 valence_not_found = 02 description_not_found = 03.
EDI_DOCUMENT_OPEN_FOR_READ call function 'EDI_DOCUMENT_OPEN_FOR_READ' exporting document_number = p_docnum * DB_READ_OPTION = DB_READ importing idoc_control = p_edidc exceptions document_foreign_lock = 1 document_not_exist = 2 document_number_invalid = 3 others = 4.
EDI_SEGMENTS_GET_ALL call function 'EDI_SEGMENTS_GET_ALL' EXPORTING document_number = p_docnum TABLES idoc_containers = p_edidd EXCEPTIONS document_number_invalid = 1 end_of_document = 2 others = 3.
EDI_DOCUMENT_CLOSE_READ call function 'EDI_DOCUMENT_CLOSE_READ' exporting document_number = p_docnum * IMPORTING * IDOC_CONTROL = exceptions document_not_open = 1 parameter_error = 2 others = 3.
HELP_OBJECT_SHOW_FOR_FIELD call function 'HELP_OBJECT_SHOW_FOR_FIELD' exporting doklangu = sy-langu * DOKTITLE = ' ' called_by_program = sy-cprog called_by_dynp = sy-dynnr called_for_tab = l_table called_for_field = p_field called_for_tab_fld_btch_input = l_batchinput called_by_cuaprog = sy-cprog called_by_cuastat = sy-pfkey * MERGE_DZ_IF_AVAILABLE = * MEMORYID = * EXPLICIT_MEMORYID = ' ' * TABLES * LINKS = exceptions object_not_found = 1 sapscript_error = 2 others = 3.
MASTER_IDOC_DISTRIBUTE call function 'MASTER_IDOC_DISTRIBUTE' EXPORTING master_idoc_control = g_t_edidc TABLES communication_idoc_control = l_t_edidc master_idoc_data = g_t_edidd EXCEPTIONS error_in_idoc_control = 01 error_writing_idoc_status = 02 error_in_idoc_data = 03 sending_logical_system_unknown = 04.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.