Show TOC

Function documentationXML Data Sources

 

You can extract data from XML files that are stored on the SAP Solution Manager application server or on a local PC.

Features

The following data source types are available:

XML Files on Application Server

The following data is required to extract data that is stored on the application server:

  • Host Name: The application server that hosts the data

  • File Path: Path on the SAP Solution Manager application server under which the XML file containing the data to be compared is saved.

  • File Name: Name of the XML file.

You have the following options when using XML files:

  • You can select several XML files for processing, by specifying a file path and no file name. The system processes all files in this path.

  • You can enter the following parameters in the File Name field:

    • $TODAY: The system selects all files that have today's date in the format YYYYMMDD in the file name. For example, if the date is September 21, 2015 and you enter data$TODAY.xml, the system might return a file named data20150921.xml.

    • $YESTERDAY: The system selects all files that have yesterday's date in the format YYYYMMDD in the file name. For example, if the date is September 22, 2015 and you enter data$YESTERDAY.xml, the system might return a file named data20150921.xml.

    • Wildcard: You can use an asterisk (*) to stand in for any characters in the file name, and you can combine this with the parameters mentioned above.

  • Use the following parameters in the Created from and Created to fields to enter a start and end time for the creation date of XML files.

    • $TIMES: timestamp now (offset in seconds). Example: $TIMES-10

    • $TIMEM: timestamp now (offset in minutes). Example: $TIMEM-30

    • $TIMEH: timestamp now (offset in hours). Example: $TIMEH-12

    • $TIMED: timestamp now (offset in days). Example: $TIMED-1

  • You can enter XML transformation parameters in the Transformation field. Data is then changed from a different format to the required asXML format.

    Note Note

    The cross-database comparison source type “XML files on application server” requires either XML files in asXML format, or XML files in any other format and a transformation to change the required data into asXML format.

    asXML is the format that results from using a transformation ID for an internal ABAP table.

    End of the note.
XML Files on Local PC

You do not have to enter any source-specific parameters for your comparison. Instead, you specify the file name directly in the comparison. For more information, see Creating Comparisons.