SAP Reports / Programs

RSWF_CNT_MAINTENANCE SAP ABAP Report - Diagnosis and Comparison of Container Definitions







RSWF_CNT_MAINTENANCE 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 RSWF_CNT_MAINTENANCE 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

WF_CNT_MAINTENANCE - Diagnosis + Comparison of Container
SWF_CNT_MAINTENANCE - Diagnosis and Container Comparison


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 RSWF_CNT_MAINTENANCE. "Basic submit
SUBMIT RSWF_CNT_MAINTENANCE AND RETURN. "Return to original report after report execution complete
SUBMIT RSWF_CNT_MAINTENANCE 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: P_WS_TAB = Wrkflw Template Container (WS)
Selection Text: P_WF_TAB = Workflow Container (Compilat)
Selection Text: P_TYP_WS = Workflow Template
Selection Text: P_TYP_TS = Standard Tasks
Selection Text: P_TRANS = Force Transport Entry
Selection Text: P_SELKEY = Task Filter
Selection Text: P_SAVE = Save Changes <<<<
Selection Text: P_RESP = Person(s) Responsible
Selection Text: P_ORIG = Original System
Selection Text: P_LOG = Save Log
Selection Text: P_HR_TAB = Task Container (TS/WS/AC)
Selection Text: P_DEVCL = Package
Selection Text: P_CORR = Only List Unaccepted
Title: Diagnosis and Comparison of Container Definitions
Text Symbol: H34 = ContainerTypes
Text Symbol: H33 = Restrictions
Text Symbol: H32 = Display Options
Text Symbol: H31 = Actions
Text Symbol: H30 = Task Selection
Text Symbol: 011 = Task Does Not Exist
Text Symbol: 010 = Task
Text Symbol: 006 = Flag(s)
Text Symbol: 005 = ABAP Initial Value Deleted
Text Symbol: 004 = Element Moved to Definition Extension
Text Symbol: 003 = Element :
Text Symbol: 002 = Saved
Text Symbol: 001 = Repaired


INCLUDES used within this REPORT RSWF_CNT_MAINTENANCE

No INCLUDES are used within this REPORT code!


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_WF_OM_INDICES_TIMESTAMP_RFS CALL FUNCTION 'RH_WF_OM_INDICES_TIMESTAMP_RFS' EXCEPTIONS OTHERS = 0.

RH_CHECK_HRS_OBJECT_EXISTS CALL FUNCTION 'RH_CHECK_HRS_OBJECT_EXISTS' EXPORTING act_otype = l_hrs_key-otype act_objid = l_hrs_key-objid bypassing_buffer = 'X' EXCEPTIONS object_not_found = 1 OTHERS = 2.

SWF_CNT_CONSISTENCY_CHECK CALL FUNCTION 'SWF_CNT_CONSISTENCY_CHECK' EXPORTING task_id = l_hrs_key use_swcontdef = 'X' save_changes = p_save IMPORTING changes = l_changed change_list = l_element_list swcontdef = l_swcontdef CHANGING container = l_cnt_ref.

SWD_GET_TASK_OUT_OF_WF_VERSION CALL FUNCTION 'SWD_GET_TASK_OUT_OF_WF_VERSION' EXPORTING act_wfdkey = buffered_access_forced = 'X' IMPORTING act_task = l_hrobjec EXCEPTIONS OTHERS = 0.

RH_GET_WFD_ID CALL FUNCTION 'RH_GET_WFD_ID' EXPORTING act_task = l_task EXCEPTIONS OTHERS = 0.

SWF_CNT_CONSISTENCY_CHECK CALL FUNCTION 'SWF_CNT_CONSISTENCY_CHECK' EXPORTING wfd_key = l_wf_key use_swcontdef = 'X' save_changes = p_save IMPORTING changes = l_changed change_list = l_element_list swcontdef = l_swcontdef CHANGING container = l_cnt_ref.

SWD_GET_TASK_OUT_OF_WF_VERSION CALL FUNCTION 'SWD_GET_TASK_OUT_OF_WF_VERSION' EXPORTING act_wfdkey = buffered_access_forced = 'X' IMPORTING act_task = l_hrobjec EXCEPTIONS OTHERS = 0.

SWF_CNT_CONSISTENCY_CHECK CALL FUNCTION 'SWF_CNT_CONSISTENCY_CHECK' EXPORTING wfd_key = l_wf_key use_swcontdef = 'X' save_changes = p_save IMPORTING changes = l_changed change_list = l_element_list swcontdef = l_swcontdef CHANGING container = l_cnt_ref.

RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING global_lock = 'X' object = p_hrs_key-objid object_class = l_object_class mode = space " should exist ! author = sy-uname master_language = sy-langu korrnum = g_korr_num use_korrnum_immediatedly = l_korr IMPORTING korrnum = g_korr_num EXCEPTIONS cancelled = 01 permission_failure = 02 unknown_objectclass = 03.



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