SAP Reports / Programs

RSWILOAD SAP ABAP Report - Selection Screen for Work Load







RSWILOAD 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 RSWILOAD into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SWI5 - Workload Analysis
SWI5N - Workload Analysis


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


Text pool values


Title: Selection Screen for Work Load
Text Symbol: 001 = Select Responsibility:
Text Symbol: 002 = Type
Text Symbol: 003 = ID
Text Symbol: 004 = Select Type and Period of Analysis:
Text Symbol: 005 = To be processed by
Text Symbol: 006 = Compltd since
Text Symbol: 007 = Enter Task Filter:
Text Symbol: 008 = Task
Text Symbol: 009 = Task group
Text Symbol: 010 = Application Component
Text Symbol: 011 = Date
Text Symbol: 012 = Type of Analysis


INCLUDES used within this REPORT RSWILOAD

INCLUDE: RSWUINCL.


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:

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = f4_plvar EXCEPTIONS no_active_plvar = 01.

RH_OTYPE_REQUEST_WITH_TABLE CALL FUNCTION 'RH_OTYPE_REQUEST_WITH_TABLE' IMPORTING sel_otype = otype TABLES otypes = otype_tab.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = 'RSWILOAD' DYNUMB = '1000' TRANSLATE_TO_UPPER = 'X' TABLES DYNPFIELDS = lt_fields EXCEPTIONS OTHERS = 1.

RH_OBJID_REQUEST CALL FUNCTION 'RH_OBJID_REQUEST' EXPORTING plvar = f4_plvar * otype = otype seark = objid dynpro_repid = f4_repid dynpro_dynnr = sy-dynnr dynpro_searkfield = 'OBJID' set_mode = ' ' IMPORTING sel_object = sel_object TABLES otype_table = lt_otype EXCEPTIONS cancelled = 1 wrong_condition = 2 nothing_found = 3 * illegal_mode = 4 internal_error = 5 OTHERS = 6.

RH_SEARCH_TASK CALL FUNCTION 'RH_SEARCH_TASK' IMPORTING act_object_ext = task EXCEPTIONS no_active_plvar = 1 no_org_object_selected = 2 no_valid_task_type = 3 OTHERS = 4.

RH_SEARCH_TASK CALL FUNCTION 'RH_SEARCH_TASK' EXPORTING act_otype = 'T' IMPORTING act_object_ext = taskgrou EXCEPTIONS no_active_plvar = 1 no_org_object_selected = 2 no_valid_task_type = 3 OTHERS = 4.

BM_FUNCTION_RANGE_F4 CALL FUNCTION 'BM_FUNCTION_RANGE_F4' IMPORTING sel_id = funcarea EXCEPTIONS OTHERS = 1.

RH_CHECK_ORG_OBJECT_EXISTS CALL FUNCTION 'RH_CHECK_ORG_OBJECT_EXISTS' EXPORTING act_object_ext = act_object_ext IMPORTING act_otype_text = otype_text act_stext = objid_text EXCEPTIONS no_active_plvar = 01 no_org_object = 02 org_object_not_found = 03.

SWI_GET_USERS_OF_ORG_UNIT CALL FUNCTION 'SWI_GET_USERS_OF_ORG_UNIT' EXPORTING otype = otype objid = objid TABLES user_list = user_list EXCEPTIONS not_found = 1 no_active_plvar = 2 OTHERS = 3.

RH_WF_OBJID_UNPACK CALL FUNCTION 'RH_WF_OBJID_UNPACK' EXPORTING act_object_ext = task IMPORTING act_object_ext = task.

RH_CHECK_ORG_OBJECT_EXISTS CALL FUNCTION 'RH_CHECK_ORG_OBJECT_EXISTS' EXPORTING act_object_ext = task IMPORTING act_stext = task_text EXCEPTIONS no_active_plvar = 01 no_org_object = 02 org_object_not_found = 03.

RH_WF_OBJID_UNPACK CALL FUNCTION 'RH_WF_OBJID_UNPACK' EXPORTING act_object_ext = taskgrou IMPORTING act_object_ext = taskgrou.

RH_CHECK_ORG_OBJECT_EXISTS CALL FUNCTION 'RH_CHECK_ORG_OBJECT_EXISTS' EXPORTING act_object_ext = taskgrou IMPORTING act_stext = task_text EXCEPTIONS no_active_plvar = 01 no_org_object = 02 org_object_not_found = 03.

SWI_GET_RELATED_TASKS CALL FUNCTION 'SWI_GET_RELATED_TASKS' EXPORTING task_id = taskgrou TABLES task_list = task_list EXCEPTIONS not_found = 1 no_active_plvar = 2 OTHERS = 3.

SWD_FCT_TASKS_GET CALL FUNCTION 'SWD_FCT_TASKS_GET' EXPORTING fct_range = lv_fct_range TABLES task_list = lt_task_list EXCEPTIONS not_found = 1 OTHERS = 2.



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