SAP Reports / Programs | Logistics - General | SAP Retail Store(LO-SRS) SAP LO

MWOSEF01 SAP ABAP INCLUDE - Include MWOSEF01







MWOSEF01 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 MWOSEF01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT MWOSEF01. "Basic submit
SUBMIT MWOSEF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MWOSEF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include MWOSEF01


INCLUDES used within this REPORT MWOSEF01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HANDLE_FIRST_SCREEN_STORE_WB CALL FUNCTION 'HANDLE_FIRST_SCREEN_STORE_WB' IMPORTING fields_first_screen = g_storewb_einstieg EXCEPTIONS no_store_number = 1 store_number_not_valid = 2 OTHERS = 3.

IAC_WOSE_CUSTOMIZING_GET CALL FUNCTION 'IAC_WOSE_CUSTOMIZING_GET' EXPORTING pi_werks = wose_imkpf-plant pi_tcode = sy-tcode IMPORTING pe_wose_twic100 = wose_twic0100 pe_wose_twic200 = wose_twic0200 pe_wose_twic250 = wose_twic0250 " Note 583560 pe_wose_twic260 = wose_twic0260 " Note 583560 pe_wose_plant = wose_imkpf pe_xwmhd = g_xwmhd EXCEPTIONS error = 1 OTHERS = 2.

MEAN_GEN_READ_WITH_EAN CALL FUNCTION 'MEAN_GEN_READ_WITH_EAN' EXPORTING * KZRFB = ' ' ean11 = wose_items-ean11 TABLES mean_tab = i_mean * MEAN_ME_TAB = EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

BAPI_PO_GETITEMS CALL FUNCTION 'BAPI_PO_GETITEMS' EXPORTING * PURCHASEORDER = * DOC_TYPE = doc_date = wose_imkpf-ref_date * PUR_GROUP = * PURCH_ORG = vendor = wose_items-liefnr suppl_plant = wose_items-w_umwrk material = i_matnr * MAT_GRP = * ITEM_CAT = * ACCTASSCAT = plant = g_plant * TRACKINGNO = * SHORT_TEXT = * CREATED_BY = * PREQ_NAME = ' ' with_po_headers = 'X' * DELETED_ITEMS = ' ' items_open_for_receipt = i_receipt TABLES po_headers = g_t_bkpf po_items = i_t_po_items_temp return = g_i_bapireturn.

BAPI_CREDITOR_GETDETAIL CALL FUNCTION 'BAPI_CREDITOR_GETDETAIL' EXPORTING creditorid = g_t_bkpf-vendor * COMPANYCODE = IMPORTING creditor_general_detail = i_t_cred_detail * CREDITOR_COMPANY_DETAIL = return = g_i_bapireturn.

LOCATION_SELECT_PLANT CALL FUNCTION 'LOCATION_SELECT_PLANT' EXPORTING i_werks = g_t_bkpf-suppl_plnt IMPORTING o_t001w = l_t001w EXCEPTIONS no_valid_plant = 1 plant_not_found = 2 more_than_one_entry_found = 3 OTHERS = 4.

BROWSER_REDIRECT CALL FUNCTION 'BROWSER_REDIRECT' EXPORTING p_storewb_einstieg = g_storewb_einstieg.

BROWSER_REDIRECT CALL FUNCTION 'BROWSER_REDIRECT' EXPORTING p_storewb_einstieg = g_storewb_einstieg.

BROWSER_REDIRECT CALL FUNCTION 'BROWSER_REDIRECT' EXPORTING * * P_NEW_SERVICE = 'WOSM' p_storewb_einstieg = g_storewb_einstieg.

MARA_ARRAY_READ CALL FUNCTION 'MARA_ARRAY_READ' EXPORTING kzrfb = 'X' * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * IMPORTING * RETC = TABLES ipre03 = l_t_pre03 mara_tab = l_t_srs_mara EXCEPTIONS enqueue_mode_changed = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'WOSE_ITEMS' * FIELDNAME = ' ' langu = sy-langu * LFIELDNAME = ' ' * ALL_TYPES = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = TABLES dfies_tab = i_t_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

BAPI_PO_GETDETAIL CALL FUNCTION 'BAPI_PO_GETDETAIL' EXPORTING purchaseorder = i_ref_blnr * items = 'X' * ACCOUNT_ASSIGNMENT = ' ' * SCHEDULES = ' ' * HISTORY = ' ' * ITEM_TEXTS = ' ' * HEADER_TEXTS = ' ' * SERVICES = ' ' IMPORTING po_header = g_t_bkpf po_address = g_t_liefaddress TABLES * PO_HEADER_TEXTS = po_items = g_t_bitems * PO_ITEM_ACCOUNT_ASSIGNMENT = * PO_ITEM_SCHEDULES = * PO_ITEM_TEXTS = * PO_ITEM_HISTORY = * PO_ITEM_HISTORY_TOTALS = * PO_ITEM_LIMITS = * PO_ITEM_CONTRACT_LIMITS = * PO_ITEM_SERVICES = * PO_ITEM_SRV_ACCASS_VALUES = return = g_i_bapireturn EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 2.

PLANT_GET_DETAIL CALL FUNCTION 'PLANT_GET_DETAIL' EXPORTING plant = wose_items-w_umwrk * WITH_COMPANY_CODE = ' ' * IMPORTING * PLANT_GENERAL_DATA = * RETURN = EXCEPTIONS not_found = 1 no_company_code_found = 2 OTHERS = 3.

CO_TA_T156_READ CALL FUNCTION 'CO_TA_T156_READ' "v note 700422 EXPORTING " T156_BWART = G_BWART "note 847293 IMPORTING " t156wa = l_t156 " EXCEPTIONS " NOT_FOUND = 1. "

PM_GET_STORAGE_LOC_INBOUND CALL FUNCTION 'PM_GET_STORAGE_LOC_INBOUND' EXPORTING i_werks = wose_imkpf-plant i_situa = i_situa i_matnr = i_t_imseg-matnr * I_RAUBE = * I_RAUBE_READ = * I_AKTNR = IMPORTING e_lgort = i_t_imseg-lgort * E_SITUA = * E_RAUBE = EXCEPTIONS invalid_parameters = 1 material_not_found = 2 no_entries_found = 3 no_entries_match = 4 other_errors = 5 OTHERS = 6.

MP2E_IMSEG_TO_2017_ITEM_CREATE CALL FUNCTION 'MP2E_IMSEG_TO_2017_ITEM_CREATE' EXPORTING imseg = i_t_imseg CHANGING bapi2017_gm_item_create = p_t_bapi2017_gm_item_create EXCEPTIONS error_converting_iso_code = 1 error_converting_keys = 2 error_converting_curr_amount = 3 error_converting_network = 4 OTHERS = 5.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = lgort return = mtcor TABLES seqmat01 = xlgort.

MARD_GENERIC_READ_MATNR_PLANT CALL FUNCTION 'MARD_GENERIC_READ_MATNR_PLANT' EXPORTING * KZRFB = ' ' matnr = i_matnr werks = i_plant * MAXTZ = 0 TABLES mard_tab = t_mard_tab EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

BALW_BAPIRETURN_GET2





CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = g_param par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 * LOG_NO = ' ' * LOG_MSG_NO = ' ' * PARAMETER = ' ' * ROW = 0 * FIELD = ' ' IMPORTING return = g_t_bapiret2.

BAPI_CREDITOR_GETDETAIL CALL FUNCTION 'BAPI_CREDITOR_GETDETAIL' EXPORTING creditorid = pi_vendor IMPORTING creditor_general_detail = i_creditor return = g_i_bapireturn.

SRS_LISTING_MATERIAL_GET CALL FUNCTION 'SRS_LISTING_MATERIAL_GET' EXPORTING pi_ean_upc = i_ean11 pi_plant = wose_imkpf-plant pi_date = wose_imkpf-up_date pi_listing_check = 'X' IMPORTING pe_return = return TABLES mat_listing = i_mat_listing.

MEAN_GEN_READ_WITH_EAN * CALL FUNCTION 'MEAN_GEN_READ_WITH_EAN' * EXPORTING * KZRFB = ' ' * ean11 = g_t_sl_wose_items-artnr * TABLES * mean_tab = i_mean * MEAN_ME_TAB = * EXCEPTIONS * wrong_call = 1 * not_found = 2 * OTHERS = 3.

SRS_LISTING_MATERIAL_GET CALL FUNCTION 'SRS_LISTING_MATERIAL_GET' EXPORTING pi_vend_mat = i_idnlf * PI_EAN_UPC = pi_vendor = wose_imkpf-lifnr pi_plant = wose_imkpf-plant * PI_SITE = pi_date = wose_imkpf-up_date pi_listing_check = 'X' IMPORTING pe_return = return TABLES mat_listing = i_mat_listing .

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = g_t_sl_wose_items-matnr * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' IMPORTING wmara = i_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = g_t_sl_wose_items-matnr spras = sy-langu IMPORTING wmakt = i_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

PIA_CSO_1ITEM_LISTING_GUARANT CALL FUNCTION 'PIA_CSO_1ITEM_LISTING_GUARANT' EXPORTING pi_matnr = g_t_sl_wose_items-matnr pi_werks = wose_imkpf-plant EXCEPTIONS error = 1 OTHERS = 2.

BAPI_GOODSMVT_CREATE CALL FUNCTION 'BAPI_GOODSMVT_CREATE' EXPORTING goodsmvt_header = i_bapi2017_gm_head_01 * GOODSMVT_KANBAN = goodsmvt_code = i_goodsmvt_code IMPORTING goodsmvt_headret = g_i_gm_headret TABLES goodsmvt_item = i_t_bapi2017_gm_item_create * GOODSMVT_SERIALNUMBER = return = g_t_bapiret2.

IAC_WOSE_SHIPPINGNOT_SEARCH CALL FUNCTION 'IAC_WOSE_SHIPPINGNOT_SEARCH' EXPORTING pi_vendor = wose_items-liefnr pi_matnr = wose_items-matnr * pi_vbeln = pi_ean11 = wose_items-ean11 pi_werks = wose_imkpf-plant pi_lfdat = wose_imkpf-ref_date pi_lfart = 'EL' TABLES pe_t_shippingnot = g_t_sl_bkpf EXCEPTIONS noexist = 1 OTHERS = 2.

SD_DELIVERY_ITEMS_RECEIVE * CALL FUNCTION 'SD_DELIVERY_ITEMS_RECEIVE' * EXPORTING * vbeln = wose_imkpf-ref_blnr * werks = g_plant * TABLES * wueb = g_t_wueb * EXCEPTIONS * OTHERS.

SD_DELIVERY_ITEMS_RECEIVE CALL FUNCTION 'SD_DELIVERY_ITEMS_RECEIVE' EXPORTING vbeln = wose_imkpf-ref_blnr * POSNR = werks = g_plant is_t156 = g_t156 * IF_LOCK = ' ' * IMPORTING * WE_EXISTS = TABLES wueb = g_t_wueb EXCEPTIONS no_delivery = 1 delivery_not_suitable = 2 delivery_not_posted_gi = 3 no_items_receiving = 4 no_receiving_plant = 5 no_delivery_item = 6 no_movement_type = 7 delivery_locked = 8 OTHERS = 9.

ME_CONFIRMATION_SEARCH_GR CALL FUNCTION 'ME_CONFIRMATION_SEARCH_GR' EXPORTING i_vbeln = wose_imkpf-ref_blnr * i_vbelp = rm07m-vbelp IMPORTING verur = verur bolnr = bolnr e_besttyp = xbesttyp TABLES t_wueb = g_t_wueb.

IAC_WOSE_LIKP_GET CALL FUNCTION 'IAC_WOSE_LIKP_GET' EXPORTING pi_vbeln = wose_imkpf-ref_blnr pi_werks = wose_imkpf-plant IMPORTING pe_lifnr = wose_imkpf-lifnr pe_name1 = wose_imkpf-lief_name pe_lfart = wose_imkpf-blart pe_incpo = g_pincr EXCEPTIONS x_no_data_found = 1 not_in_plant = 2 OTHERS = 3.

ME_READ_HEADER_GOODS_RECEIPT CALL FUNCTION 'ME_READ_HEADER_GOODS_RECEIPT' EXPORTING display = i_display ebeln = i_ref_blnr.

ME_READ_ITEM_GOODS_RECEIPT CALL FUNCTION 'ME_READ_ITEM_GOODS_RECEIPT' EXPORTING budat = wose_imkpf-up_date display = i_display ebeln = i_ref_blnr ebelp = i_ebelp i_vbeln = i_lif_blnr i_vbelp = i_vbelp * kzwes = ' ' lfbnr = ' ' lfgja = '0000' lfpos = '0000' shkzg = g_shkzg xebefu_flag = ' ' * XSTOR = ' ' * XFBCALL = * I_KURSTYP = 'M' * I_SMBLN = * I_SMBLP = * I_SJAHR = * I_BLDAT = * I_PABPOS = * I_PABNUM = * I_PKKEY = i_werks = wose_imkpf-plant * IMPORTING * E_FCODE = * E_MBLMG = * E_MBLBM = TABLES teksel = g_t_teksel xebefu = g_t_xebefu * xekbnk = g_t_xekbnk * XEBEFU_CR = * XEKBNK_CR = * CHANGING * C_CONF = EXCEPTIONS not_found_any = 1 not_found_one = 2 not_valid_any = 3 not_valid_one = 4 enqueue_failed = 5 OTHERS = 6.

MARA_ARRAY_READ CALL FUNCTION 'MARA_ARRAY_READ' EXPORTING kzrfb = 'X' * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * IMPORTING * RETC = TABLES ipre03 = l_t_pre03 mara_tab = l_t_srs_mara EXCEPTIONS enqueue_mode_changed = 1 OTHERS = 2.

MAKT_ARRAY_READ CALL FUNCTION 'MAKT_ARRAY_READ' EXPORTING kzrfb = 'X' * NEUFLAG = ' ' TABLES ipre09 = l_t_pre09 makt_tab = l_t_srs_makt
EXCEPTIONS enqueue_mode_changed = 1 OTHERS = 2 .

IAC_SHVE_VENDOR_SEARCH * CALL FUNCTION 'IAC_SHVE_VENDOR_SEARCH' * EXPORTING * pi_storewb_einstieg = g_storewb_einstieg * IMPORTING * pe_vendor = wose_items-liefnr.

WSRS_VENDOR_SITE_SEARCH CALL FUNCTION 'WSRS_VENDOR_SITE_SEARCH' EXPORTING pi_shvdst_crit = pe_shvdst_crit pi_shvdst_crit_sc = pe_shvdst_crit_sc pi_shvdst_crit_dark = pe_shvdst_crit_dark * PI_SH_OPT = pi_appl_calling = pi_appl_call IMPORTING pe_shvdst_res = pi_shvdst_res pe_return = pe_return.




BAPI_GOODSMVT_CANCEL CALL FUNCTION 'BAPI_GOODSMVT_CANCEL' EXPORTING materialdocument = g_t_gm_item_show-mat_doc matdocumentyear = g_t_gm_item_show-doc_year goodsmvt_pstng_date = wose_imkpf-up_date goodsmvt_pr_uname = sy-uname IMPORTING goodsmvt_headret = g_i_gm_headret TABLES goodsmvt_matdocitem = i_t_goodsmvt_matdocitem return = g_t_bapiret2.

BAPI_CREDITOR_GETDETAIL CALL FUNCTION 'BAPI_CREDITOR_GETDETAIL' EXPORTING creditorid = pi_vendor * COMPANYCODE = IMPORTING creditor_general_detail = i_creditor * CREDITOR_COMPANY_DETAIL = return = g_i_bapireturn.

CO_TA_T156_READ CALL FUNCTION 'CO_TA_T156_READ' EXPORTING t156_bwart = g_bwart IMPORTING t156wa = g_t156. "Note 620790

IAC_WOSE_MB_GRBEW_GET CALL FUNCTION 'IAC_WOSE_MB_GRBEW_GET' EXPORTING pi_bwart = g_bwart TABLES * pe_t_wose_wbgrbew = g_t_wose_wb_grbew "note 700422 pe_t_wose_wbgrbew = l_t_wose_wb_grbew "note 700422 pe_t_wose_twic0250 = g_t_wose_twic0250.

CO_TA_T156_READ CALL FUNCTION 'CO_TA_T156_READ' "v note 700422 EXPORTING " t156_bwart = i_t_imseg-bwart " IMPORTING " t156wa = l_t156 " EXCEPTIONS " NOT_FOUND = 1. "

MP2E_IMSEG_TO_2017_ITEM_CREATE CALL FUNCTION 'MP2E_IMSEG_TO_2017_ITEM_CREATE' EXPORTING imseg = i_t_imseg CHANGING bapi2017_gm_item_create = p_t_bapi2017_gm_item_create EXCEPTIONS error_converting_iso_code = 1 error_converting_keys = 2 error_converting_curr_amount = 3 error_converting_network = 4 OTHERS = 5.

LOCATION_SELECT_PLANT CALL FUNCTION 'LOCATION_SELECT_PLANT' EXPORTING i_werks = wose_items-w_umwrk * I_KUNNR = ' ' * I_LIFNR = ' ' * BYPASSING_BUFFER = ' ' IMPORTING o_t001w = l_t001w EXCEPTIONS no_valid_plant = 1 plant_not_found = 2 more_than_one_entry_found = 3 OTHERS = 4.

CO_TA_T156_READ CALL FUNCTION 'CO_TA_T156_READ' " EXPORTING " t156_bwart = g_bwart " IMPORTING " t156wa = g_t156. "

IAC_WOSE_MB_GRBEW_GET CALL FUNCTION 'IAC_WOSE_MB_GRBEW_GET' " EXPORTING " pi_bwart = g_bwart " TABLES " pe_t_wose_wbgrbew = g_t_wose_wb_grbew " pe_t_wose_twic0250 = g_t_wose_twic0250. "

WOSE_CHECK_MHD CALL FUNCTION 'WOSE_CHECK_MHD' EXPORTING matnr_imp = g_t_sl_wose_items-matnr werks_imp = g_plant bwart_imp = g_bwart IMPORTING pe_mhdkz = g_t_sl_wose_items-mhdkz.

PERIOD_AND_DATE_CONVERT_OUTPUT CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_OUTPUT' EXPORTING internal_date = p_datum_in internal_period = '1' language = sy-langu IMPORTING external_date = p_datum_out EXCEPTIONS date_invalid = 1 periode_invalid = 2 OTHERS = 3.

PERIOD_AND_DATE_CONVERT_INPUT CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_INPUT' EXPORTING dialog_date_is_in_the_past = ' ' external_date = p_datum_out internal_period = '1' IMPORTING internal_date = p_datum_in internal_period = l_int_period EXCEPTIONS date_invalid = 1 no_data = 2 period_invalid = 3 OTHERS = 4.

RS_CONV_EX_2_IN_NO_DD CALL FUNCTION 'RS_CONV_EX_2_IN_NO_DD' EXPORTING input_external = l_str * CONVERT = IMPORTING output_internal = p_num EXCEPTIONS input_not_numerical = 1 too_many_decimals = 2 more_than_one_sign = 3 ill_thousand_separator_dist = 4 too_many_digits = 5 sign_for_unsigned = 6 too_large = 7 too_small = 8 invalid_date_format = 9 invalid_date = 10 invalid_time_format = 11 invalid_time = 12 invalid_hex_digit = 13 unexpected_error = 14 input_too_long = 15 no_decimals = 16 invalid_float = 17 illegal_type = 18 OTHERS = 19.

IAC_WOSE_SHIPPING_UNIT_GET CALL FUNCTION 'IAC_WOSE_SHIPPING_UNIT_GET' EXPORTING pi_langu = sy-langu pi_vbeln = g_ref_blnr pi_venum = g_venum pi_exidv = g_exidv pi_plant = g_plant IMPORTING pe_lifnr = wose_imkpf-lifnr pe_name1 = wose_imkpf-lief_name pe_lfart = wose_imkpf-blart pe_tivel = g_tivel TABLES pe_t_wose_shipping_unit = g_t_sl_wose_shipp_unit pe_t_vbplp = g_t_vbplp pe_t_vtrlp = g_t_vtrlp EXCEPTIONS no_shipping_unit = 1 no_delivery = 2 not_in_plant = 3 OTHERS = 4.

SD_DELIVERY_ITEMS_RECEIVE CALL FUNCTION 'SD_DELIVERY_ITEMS_RECEIVE' EXPORTING vbeln = g_refnum werks = g_plant TABLES wueb = g_t_wueb EXCEPTIONS OTHERS.

ME_CONFIRMATION_SEARCH_GR CALL FUNCTION 'ME_CONFIRMATION_SEARCH_GR' EXPORTING i_vbeln = g_refnum * i_vbelp = rm07m-vbelp IMPORTING verur = verur bolnr = bolnr e_besttyp = xbesttyp TABLES t_wueb = g_t_wueb.

MARA_ARRAY_READ CALL FUNCTION 'MARA_ARRAY_READ' EXPORTING kzrfb = 'X' * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * IMPORTING * RETC = TABLES ipre03 = l_t_pre03 mara_tab = l_t_srs_mara EXCEPTIONS enqueue_mode_changed = 1 OTHERS = 2.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

IAC_WOSE_GOODMVT_SEARCH CALL FUNCTION 'IAC_WOSE_GOODMVT_SEARCH' EXPORTING pi_vendor = wose_items-liefnr pi_matnr = wose_items-matnr pi_ean11 = wose_items-ean11 pi_plant = wose_imkpf-plant pi_budat = wose_imkpf-ref_date * PI_USER = pi_bwart = i_bwart pi_show_pos_doc = space "note 541373 TABLES pe_t_goodsmvt = g_t_sl_bkpf pi_t_tr_ev_type_ra = g_tr_ev_type_ra "note 541373 EXCEPTIONS material_no_exist = 1 noexist = 2 OTHERS = 3.

IAC_WOSE_PURCHASING_SEARCH CALL FUNCTION 'IAC_WOSE_PURCHASING_SEARCH' EXPORTING pi_vendor = wose_items-liefnr pi_matnr = wose_items-matnr pi_ean11 = wose_items-ean11 pi_plant = wose_imkpf-plant pi_liefwrk = wose_items-w_umwrk pi_budat = wose_imkpf-ref_date * PI_USER = pi_exaufnr = wose_bkpf_searchlist-exaufnr pi_mcode = g_mcode pi_lfdat = wose_imkpf-w_lfdat TABLES pe_t_purch_ord = g_t_sl_bkpf EXCEPTIONS material_no_exist = 1 noexist = 2 OTHERS = 3.

WOSI_GET_ALLOWED_UNITS CALL FUNCTION 'WOSI_GET_ALLOWED_UNITS' EXPORTING matnr = g_t_sl_wose_items-matnr TABLES units = l_t_wosi_meinh EXCEPTIONS error_in_material_read = 1 error_in_conversion_exit = 2 OTHERS = 3.

IAC_WOSE_SHIPPING_UNIT_SEARCH CALL FUNCTION 'IAC_WOSE_SHIPPING_UNIT_SEARCH' EXPORTING pi_vendor = wose_items-liefnr pi_matnr = wose_items-matnr pi_ean11 = wose_items-ean11 pi_plant = wose_imkpf-plant pi_lfdat = wose_imkpf-ref_date TABLES pe_t_shipping_unit = g_t_sl_bkpf EXCEPTIONS noexist = 1 OTHERS = 2.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = g_t_sl_wose_items-matnr * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' IMPORTING wmara = i_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

MGW0_PACKAGING_COMPONENTS CALL FUNCTION 'MGW0_PACKAGING_COMPONENTS' EXPORTING mgw0_article = g_t_sl_wose_items-matnr mgw0_date_from = sy-datlo mgw0_date_to = sy-datlo * MGW0_PLANT = ' ' mgw0_unit = g_t_sl_wose_items-weme TABLES mgw0_components = i_mat_components EXCEPTIONS not_found = 1 OTHERS = 2.

BAPI_MATERIAL_GET_DETAIL CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL' EXPORTING material = i_mat_components-idnrk * PLANT = * VALUATIONAREA = * VALUATIONTYPE = IMPORTING material_general_data = i_material return = g_i_bapireturn.

RANGE_STRUCTURED_ARTICLE_GET CALL FUNCTION 'RANGE_STRUCTURED_ARTICLE_GET' EXPORTING st_matnr = i_st_matnr key = '200' * PRICE_KZ = 'X' xspco = 'X' TABLES bill_of_material = i_struct_material EXCEPTIONS no_head_found = 1 no_components_found = 2 no_range_found = 3 no_retail_mat = 4 no_listing_as_component = 5 no_twzla_found = 6 no_key = 7 do_nothing = 8 OTHERS = 9.

BAPI_MATERIAL_GET_DETAIL CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL' EXPORTING material = i_struct_material-matnr * PLANT = * VALUATIONAREA = * VALUATIONTYPE = IMPORTING material_general_data = i_material return = g_i_bapireturn.

CONVERSION_EXIT_MATN1_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING INPUT = P_I_STRUCT_ARTICLE-MATNR IMPORTING OUTPUT = L_STR_ARTNR.

CONVERSION_EXIT_EAN11_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_EAN11_OUTPUT' EXPORTING INPUT = P_I_STRUCT_ARTICLE-EAN_UPC IMPORTING OUTPUT = L_STR_ARTNR.

BAPI_GOODSMVT_GETDETAIL CALL FUNCTION 'BAPI_GOODSMVT_GETDETAIL' EXPORTING materialdocument = wose_imkpf-ref_blnr "g_t_item_show-mat_doc matdocumentyear = wose_imkpf-mjahr "g_t_gm_item_show-doc_year IMPORTING goodsmvt_header = g_t_gm_head_02 TABLES goodsmvt_items = g_t_gm_item_show return = g_t_bapiret2.

MARA_ARRAY_READ CALL FUNCTION 'MARA_ARRAY_READ' EXPORTING kzrfb = 'X' * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * IMPORTING * RETC = TABLES ipre03 = l_t_pre03 mara_tab = l_t_srs_mara EXCEPTIONS enqueue_mode_changed = 1 OTHERS = 2.

MAKT_ARRAY_READ CALL FUNCTION 'MAKT_ARRAY_READ' EXPORTING kzrfb = 'X' * NEUFLAG = ' ' TABLES ipre09 = l_t_pre09 makt_tab = l_t_srs_makt
EXCEPTIONS enqueue_mode_changed = 1 OTHERS = 2 .

MEAN_GEN_READ_WITH_MATNR_MEINH CALL FUNCTION 'MEAN_GEN_READ_WITH_MATNR_MEINH' EXPORTING * KZRFB = ' ' matnr = g_t_gm_item_show-material meinh = g_t_gm_item_show-entry_uom TABLES mean_tab = i_t_mean_tab * MEAN_ME_TAB = EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

ME_EINA_SINGL_READ_MATNR_LIFNR CALL FUNCTION 'ME_EINA_SINGL_READ_MATNR_LIFNR' EXPORTING pi_matnr = g_t_gm_item_show-material pi_lifnr = g_t_gm_item_show-vendor * RELIF_ONLY = * REFRESH_BUFFER = IMPORTING po_eina = l_t_srs_eina EXCEPTIONS no_records_found = 1 OTHERS = 2.

BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = c_bapi_wait.

CONVERSION_EXIT_CUNIT_INPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT' EXPORTING INPUT = g_t_sl_wose_items-weme LANGUAGE = sy-langu IMPORTING OUTPUT = g_t_sl_wose_items-weme EXCEPTIONS UNIT_NOT_FOUND = 1 OTHERS = 2.

SRS_LISTING_MATERIAL_GET CALL FUNCTION 'SRS_LISTING_MATERIAL_GET' EXPORTING pi_vend_mat = l_idnlf pi_vendor = pi_wose_imkpf-lifnr pi_plant = pi_wose_imkpf-plant pi_date = pi_wose_imkpf-up_date pi_listing_check = 'X' IMPORTING pe_return = l_return TABLES mat_listing = l_t_mat_listing.



Contribute (Add Comments)

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 MWOSEF01 or its description.