RWS42F01 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 RWS42F01 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: Include RWS42F01
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
READ_MESSAGES_FOR_ARBGB CALL FUNCTION 'READ_MESSAGES_FOR_ARBGB' EXPORTING * pi_sprsl = al_arbgbSY-LANGU pi_arbgb = al_arbgb TABLES pt_t100 = it100 EXCEPTIONS no_messages_found = 1 OTHERS = 2.
TWPA_SINGLE_READ CALL FUNCTION 'TWPA_SINGLE_READ' EXPORTING kzrfb = ' ' IMPORTING wtwpa = s_twpa EXCEPTIONS not_found = 1 OTHERS = 2.
GET_STPO_IDNRK CALL FUNCTION 'GET_STPO_IDNRK' EXPORTING valid = ' ' TABLES wa = istpob EXCEPTIONS no_record_found = 4.
ME_CHECK_DOCUMENT_FOR_MATERIAL CALL FUNCTION 'ME_CHECK_DOCUMENT_FOR_MATERIAL' EXPORTING matnr = matnr werks = werks * existence_check = 'X' existence_check = ' ' * importing * contract_flag = me_contract * delplan_flag = me_delplan * info_flag = me_info * req_flag = me_request * po_flag = me_bestellung TABLES xekdoc = bme_einkauf.
LESEN_VARIANTEN_ZU_SA CALL FUNCTION 'LESEN_VARIANTEN_ZU_SA' EXPORTING sammelartikel = matnr lesen_marc = lesen_marc TABLES varianten = var_mara varianten_marc = var_marc EXCEPTIONS enqueue_mode_changed = 1 lock_on_material = 2 lock_system_error = 3 wrong_call = 4 not_found = 5 no_maw1_for_mara = 6 lock_on_marc = 7 lock_on_mbew = 8 OTHERS = 9.
READ_MARC_FOR_REFPLANT CALL FUNCTION 'READ_MARC_FOR_REFPLANT' EXPORTING pi_matnr = matnr pi_werks = werks TABLES marc_tab = marc_tab EXCEPTIONS no_marc_found = 1 OTHERS = 2.
MM_ARRANG_CONDITION_EXIST CALL FUNCTION 'MM_ARRANG_CONDITION_EXIST' EXPORTING bolif = lifnr ekorg = ilfm1-ekorg selection_date = datum " VALUE_CHECK = ' ' komg_value = matnr komg_field = 'MATNR' single_field_check = 'X' TABLES i_komg = i_komg error_messages = error_messages " arrangements = EXCEPTIONS bolif_not_exist = 01 ekorg_bolif_not_exist = 02 bolif_not_bonus = 03 arrang_not_exist = 04 arrang_no_conditions = 05 invalid_condition_table = 06 field_not_in_ddic = 07 ARRANGEMENT_NOT_FOUND = 08.
WBDT_ALLOC_TABLE_EXISTS CALL FUNCTION 'WBDT_ALLOC_TABLE_EXISTS' EXPORTING fbi_material = matnr fbi_plant = locnr fbi_no_items_with_state_done = 'X' IMPORTING fbo_exist = exist_flag TABLES fbt_aupo = it_aupo fbt_aufi = it_aufi fbt_auvz = it_auvz EXCEPTIONS fbe_material_initial = 1 OTHERS = 2.
WBDT_ALLOC_TABLE_EXISTS CALL FUNCTION 'WBDT_ALLOC_TABLE_EXISTS' EXPORTING fbi_material = matnr * fbi_plant = locnr fbi_vendor = lifnr fbi_ekorg = ekorg fbi_no_items_with_state_done = 'X' IMPORTING fbo_exist = exist_flag fbo_exist_vendor = exist_flag_vendor TABLES fbt_aupo = it_aupo fbt_aufi = it_aufi fbt_auvz = it_auvz fbt_aufi_vendor = it_aufi_vendor fbt_auvz_vendor = it_auvz_vendor EXCEPTIONS fbe_material_initial = 1 OTHERS = 2.
PROMOTION_DISCONTINUATION_ART CALL FUNCTION 'PROMOTION_DISCONTINUATION_ART' EXPORTING ffldat = datum fartnr = matnr * FMEBME = fstoretype = c_typ_filiale fstore = werks * DIALOG = TABLES dcwakh = it_wakhd EXCEPTIONS promotion_not_found = 1 storetype_wrong = 2 storetype_not_supported = 3 OTHERS = 4.
MAKT_GENERIC_READ_WITH_MATNR CALL FUNCTION 'MAKT_GENERIC_READ_WITH_MATNR' EXPORTING * KZRFB = ' ' matnr = it_t023x-matnr TABLES * KTEXT = makt_tab = it_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
WLK1_READ_MULTIPLE_FUNCTIONS CALL FUNCTION 'WLK1_READ_MULTIPLE_FUNCTIONS' EXPORTING * BUFFERS_READ = ' ' wlk1_single_select = is_wlk1 function = '1' * ATTYP = ' ' * SELECT_ASSORTMENT = ' ' kzrfb = 'X' * SORT_DIRECTION = ' ' * SELECT_WHOLE_ARTICLE = 'X' * IMPORTING * WLK1_OUTPUT = TABLES * WLK1_ARRAY_SELECT = wlk1_results = it_wlk1 * SAMMEL_ITEM = * PLANT_LIST = * MATNR_ME_ONLY = EXCEPTIONS no_rec_found = 1 OTHERS = 2.
WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING asort = it_wlk1-filia * SPRAS = only_single_select = 'X' IMPORTING wrs1_out = wrs1 * WRST_OUT = EXCEPTIONS no_record_found = 1 spras_not_found = 2 OTHERS = 3.
WLK1_READ CALL FUNCTION 'WLK1_READ' EXPORTING * DATUM = ' ' wlk1 = is_wlk1 * SPERR_MODUS = ' ' * ALL_ITEMS_PER_SHOP_DATUB = ' ' * ALL_ITEMS_PER_SHOP_DATAB = ' ' * WLK11 = ' ' * SELECT_SINGLE = ' ' * BUFFERS_READ = ' ' kzrfb = 'X' * importing * no_unit_but_item_listing = TABLES wlk1_input = it_wlk1 EXCEPTIONS no_rec_found = 1 rec_enqueued = 2 tec_enqueued = 3 OTHERS = 4.
WLK2_READ CALL FUNCTION 'WLK2_READ' EXPORTING * DATUM = ' ' wlk2 = is_wlk2 TABLES wlk2_input = it_wlk2 EXCEPTIONS no_rec_found = 1 key_not_complete = 2 werks_not_found = 3 OTHERS = 4.
LOCATION_SELECT_PLANT CALL FUNCTION 'LOCATION_SELECT_PLANT' EXPORTING i_werks = werks IMPORTING o_t001w = o_t001w EXCEPTIONS no_valid_plant = 1 plant_not_found = 2 OTHERS = 3.
MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = matnr werks = werks * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' IMPORTING wmarc = s_marc EXCEPTIONS lock_on_marc = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = matnr * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' IMPORTING wmara = s_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.
CALL FUNCTION 'ADV_MED_MAT_REFERENCE_CHECK' EXPORTING pi_matnr = p_matnr * IMPORTING * PE_EXISTS = TABLES pe_t_wlbm_ref = ht_wlbm_ref pe_t_wwmv = ht_wwmv EXCEPTIONS material_not_found = 1 OTHERS = 2.
WSOP_READ_WITH_MATNR CALL FUNCTION 'WSOP_READ_WITH_MATNR' EXPORTING p_matnr = p_matnr p_datum = p_datum p_existence = ' ' TABLES pt_wsop = it_wsop EXCEPTIONS assortment_exists = 1 no_assortment_exists = 2 OTHERS = 3.
ARTICLE_LAYMOD_VERSIONS_GET CALL FUNCTION 'ARTICLE_LAYMOD_VERSIONS_GET' EXPORTING matnr = p_matnr selection_date = p_datum result_mode = 1 " all laymod versions * IMPORTING * VERSION_EXISTS = TABLES t_layout_modules = it_wlmv .
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 RWS42F01 or its description.