SAP Reports / Programs | Sales and Distribution | Foreign Trade | Basic Functions(SD-FT-PRO) SAP SD

RVEXMMSW SAP ABAP Report - Program RVEXMMSW







RVEXMMSW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Mass change of commodity codes / import code numbers in the material master...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 RVEXMMSW into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VXSW - Mass change material commodity code


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


Text pool values


Selection Text: P_LAND1 = @8M@ Country key
Selection Text: P_LIST = @3W@Issue list
Selection Text: P_WERKS = @A8@ All plants
Selection Text: S_WERKS = @A8@ Plant
Title: Program RVEXMMSW
Text Symbol: F01 = Ctry
Text Symbol: F02 = Additional specif.


INCLUDES used within this REPORT RVEXMMSW

INCLUDE MMSW_TOP . "


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:

FT_MMM_USER_INTERFACE_STAWN CALL FUNCTION 'FT_MMM_USER_INTERFACE_STAWN' EXPORTING I_LAND1 = P_LAND1 I_ALL_WERKS = P_WERKS I_DISPLAY_LIST = P_LIST TABLES IT_T001W = G_ITAB_T001W ET_CONFRONT_STAWN = G_CONFRONT_STAWN ET_ACTIVE_PLANTS = G_ACTIVE_PLANTS.

FT_MMM_GENERATE_MM_ENTRIES * CALL FUNCTION 'FT_MMM_GENERATE_MM_ENTRIES' * EXPORTING * I_LAND1 = P_LAND1 * TABLES * IT_PLANTS = G_ACTIVE_PLANTS * IT_CONFRONT_STAWN = G_CONFRONT_STAWN * ET_MARA = G_MARA * ET_MARC = G_MARC * EXCEPTIONS * NO_INPUT_DATA = 1 * NO_DATA_IN_T001W = 2 * NO_DATA_IN_MARA = 3 * NO_DATA_IN_MARC = 4 * NUMBER_WITHOUT_LAND = 5 * NO_WERKS_IN_THIS_COUNTRIES = 6 * OTHERS = 7.

MARA_READ CALL FUNCTION 'MARA_READ' EXPORTING I_MATNR = G_MARA-MATNR I_SPRACHE = SY-LANGU IMPORTING * e_makt = makt E_MARA = MARA EXCEPTIONS NO_ENTRY = 1 OTHERS = 2.

MARC_READ CALL FUNCTION 'MARC_READ' EXPORTING I_MATNR = G_MARC-MATNR I_WERKS = G_MARC-WERKS IMPORTING E_MARC = MARC EXCEPTIONS NO_ENTRY = 1 OTHERS = 2.

FT_MMM_DISPLAY_MARC CALL FUNCTION 'FT_MMM_DISPLAY_MARC' EXPORTING * I_VARI = I_CHECKBOX = 'X' I_CALLBACK_PROGRAM = 'SAPLVFMM' I_CALLBACK_PF_STATUS = 'SET_ALV_PF_STATUS' I_CALLBACK_USER_COMMAND = 'SPECIAL_USER_COMMAND' I_SHOW_MAT_KTEXT = 'X' TABLES IT_MARA = G_MARA IT_MARC = G_MARC IT_SELECTION_FIELDS_MARA = G_FIELDS_MARA IT_SELECTION_FIELDS_MARC = G_FIELDS_MARC ET_MARA = GR_MARA ET_MARC = GR_MARC.

MATERIAL_MAINTAIN_DARK * CALL FUNCTION 'MATERIAL_MAINTAIN_DARK' * EXPORTING * FLAG_MUSS_PRUEFEN = 'X' * SPERRMODUS = 'E' * MAX_ERRORS = 0 * P_KZ_NO_WARN = 'N' * KZ_PRF = 'W' * KZ_VERW = 'X' * KZ_AEND = 'X' * KZ_DISPO = 'X' * KZ_TEST = ' ' * NO_DATABASE_UPDATE = ' ' * CALL_MODE = ' ' * CALL_MODE2 = ' ' * USER = SY-UNAME * SUPPRESS_ARRAY_READ = ' ' * IMPORTING * MATNR_LAST = G_LAST_WRONG_MATNR * NUMBER_ERRORS_TRANSACTION = G_NUMBER_ERRORS * TABLES * AMARA_UEB = G_MARA * AMARC_UEB = G_MARC * EXCEPTIONS * KSTATUS_EMPTY = 1 * TKSTATUS_EMPTY = 2 * T130M_ERROR = 3 * INTERNAL_ERROR = 4 * TOO_MANY_ERRORS = 5 * UPDATE_ERROR = 6 * OTHERS = 7.



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