SAPMSDM1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The Enjoy Demo Center contains numerous demonstration transactions and reports that have been created in ABAP using the new control techniques available in Release 4...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 SAPMSDM1 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
DWDM - Development Workbench Demos
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: Welcome to the Demo Center
Text Symbol: 013 = To display the corresponding code, drag the title
Text Symbol: 014 = and drop it in the editor window r i g h t h e r e.
Text Symbol: 020 = Demo Center
Text Symbol: 025 = Quit Center
Text Symbol: 012 = To start a demo, simply double-click on its title.
Text Symbol: 001 = Demonstration
Text Symbol: 002 = Report/Transaction
Text Symbol: 005 = The hierarchy was changed ;;
Text Symbol: 010 = Save? ;;
Text Symbol: 011 = Welcome to the Enjoy Demo Center
INCLUDE MSDM1O01.
INCLUDE MSDM1I01.
No SAP DATABASE tables are accessed within this REPORT code!
GUI_HAS_JAVABEANS call function 'GUI_HAS_JAVABEANS' importing return = beansactive.
GUI_HAS_ACTIVEX CALL FUNCTION 'GUI_HAS_ACTIVEX' IMPORTING return = activexactive.
DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING type = 'image' subtype = cndp_sap_tab_unknown size = pic_size lifetime = cndp_lifetime_transaction TABLES data = pic_data CHANGING url = url EXCEPTIONS OTHERS = 1.
TREEV_CREATE_COLUMN_TREE *CALL FUNCTION 'TREEV_CREATE_COLUMN_TREE' * EXPORTING * OWNER_REPID = 'SAPMSDM1' * DYNNR = '0200' ** CONTAINER = * LEFT = 0 * TOP = 0 * WIDTH = 300 * HEIGHT = 400 ** ALIGNMENT = ** METRIC = CNTL_METRIC_DYNPRO ** NO_FLUSH = ** LINK_REPID = ** SHELLSTYLE = * PARENTID = H_SPLITTER-SHELLID ** REG_EVENT_EXPAND_NO_CHILDREN = * REGISTER_EVENT_ITEM_DBL_CLICK = 'X' * REGISTER_EVENT_NODE_DBL_CLICK = 'X' ** REGISTER_EVENT_HEADER_CLICK = ** REGISTER_EVENT_NODE_CONTEXT_M = ** REGISTER_EVENT_ITEM_CONTEXT_M = ** REGISTER_EVENT_LINK_CLICK = ** REGISTER_EVENT_BUTTON_CLICK = ** REGISTER_EVENT_CHECKBOX_CHANGE = ** REGISTER_EVENT_SEL_CHANGE = * ITEM_SELECTION = 'X' * NODE_SELECTION_MODE = TREEV_NODE_SEL_MODE_SINGLE ** GROUP_HEADERS = ** HIDE_SELECTION = * HIERARCHY_HEADER = HIERARCHY_HEADER * ITEM_TABLE_STRUCTURE_NAME = 'DEMO_ITEM' * TABLES * COLUMNS = COLUMN_TAB * HEADERS = HEADER_TAB * NODE_TABLE = CTRL_NODE_TAB * ITEM_TABLE = CTRL_ITEM_TAB * CHANGING * HANDLE = H_TREE.
TREEV_EXPAND_ROOT_NODES *CALL FUNCTION 'TREEV_EXPAND_ROOT_NODES' * EXPORTING * HANDLE = H_TREE * LEVEL_COUNT = 0 * EXPAND_ALL_CHILDREN = 'X' ** NO_FLUSH = ** EXCEPTIONS ** FAILED = 1 ** ILLEGAL_LEVEL_COUNT = 2 ** CNTL_SYSTEM_ERROR = 3 ** OTHERS = 4 * .
TREEV_EVENT_CB_ITEM_DBL_CLK *CALL FUNCTION 'TREEV_EVENT_CB_ITEM_DBL_CLK' * EXPORTING * CALLBACK_FORM = 'ITEM_DBL_CLK' ** IMPORTING ** CALLBACK_ID = * CHANGING * HANDLE = H_TREE ** EXCEPTIONS ** CB_NOT_FOUND = 1 ** FAILED = 2 ** INSTANCE_NOT_FOUND = 3 ** NOT_ALLOWED_FOR_SIMPLE_TREE = 4 ** INV_CALLBACK_DEFINITION = 5 ** NO_ITEM_SELECTION = 6 ** OTHERS = 7 * .
TREEV_EVENT_CB_NODE_DBL_CLK *CALL FUNCTION 'TREEV_EVENT_CB_NODE_DBL_CLK' * EXPORTING * CALLBACK_FORM = 'NODE_DBL_CLK' ** IMPORTING ** CALLBACK_ID = * CHANGING * HANDLE = H_TREE ** EXCEPTIONS ** CB_NOT_FOUND = 1 ** FAILED = 2 ** INV_CALLBACK_DEFINITION = 3 ** OTHERS = 4 * .
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'SAPMSDM1' callback_user_command = 'USER_COMMAND' callback_text_display = 'TEXT_DISPLAY' check_duplicate_name = ' ' lower_case_sensitive = 'X' node_length = 40 text_length = tlength text_length1 = 40 modification_log = 'X' return_marked_subtree = 'X' suppress_node_output = 'X'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.