SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Process Monitoring Infrastructure(BC-SRV-PMI) SAP BC

SPI_CM_MAINTAIN_F01 SAP ABAP INCLUDE - Include SPI_CM_MAINTAIN_F01







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


Text pool values


Title: Include SPI_CM_MAINTAIN_F01


INCLUDES used within this REPORT SPI_CM_MAINTAIN_F01

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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Prozessdefinition löschen'(t03) text_question = 'Soll die Prozessdefinition gelöscht werden?'(t04) IMPORTING answer = l_answer.

TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXCEPTIONS invalid_username = 1 invalid_category = 2 invalid_client = 3 internal_error = 4 OTHERS = 5.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Prozessvariante löschen'(t05) text_question = 'Soll die Prozessvariante gelöscht werden?'(t06) IMPORTING answer = l_answer.

TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXCEPTIONS invalid_username = 1 invalid_category = 2 invalid_client = 3 internal_error = 4 OTHERS = 5.

TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXCEPTIONS invalid_username = 1 invalid_category = 2 invalid_client = 3 internal_error = 4 OTHERS = 5.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = -top_line entry_from = 1 entry_to = -lines last_page_full = 'X' loops = ok_code = p_ok overlapping = 'X' IMPORTING entry_new = l_tc_new_top_line EXCEPTIONS * NO_ENTRY_OR_PAGE_ACT = 01 * NO_ENTRY_TO = 02 * NO_OK_CODE_OR_PAGE_GO = 03 OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Pflege Prozessdefinition beenden'(d01) * DIAGNOSE_OBJECT = ' ' text_question = 'Prozessdefinition wurde geändert. Möchten Sie sichern?'(d02)

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-d05 IMPORTING answer = l_answer.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PROCTYPE' value_org = 'S' TABLES value_tab = lt_pd EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PROCVAR' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'GS_PVD-PROCVAR' value_org = 'S' TABLES value_tab = lt_pvd EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'AGENTID' value_org = 'S' TABLES value_tab = lt_agd EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'COMPNAME' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'GS_PDTA-COMPNAME' value_org = 'S' TABLES value_tab = lt_compd EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = ls_dynpread-stepl EXCEPTIONS stepl_not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_repid dynumb = l_dynnr determine_loop_index = 'X' TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ATTID' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'GS_PDTA-NAME' value_org = 'S' TABLES value_tab = lt_attd EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FLDNAME' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'GS_AGFLD-FLDNAME' value_org = 'S' TABLES value_tab = lt_agfld EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

COMPLEX_SELECTIONS_DIALOG CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG' EXPORTING title = 'Bedingungen für Tracking definieren'(t01) * TEXT = * SIGNED = 'X' lower_case = spi_on * NO_INTERVAL_CHECK = ' ' just_display = l_displ * JUST_INCL = ' ' excluded_options = ls_opt description = ls_descr * HELP_FIELD = * SEARCH_HELP = * TAB_AND_FIELD = TABLES range = rt_sgcon_1 EXCEPTIONS no_range_tab = 1 cancelled = 2 internal_error = 3 invalid_fieldname = 4 OTHERS = 5.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = l_icon info = l_iconinf add_stdinf = ' ' IMPORTING result = g_agfld_more EXCEPTIONS OTHERS = 0.

DDIF_DOMA_GET





CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'SPIHFLDNAM' langu = sy-langu TABLES dd07v_tab = lt_dd07v EXCEPTIONS illegal_input = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FLDNAM' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'GS_PSRFLD-FLDNAM' value_org = 'S' TABLES value_tab = lt_psrtfld EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'COMPERAT' value_org = 'S' TABLES value_tab = lt_comperat EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_GET_STEPL * CALL FUNCTION 'DYNP_GET_STEPL' * IMPORTING * povstepl = l_stepl * EXCEPTIONS * stepl_not_found = 1 * OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_repid dynumb = l_dynnr determine_loop_index = ' ' TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FLDNAME' dynpprog = l_repid dynpnr = l_dynnr dynprofield = l_field stepl = l_stepl display = 'F' value_org = 'S' TABLES value_tab = lt_sgfld dynpfld_mapping = lt_dselc EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PRSTEPID' value_org = 'S' TABLES value_tab = lt_psd EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

TR_GET_REQUEST_TYPE CALL FUNCTION 'TR_GET_REQUEST_TYPE' EXPORTING iv_pgmid = 'R3TR' iv_object = 'SPIP' iv_obj_name = l_obj_name IMPORTING ev_request_type = l__req_type * EV_TASK_TYPE = ev_tarsystem = l__tarsystem EXCEPTIONS no_request_needed = 1 invalid_object = 2 system_error = 3 OTHERS = 4.

TR_GET_REQUEST_TYPE CALL FUNCTION 'TR_GET_REQUEST_TYPE' EXPORTING iv_pgmid = 'R3TR' iv_object = 'SPIS' iv_obj_name = l_obj_name IMPORTING ev_request_type = l_req_type * EV_TASK_TYPE = ev_tarsystem = l_tarsystem EXCEPTIONS no_request_needed = 1 invalid_object = 2 system_error = 3 OTHERS = 4.

TR_REQUEST_CHOICE CALL FUNCTION 'TR_REQUEST_CHOICE' EXPORTING * IV_SUPPRESS_DIALOG = ' ' iv_request_types = l_req_type * IV_CLI_DEP = ' ' * IV_REQUEST = ' ' it_e071 = lt_e071 * it_e071k = lt_e071k * IV_LOCK_OBJECTS = ' ' * IV_TITLE = * IV_START_COLUMN = 3 * IV_START_ROW = 7 * IV_WITH_ERROR_LOG = 'X' * IV_NO_OWNER_CHECK = ' ' * IMPORTING * ES_REQUEST = ls_request EXCEPTIONS invalid_request = 1 invalid_request_type = 2 user_not_owner = 3 no_objects_appended = 4 enqueue_error = 5 cancelled_by_user = 6 recursive_call = 7 OTHERS = 8 .

BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile i_s_msg_filter = l_s_msg_filter i_t_log_handle = lt_protocol EXCEPTIONS OTHERS = 1.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'SPIMETRICTYPE' text = 'X' langu = sy-langu IMPORTING rc = l_rc TABLES dd07v_tab = lt_dd07v_tab EXCEPTIONS wrong_textflag = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = l_listbox_id values = lt_list_values[] EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t11 text_question = text-d11 IMPORTING answer = lp_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = l_listbox_id values = lt_list_values[] EXCEPTIONS OTHERS = 1.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = 'SPIMETRICTYPE' value = l_domvalue langu = sy-langu IMPORTING dd07v_wa = ls_domvalue.

VRM_SET_VALUES * CALL function 'VRM_SET_VALUES' * exporting * id = l_listbox_id * values = lt_list_values1[] * exceptions * others = 1.

VRM_SET_VALUES * CALL function 'VRM_SET_VALUES' * exporting * id = l_listbox_id * values = lt_list_values2[] * exceptions * others = 1.

CALL_BROWSER CALL FUNCTION 'CALL_BROWSER' EXPORTING url = l_url EXCEPTIONS frontend_not_supported = 1 frontend_error = 2 prog_not_found = 3 no_batch = 4 unspecified_error = 5 OTHERS = 6.




RFC_READ_DESTINATION_TYPE CALL FUNCTION 'RFC_READ_DESTINATION_TYPE' EXPORTING destination = -destination authority_check = space IMPORTING rfctype = l_dtype EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 OTHERS = 5.

RFCDES_DISPLAY CALL FUNCTION 'RFCDES_DISPLAY' EXPORTING rfcdes_export = ls_rfcdes_export authority_check = space editable = 'X' EXCEPTIONS authority_not_available = 1 OTHERS = 2.

SPI_UI_CU_MAINTAIN CALL FUNCTION 'SPI_UI_CU_MAINTAIN' EXPORTING ip_process_id = gs_pd-proctype ip_display_only = lp_display_only ip_no_transport = lp_no_transport ip_config_payload = ip_config_payload ip_config_process = ip_config_process.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_repid dynumb = l_dynnr determine_loop_index = 'X' TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FLDNAME' dynpprog = l_repid dynpnr = l_dynnr dynprofield = l_field display = 'F' value_org = 'S' TABLES value_tab = lt_sgfld EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.



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