SAP Reports / Programs

SAPMSMES SAP ABAP dialog Program - Module Pool for Messages/Message IDs







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


Text pool values


Title: Module Pool for Messages/Message IDs
Text Symbol: 001 = Change
Text Symbol: 002 = Create


INCLUDES used within this REPORT SAPMSMES

INCLUDE MSMESI01.


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:

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = TCODE EXCEPTIONS OK = 0 NOT_OK = 4 OTHERS = 4.

WB_MSG_SET_INITIAL_STATE CALL FUNCTION 'WB_MSG_SET_INITIAL_STATE' IMPORTING P_STATE = STATE.

APPLICATION_HIERARCHY_CALL * call function 'APPLICATION_HIERARCHY_CALL' * exporting * obj_type = obj_type * TABLES * OBJ_TABLE = * exceptions * others = 1.

RS_COMPONENT_VIEW_DISPLAY CALL FUNCTION 'RS_COMPONENT_VIEW_DISPLAY' EXPORTING OBJECT_TYPE = ADIR_OBJECT LANGUAGE = SY-LANGU EXCEPTIONS OTHERS = 1.

RS_TASK_OVERVIEW CALL FUNCTION 'RS_TASK_OVERVIEW'.

REPOSITORY_INFO_SYSTEM CALL FUNCTION 'REPOSITORY_INFO_SYSTEM' EXPORTING OBJECT_TYPE = 'N' * ACTION = 'S' OBJECT_NAME = RSDAG-ARBGB * ENCLOSING_OBJECT = * SUPPRESS_SELECTION = * VARIANT = * SHOW_AS_POPUP = IMPORTING OBJECT_NAME_SELECTED = RSDAG-ARBGB * ENCLOSING_OBJECT_SELECTED = EXCEPTIONS CANCEL = 1 WRONG_TYPE = 2 OTHERS = 4.

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING OPERATION = 'CROSSREF' OBJECT_NAME = L_OBJECT_NAME OBJECT_TYPE = L_OBJECT_TYPE * WB_MANAGER = WB_PGEDITOR_INITIAL_SCREEN->MNGR * IMPORTING * NEW_NAME = RS38M-PROGRAMM EXCEPTIONS INVALID_OBJECT_TYPE = 1 NOT_EXECUTED = 2 OTHERS = 3.

RS_EU_CROSS * CALL FUNCTION 'RS_EU_CROSS' * EXPORTING * I_FINDSTRING = RSDAG-ARBGB * I_FIND_OBJ_CLS = 'MSAG' * EXCEPTIONS * NOT_EXECUTED = 1 * NOT_FOUND = 2 * ILLEGAL_OBJECT = 3 * NO_CROSS_FOR_THIS_OBJECT = 4 * OTHERS = 5.

F4_MESSAGE_ID CALL FUNCTION 'F4_MESSAGE_ID' EXPORTING OBJECT = MESSAGE_ID SUPPRESS_SELECTION = SUPPRESS DISPLAY_ONLY = MODE IMPORTING RESULT = RSDAG-ARBGB.

RS_RENAME_MESSAGE_ID CALL FUNCTION 'RS_RENAME_MESSAGE_ID' EXPORTING NACHRICHTENKLASSE_ALT = RSDAG-ARBGB NACHRICHTENKLASSE_NEU = SPACE IMPORTING O_NACHRICHTENKLASSE = RSDAG-ARBGB EXCEPTIONS NOT_EXECUTED = 01 NOT_FOUND = 02 NO_PERMISSION = 03.

RS_DELETE_MESSAGE_ID CALL FUNCTION 'RS_DELETE_MESSAGE_ID' EXPORTING NACHRICHTENKLASSE = RSDAG-ARBGB EXCEPTIONS NOT_EXECUTED = 01 NOT_FOUND = 02 NO_PERMISSION = 03.

RS_COPY_MESSAGE_ID CALL FUNCTION 'RS_COPY_MESSAGE_ID' EXPORTING NACHRICHTENKLASSE_ALT = RSDAG-ARBGB * CHANGING * NACHRICHTENKLASSE_NEU = SPACE IMPORTING NACHRICHTENKLASSE_NEU_O = RSDAG-ARBGB EXCEPTIONS NOT_EXECUTED = 01 NOT_FOUND = 02 NO_PERMISSION = 03.

RS_CHARACTER_CHECK CALL FUNCTION 'RS_CHARACTER_CHECK' EXPORTING OBJECTNAME = RSDAG-ARBGB * ALLOWED_SPECIAL_CHARACTERS = EXCEPTIONS INVALID_LENGTH = 1 DELIMITER_ERROR = 2 INVALID_CHARACTER = 3 OBJECTNAME_MISSING = 4 OTHERS = 5.

RS_EDTR_MSID_ADD CALL FUNCTION 'RS_EDTR_MSID_ADD' EXPORTING MESSAGE_ID = RSDAG-ARBGB IMPORTING MESSAGE_ID = RSDAG-ARBGB EXCEPTIONS NOT_EXECUTED = 01.

RS_EDTR_MSID_ADD CALL FUNCTION 'RS_EDTR_MSID_ADD' EXPORTING MESSAGE_ID = RSDAG-ARBGB IMPORTING MESSAGE_ID = RSDAG-ARBGB EXCEPTIONS NOT_EXECUTED = 01.

RS_EDTR_SHOW_MESSAGE CALL FUNCTION 'RS_EDTR_SHOW_MESSAGE' EXPORTING MESSAGE_ID = RSDAG-ARBGB NAME = 'XXXXXXXX'.

RS_EDTR_MSID_SHOW CALL FUNCTION 'RS_EDTR_MSID_SHOW' EXPORTING MESSAGE_ID = RSDAG-ARBGB EXCEPTIONS NOT_EXISTING = 01.

RS_EDTR_EDIT_MESSAGE CALL FUNCTION 'RS_EDTR_EDIT_MESSAGE' EXPORTING MESSAGE_ID = RSDAG-ARBGB NAME = 'XXXXXXXX'.

RS_EDTR_MSID_EDIT





CALL FUNCTION 'RS_EDTR_MSID_EDIT' EXPORTING MESSAGE_ID = RSDAG-ARBGB EXCEPTIONS NOT_EXISTING = 01.

RS_HELP_HANDLING CALL FUNCTION 'RS_HELP_HANDLING' EXPORTING DYNPFIELD = 'RSDAG-ARBGB' DYNPNAME = SY-DYNNR OBJECT = 'MI' SUPPRESS_SELECTION_SCREEN = 'X' PROGNAME = 'SAPMSMES'.



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