SP_SAPHTML_SCRIPT_DEMO is a standard Executable ABAP Report 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 SP_SAPHTML_SCRIPT_DEMO 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.
INCLUDE RSALEXTI.
INCLUDE RSALINTI.
No SAP DATABASE tables are accessed within this REPORT code!
SALI_MC_CREATE_ATTACH CALL FUNCTION 'SALI_MC_CREATE_ATTACH' EXPORTING mcname = 'Test_for_GRMG' * NUMRANGE = AL_NR_AUTO owner = 'Steph' * SEGMENT = mt_class = 'GRMG_TEST' * SYSID = SY-SYSID * CLIENT = AL_MC_ALL_CLIENTS * SYSTEMWIDE_CONTEXT = ' ' * VISIBLE_ON_USERLEV = AL_VISIBLE_OPERATOR * DESC_TEXT_MSGID = 'RT' * DESC_TEXT_MSGNO = 013 * TOOL_COLLECTING = * TOOL_ONALERT = * TOOL_ANALYZE = IMPORTING root_tid = context_tid * DETAILED_ERROR_TEXT = EXCEPTIONS unable_to_expand_name = 1 segment_not_found = 2 communication_failure = 3 other_problem = 4 wrong_segment = 5 no_more_space = 6 invalid_parameter = 7 OTHERS = 8 .
SALI_MO_CREATE_ATTACH CALL FUNCTION 'SALI_MO_CREATE_ATTACH' EXPORTING parent_tid = context_tid mo_name = 'Test_for_GRMG_MO' * NUMRANGE = AL_NR_AUTO * UNIQUENUM = * VISIBLE_ON_USERLEV = AL_VISIBLE_OPERATOR * DESC_TEXT_MSGID = 'RT' * DESC_TEXT_MSGNO = 13 mt_class = 'GRMG_TEST_MO' * TOOL_COLLECTING = * TOOL_ONALERT = * TOOL_ANALYZE = IMPORTING new_tid = mo_tid * DETAILED_ERROR_TEXT = EXCEPTIONS invalid_tid = 1 unable_to_expand_name = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 no_more_space = 8 OTHERS = 9 .
SALI_MSC_CREATE_ATTACH CALL FUNCTION 'SALI_MSC_CREATE_ATTACH' EXPORTING parent_tid = mo_tid mte_name = 'Messages' mte_class = 'GRMG_TEST_MSC' * MTE_NUMRANGE = AL_NR_AUTO * MTE_UNIQUENUM = * MTE_SEVERITY = 50 * MTE_VISIBLE_ON_USERLEV = AL_VISIBLE_OPERATOR * MTE_KEEPALTYPE = AL_KEEP_NEWEST * MTE_KEEPALMAX = 10 * MTE_SECONDS_TIL_COLLECTINGTOOL = 0 * MTE_SECONDS_UNTIL_SET_INACTIVE = 0 * MTE_SECONDS_WARMUPTIME = 0 mte_f1_help_text_msgid = 'RT' mte_f1_help_text_msgno = 13 msc_customizing_group = 'GRMG_TEST_MSC' * MSC_SUBTYPE = AL_STD_MSC_CACHE * MSC_RAISE_VALUE = AL_VAL_GREEN * MSC_RAISE_SEVERITY = 255 * MSC_ACTUAL_MSG_MODE = AL_MSC_VAL_MODE_LAST * MSC_ACTUAL_MSG_TIMEFRAME_MINUT = 0 * MSC_MAX_ALERTS_PER_MSGID = 0 * MSC_KEEP_LINES_TYPE = AL_TD_KL_NEWEST * MSC_KEEP_LINES_MAX = 100 * TOOL_COLLECTING = * TOOL_ONALERT = * TOOL_ANALYZE = IMPORTING new_tid = msc_tid * DETAILED_ERROR_TEXT = EXCEPTIONS invalid_tid = 1 unable_to_expand_name = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 no_more_space = 8 OTHERS = 9 .
SALI_MSC_REPORT_T100_MESSAGE CALL FUNCTION 'SALI_MSC_REPORT_T100_MESSAGE' EXPORTING * VALUE = AL_VAL_GREEN * SEVERITY = 0 * MANDT = SY-MANDT * UNAME = SY-UNAME * EXTERNAL_MSGLINE_ID = ' ' msgid = 'RT' msgno = 100 msgarg1 = 'Hello' * ARGTYPE1 = 'C' msgarg2 = 'Good-Looking' * ARGTYPE2 = 'C' * MSGARG3 = * ARGTYPE3 = 'C' * MSGARG4 = * ARGTYPE4 = 'C' * DEFAULT_MSGTEXT = * REPORTEDBY = * IMPORTING * DETAILED_ERROR_TEXT = * NEW_ALERT_AID = CHANGING tid = msc_tid EXCEPTIONS invalid_tid = 1 wrong_typeclass = 2 invalid_parameters = 3 communication_failure = 4 other_problem = 5 wrong_segment = 6 internal_failure_sals = 7 OTHERS = 8 .
CLPB_IMPORT CALL FUNCTION 'CLPB_IMPORT' * IMPORTING * EMPTY = TABLES data_tab = clipboard_table EXCEPTIONS clpb_error = 1 OTHERS = 2 . "#EC FB_OLDED
CLPB_IMPORT CALL FUNCTION 'CLPB_IMPORT' * IMPORTING * EMPTY = TABLES data_tab = clipboard_table EXCEPTIONS clpb_error = 1 OTHERS = 2 .
CLPB_IMPORT * CALL FUNCTION 'CLPB_IMPORT' ** IMPORTING ** EMPTY = * TABLES * data_tab = clipboard_table * EXCEPTIONS * clpb_error = 1 * OTHERS = 2 * .
POPUP_WITH_WARNING CALL FUNCTION 'POPUP_WITH_WARNING' EXPORTING textline1 = 'abbruch'.
CLPB_IMPORT CALL FUNCTION 'CLPB_IMPORT' * IMPORTING * EMPTY = TABLES data_tab = clipboard_table EXCEPTIONS clpb_error = 1 OTHERS = 2 .
POPUP_WITH_WARNING * CALL FUNCTION 'POPUP_WITH_WARNING' * EXPORTING * textline1 = 'abbruch'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.