SAP Reports / Programs | Basis Components | Business Management | SAP Business Workflow(BC-BMT-WFM) SAP BC

RSWUOMAINTVERS SAP ABAP Report - Help Report for Converting WF Version to Document After Transport







RSWUOMAINTVERS 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 RSWUOMAINTVERS 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 RSWUOMAINTVERS. "Basic submit
SUBMIT RSWUOMAINTVERS AND RETURN. "Return to original report after report execution complete
SUBMIT RSWUOMAINTVERS 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_WF_ID = ID of Workflow Definition
Title: Help Report for Converting WF Version to Document After Transport


INCLUDES used within this REPORT RSWUOMAINTVERS

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:

SWD_GET_LATEST_WF_VERSION CALL FUNCTION 'SWD_GET_LATEST_WF_VERSION' EXPORTING act_task = p_wf_id IMPORTING act_wfdkey = l_wfd_key EXCEPTIONS internal_not_found = 1 OTHERS = 2.

SWUO_GET_TEMPLATES_API CALL FUNCTION 'SWUO_GET_TEMPLATES_API' EXPORTING wf_id_def = l_wfd_key-wfd_id wf_version = '9999' * WF_LANGU = SY-LANGU TABLES properties = lt_props EXCEPTIONS wf_not_specified = 1 OTHERS = 2.

SDOK_PHIO_CREATE_AS_COPY CALL FUNCTION 'SDOK_PHIO_CREATE_AS_COPY' EXPORTING object_class = l_props-class_ph source_object_id = l_object TABLES properties_to_change = lt_propty to_relations = lt_to_relations EXCEPTIONS source_not_existing = 1 bad_class = 2 missing_properties = 3 bad_properties = 4 bad_relations = 5 transfer_error = 6 not_authorized = 7 duplicate_object_id = 8 enqueue_failure = 9 exception_in_exit = 10 OTHERS = 11.



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