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

RSWR_TEST_PDEF_INTERFACE SAP ABAP Report - Include RSWR_TEST_PDEF_INTERFACE







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


Text pool values


Title: Include RSWR_TEST_PDEF_INTERFACE
Text Symbol: 001 = Delete
Text Symbol: 002 = Do You Really Want to Delete the Process Definition?
Text Symbol: 003 = Workflow ID


INCLUDES used within this REPORT RSWR_TEST_PDEF_INTERFACE

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:

SWR_GET_PROCESS_LOG CALL FUNCTION 'SWR_GET_PROCESS_LOG' EXPORTING WF_ID = g_wi_id LANGUAGE = SY-LANGU FORMAT = g_format IMPORTING XML_STREAM = g_xml_stream RETCODE = g_retcode tables message_lines = gt_msgs message_struct = gt_msgu.

SWR_GET_PROCESS_DEF CALL FUNCTION 'SWR_GET_PROCESS_DEF' EXPORTING process_id = g_wfdkey-wfd_id VERSION = g_wfdkey-version LANGUAGE = SY-LANGU FORMAT = g_format OPTIONS = g_option IMPORTING XML_STREAM = g_xml_stream RETCODE = g_retcode tables message_lines = gt_msgs message_struct = gt_msgu.

SWR_CHECKIN_PROCESS_DEF CALL FUNCTION 'SWR_CHECKIN_PROCESS_DEF' EXPORTING process_id = g_wfdkey-wfd_id VERSION = g_wfdkey-version LANGUAGE = SY-LANGU XML_STREAM = g_xml_stream FORMAT = g_format IMPORTING NEW_VERSION = g_wfdkey-version RETCODE = g_retcode tables message_lines = gt_msgs message_struct = gt_msgu.

SWR_CHECKOUT_PROCESS_DEF CALL FUNCTION 'SWR_CHECKOUT_PROCESS_DEF' EXPORTING process_id = g_wfdkey-wfd_id VERSION = g_wfdkey-version LANGUAGE = SY-LANGU FORMAT = g_format OPTIONS = g_option IMPORTING RETCODE = g_retcode XML_STREAM = g_xml_stream tables message_lines = gt_msgs message_struct = gt_msgu.

SWR_CHECK_PROCESS_DEF CALL FUNCTION 'SWR_CHECK_PROCESS_DEF' EXPORTING process_id = g_wfdkey-wfd_id VERSION = g_wfdkey-version LANGUAGE = SY-LANGU IMPORTING RETCODE = g_retcode tables message_lines = gt_msgs message_struct = gt_msgu.

SWR_DEQUEUE_PROCESS_DEF CALL FUNCTION 'SWR_DEQUEUE_PROCESS_DEF' EXPORTING process_id = g_wfdkey-wfd_id VERSION = g_wfdkey-version IMPORTING RETCODE = g_retcode.

SWR_CREATE_PROCESS_DEF CALL FUNCTION 'SWR_CREATE_PROCESS_DEF' EXPORTING xml_stream = g_xml_stream LANGUAGE = SY-LANGU FORMAT = g_format IMPORTING process_id = g_wfdkey-wfd_id VERSION = g_wfdkey-version RETCODE = g_retcode tables message_lines = gt_msgs message_struct = gt_msgu.

SWR_GENERALIZE_PROCESS_DEF * CALL FUNCTION 'SWR_GENERALIZE_PROCESS_DEF' * EXPORTING * process_id = g_wfdkey-wfd_id * LANGUAGE = SY-LANGU * IMPORTING * RETCODE = g_retcode * tables * message_lines = gt_msgs * message_struct = gt_msgu.

SWR_ACTIVATE_PROCESS_DEF CALL FUNCTION 'SWR_ACTIVATE_PROCESS_DEF' EXPORTING process_id = g_wfdkey-wfd_id VERSION = g_wfdkey-version LANGUAGE = SY-LANGU IMPORTING RETCODE = g_retcode tables message_lines = gt_msgs message_struct = gt_msgu.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = 'Löschen'(001) text_question = text-002 IMPORTING ANSWER = l_answer EXCEPTIONS OTHERS = 0.

SWR_REMOVE_PROCESS_DEF CALL FUNCTION 'SWR_REMOVE_PROCESS_DEF' EXPORTING process_id = g_wfdkey-wfd_id LANGUAGE = SY-LANGU IMPORTING RETCODE = g_retcode tables message_lines = gt_msgs message_struct = gt_msgu.

SWD_GET_TASK_OUT_OF_WF_VERSION CALL FUNCTION 'SWD_GET_TASK_OUT_OF_WF_VERSION' EXPORTING act_wfdkey = g_wfdkey IMPORTING act_task = l_task EXCEPTIONS internal_not_found = 1 OTHERS = 2.

SWF_WF_BUILDER_START CALL FUNCTION 'SWF_WF_BUILDER_START' EXPORTING im_task = l_task im_wfdkey = g_wfdkey im_display = space im_amodal = 'X'.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING * NO_VALUE_CHECK = ' ' popup_title = 'Workflow ID'(003) * START_COLUMN = '5' * START_ROW = '5' IMPORTING returncode = p_res TABLES fields = lt_fields EXCEPTIONS error_in_fields = 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 RSWR_TEST_PDEF_INTERFACE or its description.