SRT_UTIL_CANCEL 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 SRT_UTIL_CANCEL 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.
Selection Text: ADAPTYPE = Adapter Type:
Selection Text: APPERROR = Application Error
Selection Text: DATEFR = Date From:
Selection Text: DATETO = Date To:
Selection Text: IBIFNAME = IB Interface Name:
Selection Text: IBIFNS = IB Interface Namespace:
Selection Text: IBPARTY = IB Party:
Selection Text: OBIFNAME = OB Interface Name:
Selection Text: OBIFNS = OB Interface Namespace:
Selection Text: OBPARTY = OB Interface Party:
Selection Text: SYSAPPER = Erroneous
Selection Text: SYSERROR = System Error
Selection Text: TIMEFR = Time From:
Selection Text: TIMETO = Time To:
Selection Text: UNAME = Username:
Title: Web Service Utilities: Mass Cancelling
Text Symbol: 040 = Processing, waiting or erroneous:
Text Symbol: 041 = Successful:
Text Symbol: 042 = Cancelled or isolated:
Text Symbol: 043 = Used selection query:
Text Symbol: 044 = Processing state:
Text Symbol: 045 = From: Date:
Text Symbol: 046 = Time:
Text Symbol: 047 = To: Date:
Text Symbol: 048 = Adapter Type:
Text Symbol: 049 = Username:
Text Symbol: 050 = Outbound party:
Text Symbol: 051 = Outbound interface name:
Text Symbol: 052 = Outbound interface namespace:
Text Symbol: 053 = Inbound party:
Text Symbol: 054 = Inbound interface name:
Text Symbol: 055 = Inbound interface namespace:
Text Symbol: 056 = Selected messages cancelled successfully
Text Symbol: 057 = Cancel failed for
Text Symbol: 058 = message(s)
Text Symbol: 059 = Cancel failed for selected messages
Text Symbol: 060 = Do you really want to cancel messages selected by query?
Text Symbol: 061 = Not cancelable consumer messages are ignored
INCLUDE SRT_UTIL_CANCEL_TOP. " GLOBAL DATA
No SAP DATABASE tables are accessed within this REPORT code!
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'gs_selection-state_group' ##NO_TEXT values = lt_values.
VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'gs_selection-adapter_type' ##NO_TEXT values = lt_values.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Do you really want to cancel messages selected by query?'(060) text_button_1 = 'Yes'(034) text_button_2 = 'No'(035) display_cancel_button = abap_false IMPORTING answer = lv_answer.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Display job overview after cancelling messages selected by query in background?'(033) text_button_1 = 'Yes'(034) text_button_2 = 'No'(035) IMPORTING answer = lv_answer.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING delanfrep = ' ' jobgroup = ' ' jobname = lco_job_name sdlstrtdt = sy-datum sdlstrttm = sy-uzeit IMPORTING jobcount = lv_jobcount EXCEPTIONS cant_create_job = 01 invalid_job_data = 02 jobname_missing = 03.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = lv_jobcount jobname = lco_job_name strtimmed = lv_starttimeimmediate EXCEPTIONS cant_start_immediate = 01 invalid_startdate = 02 jobname_missing = 03 job_close_failed = 04 job_nosteps = 05 job_notex = 06 lock_failed = 07 OTHERS = 99.
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 SRT_UTIL_CANCEL or its description.
SRT_UTIL_CANCEL - Web Service Utilities: Mass Cancelling SRT_UTIL_CANCEL - Web Service Utilities: Mass Cancelling SRT_UTIL_ADMIN_ROUTIS - Web Service Utilities: Administration SRT_UTIL_ADMIN_PLOAD - Web Service Utilities: Administration SRT_UTIL_ADMIN_PERF - Web Service Utilities: Administration SRT_UTIL_ADMIN_MAIN - Web Service Utilities: Administration