RSWELTOGGLE 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 RSWELTOGGLE 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.
Title: Activate/Deactivate Event Trace Without Dialog (New Version)
Text Symbol: T01 = Trace OFF
Text Symbol: T02 = Trace ON
Text Symbol: T03 = Toggle Trace
INCLUDE: RSWELTXT.
No SAP DATABASE tables are accessed within this REPORT code!
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'SWE_EVTLOG' IMPORTING number = l_event_id EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4.
SWU_NUMBER_RANGE_CREATE CALL FUNCTION 'SWU_NUMBER_RANGE_CREATE' EXPORTING object = 'SWE_EVTLOG' quantity = 1 IMPORTING number = l_event_id EXCEPTIONS range_already_exists = 0 object_not_found = 0 system_error = 0 OTHERS = 0.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING EV_GUID_16 = l_swfrevtlog-logguid.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSWELTOGGLE - Activate/Deactivate Event Trace Without Dialog (New Version) RSWELTOGGLE - Activate/Deactivate Event Trace Without Dialog (New Version) RSWELSWITCH - Activate/Deactivate Event Trace with Dialog (New Version) RSWELSWITCH - Activate/Deactivate Event Trace with Dialog (New Version) RSWELOGS - Display Event Trace RSWELOGS - Display Event Trace