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

GRMG_MAINTENANCE_C01 SAP ABAP INCLUDE - GRMGMAINTENANCEC01







GRMG_MAINTENANCE_C01 is a standard ABAP INCLUDE 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 GRMG_MAINTENANCE_C01 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 GRMG_MAINTENANCE_C01. "Basic submit
SUBMIT GRMG_MAINTENANCE_C01 AND RETURN. "Return to original report after report execution complete
SUBMIT GRMG_MAINTENANCE_C01 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 GRMG_MAINTENANCE_C01

No INCLUDES are used within this REPORT code!


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:

GRMG_UPLOAD_CUSTOMIZING CALL FUNCTION 'GRMG_UPLOAD_CUSTOMIZING' EXPORTING operation_mode = grmg_file * DESTINATION = * FILENAME = IMPORTING fm_out_error = upload_success TABLES fm_chg_error_itab = upload_errors * AGENT_UPLOAD_TAB = grmg_entry = grmg_entry grmg_t_entry = grmg_t_entry grmg_comp_entries = grmg_comp_entries grmg_comp_t_entries = grmg_compt_entries grmg_props_entries = grmg_props_entries EXCEPTIONS OTHERS = 99. "#EC FB_RC

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Upload new scenarios'(381) * DIAGNOSE_OBJECT = ' ' text_question = 'Polling CCMS agents for new scenarios can take a while. Continue?'(382)

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

GRMG_START_SCENARIOS CALL FUNCTION 'GRMG_START_SCENARIOS' IMPORTING fm_out_error = g_error TABLES fm_chg_error_itab = g_error_itab.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Stop scenario execution'(470) * DIAGNOSE_OBJECT = ' ' text_question = 'Stop running all GRMG scenarios?'(471) * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = ans * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Re-Activate scenario execution'(472) * DIAGNOSE_OBJECT = ' ' text_question = 'Resume running all stopped GRMG scenarios?'(473) * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = ans * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

GRMG_BATCH_SCHEDULING CALL FUNCTION 'GRMG_BATCH_SCHEDULING' EXPORTING * JOB_FREQ_IN_MIN = JOB_FREQ_IN_MIN * NR_PARALLEL_TASKS = 0 * SERVER_GROUP_NAME = SERVER_GROUP_NAME move_grmg_to_batch = 'X' * ADJUST_PARALLEL_TASKS = ADJUST_PARALLEL_TASKS .

GRMG_BATCH_SCHEDULING CALL FUNCTION 'GRMG_BATCH_SCHEDULING' EXPORTING * JOB_FREQ_IN_MIN = JOB_FREQ_IN_MIN * NR_PARALLEL_TASKS = 0 * SERVER_GROUP_NAME = SERVER_GROUP_NAME move_grmg_to_batch = space * ADJUST_PARALLEL_TASKS = ADJUST_PARALLEL_TASKS .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = text-224 text_object = 'GRMG_HELP_TEXT' EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

POPUP_TO_CONFIRM





* CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * titlebar = 'Edit GRMG scenarios'(763) ** DIAGNOSE_OBJECT = ' ' * text_question = 'Edit non-key fields of the selected GRMG scenarios?'(764) ** TEXT_BUTTON_1 = 'Ja'(001) ** ICON_BUTTON_1 = ' ' ** TEXT_BUTTON_2 = 'Nein'(002) ** ICON_BUTTON_2 = ' ' ** DEFAULT_BUTTON = '1' * display_cancel_button = ' ' ** USERDEFINED_F1_HELP = ' ' ** START_COLUMN = 25 ** START_ROW = 6 ** POPUP_TYPE = * IMPORTING * answer = ans ** TABLES ** PARAMETER = * EXCEPTIONS * text_not_found = 1 * OTHERS = 2 * .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Create a GRMG scenario'(995) * DIAGNOSE_OBJECT = ' ' text_question = 'Create a technical ping to test a URL?'(996) * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' display_cancel_button = ' ' userdefined_f1_help = 'GRMG_CREATE_HEAD_HELP' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = ans * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

WDY_EXECUTE_IN_BROWSER CALL FUNCTION 'WDY_EXECUTE_IN_BROWSER' EXPORTING protocol = l_protocol application = 'GRMG_AWS_SETUP_TABLE' * PARAMETERS = EXCEPTIONS invalid_application = 1 browser_not_started = 2 action_cancelled = 3 OTHERS = 4.

WDY_EXECUTE_IN_BROWSER CALL FUNCTION 'WDY_EXECUTE_IN_BROWSER' EXPORTING protocol = l_protocol application = 'GRMG_JWS' * PARAMETERS = EXCEPTIONS invalid_application = 1 browser_not_started = 2 action_cancelled = 3 OTHERS = 4.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'Error in Flush'(500).

LVC_ITEM_DETAIL CALL FUNCTION 'LVC_ITEM_DETAIL' EXPORTING i_title = 'Scenario Details' * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 it_fieldcatalog = lt_fcat is_layout = ls_layout * IMPORTING * E_EXIT_CAUSED_BY_USER = TABLES t_outtab = g_detail_outtab . "#EC NOTEXT

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Confirm deletion'(cdl) text_question = 'Delete selected entries'(cd1) text_button_1 = 'Yes'(015) text_button_2 = 'No'(016) default_button = '1' popup_type = 'icon_message_question' IMPORTING answer = lf_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.



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