RSWF_TEST_CNT_XML_SERVICE 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_TEST_CNT_XML_SERVICE 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: Test Program for Container XML Services
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SWF_CNT_INSTANCE_EDITOR CALL FUNCTION 'SWF_CNT_INSTANCE_EDITOR' EXPORTING container_ref = g_container START_IN_POPUP = 'X'.
SAP_WAPI_START_WORKFLOW CALL FUNCTION 'SAP_WAPI_START_WORKFLOW' EXPORTING TASK = 'WS30000015' * LANGUAGE = SY-LANGU * DO_COMMIT = 'X' * USER = SY-UNAME * START_ASYNCHRONOUS = ' ' * DESIRED_START_DATE = * DESIRED_START_TIME = * DESIRED_START_ZONLO = SY-ZONLO IFS_XML_CONTAINER = g_xml_stream IMPORTING * RETURN_CODE = WORKITEM_ID = l_wiid * NEW_STATUS = * TABLES * INPUT_CONTAINER = * MESSAGE_LINES = * MESSAGE_STRUCT = * AGENTS = .
SAP_WAPI_GET_WI_CNT_SCHEMA CALL FUNCTION 'SAP_WAPI_GET_WI_CNT_SCHEMA' EXPORTING WORKITEM_ID = l_wiid * LANGUAGE = SY-LANGU * USER = SY-UNAME IMPORTING IFS_XML_CONTAINER_SCHEMA = g_xml_stream * TABLES * MESSAGE_LINES = * MESSAGE_STRUCT = .
DISPLAY_XML_STRING CALL FUNCTION 'DISPLAY_XML_STRING' EXPORTING XML_STRING = g_xml_stream.
SAP_WAPI_READ_CONTAINER CALL FUNCTION 'SAP_WAPI_READ_CONTAINER' destination space EXPORTING WORKITEM_ID = l_wiid * LANGUAGE = SY-LANGU * USER = SY-UNAME IMPORTING * RETURN_CODE = IFS_XML_CONTAINER = g_xml_stream TABLES SIMPLE_CONTAINER = l_cnt * MESSAGE_LINES = * MESSAGE_STRUCT = * SUBCONTAINER_BOR_OBJECTS = * SUBCONTAINER_ALL_OBJECTS = .
SAP_WAPI_WRITE_CONTAINER CALL FUNCTION 'SAP_WAPI_WRITE_CONTAINER' EXPORTING WORKITEM_ID = l_wiid * LANGUAGE = SY-LANGU * ACTUAL_AGENT = SY-UNAME * DO_COMMIT = 'X' IFS_XML_CONTAINER = g_xml_stream * IMPORTING * RETURN_CODE = TABLES SIMPLE_CONTAINER = l_cnt * MESSAGE_LINES = * MESSAGE_STRUCT = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSWF_TEST_CNT_XML_SERVICE - Test Program for Container XML Services RSWF_TEST_CNT_XML_SERVICE - Test Program for Container XML Services RSWF_TEST_CNT_PERSISTENCE - Test Program: Comparison of Container Persistencies RSWF_TEST_CNT_PERSISTENCE - Test Program: Comparison of Container Persistencies RSWF_TEST_ASSIGN - Test Assignment Operators RSWF_TEST_ASSIGN - Test Assignment Operators