...
Technically the log is stored in SAP system as an XML message. The native XML content can be displayed by executing function module ECATT_LOG_SHOW_PARAM_XML and entering the eCATT execution number. As already mentioned, in most cases there is a need
to pass numbers of documents created during an eCATT test case execution to next test cases. Usually standard SAP transactions return the document numbers through system messages (as presented on the screenshot). if not, it is possible to read them
during eCATT recordings (instruction GET). To fill the variable with such document number, first we need to define processing parameters for the variable. When we define the variable processor as ECATT_LOG we need to add an expath as the processing parameter.
The xpaths task is to point to the exact location of the value we want to pass in our declared variable. Take a look at some basic xpath syntax rules:
...