SAP Reports / Programs | Basis Components | Use Subcomponents | Monitoring(BC-CCM-MON) SAP BC

SP_SAPHTML_SCRIPT_DEMO SAP ABAP Report - SPSAPHTMLSCRIPTDEMO







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


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


INCLUDES used within this REPORT SP_SAPHTML_SCRIPT_DEMO

INCLUDE RSALEXTI.
INCLUDE RSALINTI.


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:

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'.



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