RWS41F02 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 RWS41F02 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: Functions for Displaying Details and for Further Branching
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PROMOTION_DISCONTINUATION_ART CALL FUNCTION 'PROMOTION_DISCONTINUATION_ART' EXPORTING ffldat = line-bsper fartnr = line-matnr * FMEBME = fstoretype = c_typ_filiale fstore = line-werks dialog = 'X' * tables * DCWAKH = EXCEPTIONS promotion_not_found = 1 storetype_wrong = 2 storetype_not_supported = 3 OTHERS = 4.
GET_STPO_IDNRK CALL FUNCTION 'GET_STPO_IDNRK' EXPORTING valid = ' ' TABLES wa = tab_stpob EXCEPTIONS no_record_found = 4.
GET_STPO_IDNRK call function 'GET_STPO_IDNRK' exporting valid = ' ' tables wa = tab_stpob exceptions no_record_found = 4.
CHECK_MULTIPLE_ASSIGNMENT CALL FUNCTION 'CHECK_MULTIPLE_ASSIGNMENT' IMPORTING multiple_assignment = multi_assign_flag.
ASSORTMENT_GET_ASORT_OF_USER CALL FUNCTION 'ASSORTMENT_GET_ASORT_OF_USER' EXPORTING VALID_PER_DATE = line-bsper " note 640416 date_to = MAX_DATUM " note 640416 user = line-locnr user_type = 'A' TABLES assortment_data = tab_wrs1 EXCEPTIONS no_asort_found = 1 OTHERS = 2.
MATERIAL_TO_VALUE_MATERIAL CALL FUNCTION 'MATERIAL_TO_VALUE_MATERIAL' EXPORTING i_werks = line-werks i_matnr = line-matnr * I_DATAB = * I_DATBI = TABLES marab = imarab EXCEPTIONS eingabe_nicht_erlaubt = 1 error_found = 2 OTHERS = 3.
WLK2_READ ** CALL FUNCTION 'WLK2_READ' ** EXPORTING ** kzrfb = 'X' ** wlk2 = is_wlk2 " DATUM = ' ' ** TABLES ** wlk2_input = it_wlk2 ** EXCEPTIONS ** no_rec_found = 01 ** key_not_complete = 02 ** werks_not_found = 03.
LESEN_VARIANTEN_ZU_SA CALL FUNCTION 'LESEN_VARIANTEN_ZU_SA' EXPORTING sammelartikel = matnr * KZRFB = ' ' * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * CHECK_MAT_MPOI = ' ' * LESEN_MAW1 = ' ' lesen_marc = lesen_marc * LESEN_MBEW = ' ' TABLES varianten = var_mara * VARIANTEN_MAW1 = varianten_marc = var_marc * VARIANTEN_MBEW = 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 = test_marc EXCEPTIONS no_marc_found = 1 OTHERS = 2.
ADV_MED_MAT_REFERENCE_CHECK CALL FUNCTION 'ADV_MED_MAT_REFERENCE_CHECK' EXPORTING pi_matnr = matnr * IMPORTING * PE_EXISTS = TABLES pe_t_wlbm_ref = ht_wlbm_ref pe_t_wwmv = ht_wwmv EXCEPTIONS material_not_found = 1 OTHERS = 2.
MG_BEZUG_MARA_CHECK CALL FUNCTION 'MG_BEZUG_MARA_CHECK' EXPORTING matnr = p_matnr dialog = 'X' * IMPORTING * use = material_in_use EXCEPTIONS OTHERS = 0.
MG_BEZUG_MARC_CHECK CALL FUNCTION 'MG_BEZUG_MARC_CHECK' EXPORTING matnr = p_matnr werks = p_werks dialog = 'X' * IMPORTING * use = material_in_use EXCEPTIONS OTHERS = 0.
CP_MA_MATNR_USED_IN_PLAN_CHECK CALL FUNCTION 'CP_MA_MATNR_USED_IN_PLAN_CHECK' EXPORTING MATNR_IMP = P_MATNR TABLES RCPMA_EXP = IT_RCPMA .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.