Symptom
When trying to save changes in the Landscape XML file in transaction SLMT a similar runtime error occurs as below:
Category ABAP programming error
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_SXML_STATE_ERROR
ABAP Program RSLSMT
Application Component BC-SRV-ALV
An exception has occurred that was not caught.
What happened?
Exception 'CX_SXML_STATE_ERROR' was raised, but it was not caught anywhere along the call hierarchy.
Since exceptions represent error situations, and this error was not adequately responded to, ABAP program 'CL_SXML_WRITER================CP' had to be terminated.
Error analysis
An exception has occurred which is explained in more detail below. The exception is assigned to class 'CX_SXML_STATE_ERROR' and was not caught in procedure "WRITE_NODES" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated this exception, the current program was terminated.
The reason for the exception is:
Method 'IF_SXML_WRITER~OPEN_ELEMENT' cannot be called at this position in the XML stream
Read more...
Environment
SAP Basis 740 and above.
Keywords
UNCAUGHT_EXCEPTION, SLMT, RSLSMT, CX_SXML_STATE_ERROR, Landscape XML, XML file , KBA , BC-SRV-ALV , SAP List Viewer , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.