SAP Reports / Programs

RSWBO040 SAP ABAP Report - Search for Objects in Requests/Tasks







RSWBO040 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program searches for objects in requests and tasks...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RSWBO040 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 RSWBO040. "Basic submit
SUBMIT RSWBO040 AND RETURN. "Return to original report after report execution complete
SUBMIT RSWBO040 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: TRKORR = D .
Selection Text: AS4USER = D .
Selection Text: AS4DATE = D .
Selection Text: ACTIVITY = D .
Title: Search for Objects in Requests/Tasks
Text Symbol: T04 = Also Search for Subobjects (not for generic entry)
Text Symbol: T02 = Object Selection
Text Symbol: T01 = Request/Task Selection
Text Symbol: S14 = Request Type
Text Symbol: S12 = Released
Text Symbol: S11 = Modifiable
Text Symbol: S10 = Status
Text Symbol: P15 = Req. Type
Text Symbol: P14 = Object Selection
Text Symbol: P13 = Obj. Name
Text Symbol: P12 = Object
Text Symbol: P11 = PGMID
Text Symbol: P08 = Other
Text Symbol: P07 = Class
Text Symbol: P06 = Table Type
Text Symbol: P05 = Data Element
Text Symbol: P04 = View
Text Symbol: P03 = Table/Structure
Text Symbol: P02 = Function Group
Text Symbol: P01 = Program
Text Symbol: M02 = Select one object only
Text Symbol: M01 = Select one request only
Text Symbol: I03 = @20@
Text Symbol: 010 = Object
Text Symbol: 008 = Task
Text Symbol: 006 = Status
Text Symbol: 005 = Type
Text Symbol: 004 = Date
Text Symbol: 003 = Owner
Text Symbol: 002 = Short Description
Text Symbol: 001 = Request


INCLUDES used within this REPORT RSWBO040

INCLUDE RDDKORRI.
INCLUDE CLASS_LCL_EVENT_RECEIVER_SE03.





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:

TR_AUTHORITY_CHECK_DISPLAY CALL FUNCTION 'TR_AUTHORITY_CHECK_DISPLAY' EXCEPTIONS e_no_authority = 1.

TR_OBJECT_TABLE CALL FUNCTION 'TR_OBJECT_TABLE' TABLES wt_object_text = pt_object_texts.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey TABLES p_exclude = lt_excl_okcode.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = lv_program dynumb = lv_dynpro TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 0. "can be ignored

S_CUS_IMG_SELECT_NODES CALL FUNCTION 'S_CUS_IMG_SELECT_NODES' TABLES selected_references = lt_references.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_program dynumb = lv_dynpro TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

F4_PROGRAM CALL FUNCTION 'F4_PROGRAM' EXPORTING object = objname1 IMPORTING result = objname1.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_program dynumb = lv_dynpro TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

F4_FUNCTIONGROUP CALL FUNCTION 'F4_FUNCTIONGROUP' EXPORTING object = objname2 IMPORTING result = objname2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_program dynumb = lv_dynpro TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

F4_CLASS CALL FUNCTION 'F4_CLASS' EXPORTING object = objname7 IMPORTING result = objname7.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_program dynumb = lv_dynpro TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

F4_DD_TABLES CALL FUNCTION 'F4_DD_TABLES' EXPORTING object = objname3 IMPORTING result = objname3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_program dynumb = lv_dynpro TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

F4_DD_VIEW CALL FUNCTION 'F4_DD_VIEW' EXPORTING object = objname4 IMPORTING result = objname4.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_program dynumb = lv_dynpro TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

F4_DD_TABLE_TYPE CALL FUNCTION 'F4_DD_TABLE_TYPE' EXPORTING object = objname6 IMPORTING result = objname6.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_program dynumb = lv_dynpro TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.

F4_DD_DATA_ELEMENT





CALL FUNCTION 'F4_DD_DATA_ELEMENT' EXPORTING object = objname5 IMPORTING result = objname5.

TR_POPUP_SELECT_REQUEST_TYPES CALL FUNCTION 'TR_POPUP_SELECT_REQUEST_TYPES' EXPORTING iv_dialog = pv_dialog IMPORTING ev_description = lv_description CHANGING cv_functionvector = p_types1.

TR_GET_PART_OBJECTS CALL FUNCTION 'TR_GET_PART_OBJECTS' TABLES it_header_objects = lt_complete_objects et_part_objects = lt_part_objects_tmp EXCEPTIONS OTHERS = 1.

TR_REQUEST_TYPE_TEXT CALL FUNCTION 'TR_REQUEST_TYPE_TEXT' EXPORTING iv_request_type = ls_request-trfunction iv_request_status = ls_request-trstatus IMPORTING ev_request_type_text = lv_request_type_text ev_request_status_text = lv_request_status_text.

TR_CHECK_TYPE CALL FUNCTION 'TR_CHECK_TYPE' EXPORTING wi_e071 = ls_e071 IMPORTING pe_result = lv_result we_tadir = ls_tadir.

TR_TADIR_POPUP_ENTRY_E071 CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071' EXPORTING wi_e071_pgmid = gs_object-pgmid wi_e071_object = gs_object-object wi_e071_obj_name = gs_object-obj_name wi_read_only = 'X' EXCEPTIONS OTHERS = 1.

TR_DISPLAY_REQUEST CALL FUNCTION 'TR_DISPLAY_REQUEST' EXPORTING i_trkorr = gs_request-trkorr.

TR_DISPLAY_REQUEST CALL FUNCTION 'TR_DISPLAY_REQUEST' EXPORTING i_trkorr = gs_request-trkorr.

TR_TADIR_POPUP_ENTRY_E071 CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071' EXPORTING wi_e071_pgmid = gs_object-pgmid wi_e071_object = gs_object-object wi_e071_obj_name = gs_object-obj_name wi_read_only = 'X' EXCEPTIONS OTHERS = 1.

TR_PRESENT_REQUEST CALL FUNCTION 'TR_PRESENT_REQUEST' EXPORTING iv_trkorr = ls_trkorr-trkorr EXCEPTIONS OTHERS = 1.

TR_DISPLAY_REQUESTS CALL FUNCTION 'TR_DISPLAY_REQUESTS' EXPORTING it_request_numbers = lt_trkorrs.



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