SAP Reports / Programs

RSWF_TEST_CNT_XML_SERVICE SAP ABAP Report - Test Program for Container XML Services







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


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


Text pool values


Title: Test Program for Container XML Services


INCLUDES used within this REPORT RSWF_TEST_CNT_XML_SERVICE

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:

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 = .



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