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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSWR_TEST_PDEF_INTERFACE - Include RSWR_TEST_PDEF_INTERFACE RSWR_TEST_PDEF_INTERFACE - Include RSWR_TEST_PDEF_INTERFACE RSWR_TEST_MOBILE_API - Business Workflow: API for Mobile Inbox Scenarios RSWR_TEST_MOBILE_API - Business Workflow: API for Mobile Inbox Scenarios RSWR_PERSONALIZATION_SUPPORT - Administration and Deletion of Web Template Personalizations RSWR_PERSONALIZATION_SUPPORT - Administration and Deletion of Web Template Personalizations