MWSUB006 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 MWSUB006 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: Subroutine Modules
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = tc_ven_ser_lvl-top_line entry_from = 1 " 1. Zeilen-Nummer
LOCATION_GET_PLANT_CURRENCY CALL FUNCTION 'LOCATION_GET_PLANT_CURRENCY' EXPORTING i_werks = p_werks IMPORTING o_waers = p_waers EXCEPTIONS invalid_plant = 1 valuation_area_not_found = 2 bukrs_not_found = 3 no_currency_available = 4 error_message = 98 " Ausnahme bei Meldungen OTHERS = 99.
WLB3_CALC_CUR_VEN_SERV_LEVEL CALL FUNCTION 'WLB3_CALC_CUR_VEN_SERV_LEVEL' EXPORTING * I_VENDSLFROMDB = i_return_po = c_yes i_return_art_data = c_yes i_s_t001w = l_s_t001w TABLES ch_t_po = l_t_po ch_t_cur_lb_couple = l_t_lb_couple ch_t_articles = l_t_articles EXCEPTIONS bad_params = 1 no_articles = 2 error = 3 OTHERS = 99 .
T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' t001w_werks = p_werks IMPORTING wt001w = p_s_t001w EXCEPTIONS not_found = 1 OTHERS = 99 .
LFM1_SINGLE_READ CALL FUNCTION 'LFM1_SINGLE_READ' EXPORTING i_lifnr = p_lifnr i_ekorg = p_s_t001w-ekorg * I_RESET_BUFFER = * I_BYPASSING_BUFFER = IMPORTING o_lfm1 = p_s_lfm1 * O_EKORZ = EXCEPTIONS not_found = 1 OTHERS = 99 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.