SAP Reports / Programs | Sales and Distribution | POS Interface(SD-POS) SAP SD

MWSUB006 SAP ABAP INCLUDE - Subroutine Modules







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


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 MWSUB006. "Basic submit
SUBMIT MWSUB006 AND RETURN. "Return to original report after report execution complete
SUBMIT MWSUB006 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Subroutine Modules


INCLUDES used within this REPORT MWSUB006

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:

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 .



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