RVEXKOMA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report checks whether data relevant to foreign trade is complete and valid in all material master records for a certain plant...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RVEXKOMA into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
VE81X - Incompleteness: FT Material Data
VE83X - Incompleteness: Preference Material
VI81X - Check Report: CAP Products
VE82X - Incompleteness: Export Control Data
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.
Selection Text: P_STAWN = Commodity code/Import code no.
Selection Text: P_PREFE = Execute check
Selection Text: P_PMAST = D Indiv.maintenance matl master
Selection Text: P_ONLY_M = CAP products
Selection Text: P_NEGBES = Exemption certificate
Selection Text: P_MTVER = Export/Import group
Selection Text: P_MTEXT = D Material text
Selection Text: P_MOW = Execute check
Selection Text: P_LVORM = Deletion indicator not set
Selection Text: P_ITARK = D Military goods
Selection Text: P_HERKR = Region of origin
Selection Text: P_HERKL = Ctry of origin
Selection Text: P_GPNUM = PRODCOM no.
Selection Text: P_GGAKT = active legal regulations
Selection Text: P_FTGEN = Execute check
Selection Text: P_EXPCTR = Execute check
Selection Text: P_ERSDA = Mat. created as of
Selection Text: P_ERROR = Material to be maintained
Selection Text: P_EINK = Purchasing view
Selection Text: P_CHARG = Material batches
Selection Text: P_CASNR = CAS no.
Selection Text: P_BEMEH = Special unit of measure
Selection Text: P_T005S = Countries: Regions
Selection Text: S_VTWEG = D Distribution channel
Selection Text: S_VKORG = D Sales organization
Selection Text: S_STAWN = D Comm./imp. code no.
Selection Text: S_PRENG = D Vendor decl. date
Selection Text: S_PRENE = D Vendor decl. code
Selection Text: S_PREFE = Preference authoriz.
Selection Text: S_PREDA = D Pref. determination date
Selection Text: S_MTVER = D Export/Import group
Selection Text: S_MOWNR = D CAP product list no.
Selection Text: S_MOGRU = D CAP prod. group
Selection Text: S_MATNR = D Material
Selection Text: P_VERTR = Sales view
Selection Text: P_WEIGHT = Weight/Volume/Units
Selection Text: P_WERKS = D Plant
Selection Text: S_ALNUM = D Export control class
INCLUDE RVEXKODI.
No SAP DATABASE tables are accessed within this REPORT code!
FT_MMM_READ_MATERIALS CALL FUNCTION 'FT_MMM_READ_MATERIALS' EXPORTING i_purchasing_view = p_eink i_sales_view = p_vertr i_mat_created_as_of = p_ersda ******************* START OF DELETION - Note 304586 ******************** * I_DELETION_INDICATOR = P_LVORM ******************* END OF DELETION - Note 304586 ******************* ******************* START OF INSERTION - Note 304586 ******************* I_DELETION_INDICATOR = LV_DELETION_INDICATOR ******************* END OF INSERTION - Note 304586 ******************* i_spras = sy-langu i_marc = 'X' * I_MAEX = ' ' * I_MAPE = ' ' * I_MAKT = ' ' i_marm = p_bemeh i_mch1 = p_charg i_mcha = p_charg TABLES it_material_number = s_matnr it_plants = range_werks it_sales_organisation = s_vkorg it_distr_chni = s_vtweg it_commodity_code = s_stawn it_country_of_origin = s_herkl it_region_of_origion = s_herkr it_export_import_group = s_mtver it_cas_number = s_casnr it_prodcom_number = s_gpnum it_control_code_steuc = s_steuc et_mara = int_tab_mara et_marc = int_tab_marc_ah * et_makt = et_marm = int_tab_marm et_mch1 = int_tab_mch1 et_mcha = int_tab_mcha EXCEPTIONS no_materials_found = 1 OTHERS = 2.
DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = h_domname text = 'X' TABLES dd07v_tab = h_dd07v.
MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = int_tab_marc_ah-matnr spras = sy-langu IMPORTING wmakt = loc_struc_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = int_tab_marc_ah-matnr spras = sy-langu IMPORTING wmakt = loc_struc_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = int_tab_marc_ah-matnr spras = sy-langu IMPORTING wmakt = loc_struc_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = int_tab_marc_ah-matnr spras = sy-langu IMPORTING wmakt = loc_struc_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
T006_SINGLE_READ CALL FUNCTION 'T006_SINGLE_READ' EXPORTING * KZRFB = ' ' t006_msehi = int_tab_mara-gewei * IMPORTING * WT006 = EXCEPTIONS not_found = 1 OTHERS = 2.
T006_SINGLE_READ CALL FUNCTION 'T006_SINGLE_READ' EXPORTING * KZRFB = ' ' t006_msehi = int_tab_mara-voleh * IMPORTING * WT006 = EXCEPTIONS not_found = 1 OTHERS = 2.
T006_SINGLE_READ CALL FUNCTION 'T006_SINGLE_READ' EXPORTING * KZRFB = ' ' t006_msehi = int_tab_mara-meins * IMPORTING * WT006 = EXCEPTIONS not_found = 1 OTHERS = 2.
HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = l_help_info TABLES dynpselect = l_dselc dynpvaluetab = l_dval.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = loc_dyname dynumb = loc_dynumb translate_to_upper = loc_translate_to_upper TABLES dynpfields = feld_tabelle.
RV_HELP CALL FUNCTION 'RV_HELP' EXPORTING field_in = loc_regio key = h_land key3 = loc_key3 number = loc_number IMPORTING field = loc_regio.
MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = int_tab_marc_ah-matnr spras = sy-langu IMPORTING wmakt = loc_struc_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.
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 RVEXKOMA or its description.
RVEXKOMA - Foreign trade: Consistency check - Material master RVEXKOMA - Foreign trade: Consistency check - Material master RVEXKOM4 - Foreign Trade: Consistency check material master: CAP RVEXKOM4 - Foreign Trade: Consistency check material master: CAP RVEXKOM3 - Foreign Trade: Consistency check material master: Preference handling RVEXKOM3 - Foreign Trade: Consistency check material master: Preference handling