SAP Reports / Programs

RSWELOGS SAP ABAP Report - Display Event Trace







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


Text pool values


Selection Text: S_PROG = Program creating event
Selection Text: S_OBJTYP = 'Creator' object type
Selection Text: S_OBJKEY = 'Creator' object instance
Selection Text: S_EVT_ID = Event ID
Selection Text: S_EVENT = Event
Selection Text: S_RECFB = Receiver FM
Selection Text: S_USER = Creator (user)
Selection Text: S_TIME = Creation time
Selection Text: S_RECTYP = Receiver type
Selection Text: S_RECID = Receiver instance
Selection Text: S_RECGFB = Receiver type FM
Selection Text: S_DATE = Creation date
Selection Text: S_CHCKFB = Check FM
Selection Text: RECBUT3 = Only events with linkages
Selection Text: RECBUT2 = Only events without linkages
Selection Text: RECBUT1 = With and without linkages
Selection Text: ER = Only linkages with errors
Title: Display Event Trace
Text Symbol: 021 = Error status
Text Symbol: 022 = No receiver entered
Text Symbol: 023 = Event put in queue
Text Symbol: 024 = Marked as "error"
Text Symbol: 025 = Deactivated
Text Symbol: 026 = Check FM with exception
Text Symbol: 032 = Delete sel. objects
Text Symbol: 031 = From
Text Symbol: 029 = Information
Text Symbol: 028 = Details
Text Symbol: 027 = Receiver status: Error
Text Symbol: 020 = Event receiver linkages
Text Symbol: 008 = Date
Text Symbol: 006 = Event
Text Symbol: 004 = Object type
Text Symbol: 002 = Receiver data
Text Symbol: 001 = Event data
Text Symbol: 009 = Time
Text Symbol: 017 = Trace deleted
Text Symbol: 016 = Delete trace





Text Symbol: 015 = Delete selected entries
Text Symbol: 012 = Receiver FM / action
Text Symbol: 010 = Rec. type
Text Symbol: 033 = Up to & &
Text Symbol: B02 = entries?
Text Symbol: B01 = Delete
Text Symbol: A02 = entries?
Text Symbol: A01 = Delete selected
Text Symbol: 034 = Feedback after error


INCLUDES used within this REPORT RSWELOGS

INCLUDE RSWEINCL.
INCLUDE RSWELTXT.
INCLUDE RSWELINC.


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:

SWE_EVENT_DISPLAY_DETAIL call function 'SWE_EVENT_DISPLAY_DETAIL' "displays table pswelog tables iswelog = pswelog.

SWE_EVENT_DISPLAY_DETAIL call function 'SWE_EVENT_DISPLAY_DETAIL' "displays table pswelog tables iswelog = pswelog.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = text-a01 textline2 = text-a02 titel = text-015 importing answer = answer.

SWE_EVENT_CHECK_DATE_TIME call function 'SWE_EVENT_CHECK_DATE_TIME' importing deletedate = ddate deletetime = dtime exceptions cancelled = 1 error_with_popup = 2 others = 3.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = text-b01 textline2 = text-b02 titel = text-016 importing answer = answer.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = '01' object = 'SWE_EVTLOG' importing number = event_id exceptions interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4.

LVC_CALLBACK_INTERNAL CALL FUNCTION 'LVC_CALLBACK_INTERNAL' EXPORTING i_callback_program = l_repid i_routine = 'SET_STOP_MERGE_FLAG' .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_RED' INFO = l_info ADD_STDINF = ' ' IMPORTING RESULT = l_outtab-icon EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_RED' INFO = l_info ADD_STDINF = ' ' IMPORTING RESULT = l_outtab-icon EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_RED' INFO = l_info ADD_STDINF = ' ' IMPORTING RESULT = l_outtab-icon EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.

SWE_EVENT_DISPLAY_DETAIL call function 'SWE_EVENT_DISPLAY_DETAIL' "displays table pswelog tables iswelog = lt_swelog.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting textline1 = text-a01 textline2 = text-a02 titel = text-015 importing answer = l_answer.



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