Ansicht
Dokumentation

HR_SE_XML_SCHEMA - HR-SE: Output customized XML Schema

HR_SE_XML_SCHEMA - HR-SE: Output customized XML Schema

BAL Application Log Documentation   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The module is part of the E-Filing Framework. The intention behind this function module originates in the desiderative facility of the ABAP Debugger to trace reference structures .

The module offers the possibiliy to proof the correctness of the entries in the customising tables T50V_XML, T50G_XML, T50L_XML and T50C_XML. These entries represent XML Schemas. The module creates an XML-schema-t ree, as described in the documentation of the function module 'HR_SE_XML_DATA_INPUT', and output this XML-schema-tree as an XML Schema document in a file or directly in a browser.

PREREQUISITES

Before the current module can be called following actions must be executed:

  1. the legaly given XML Schema must be entered into the customising tables (using the Viewcluster VC_50XML)
  2. the conversion rules for element and attribute values must be implemented and entered in the customising tables

PARAMETERS:

  • Country grouping (MOLGA)

  • Application group (SAGRP)

  • Document type (DOCTY)

  • Date to be regarded (DATE)

  • The generated file is output, if this flag is set (CHECK_ONLY)

  • The generated file is output in a browser, if this flag is set (BROWSER)

  • Otherwise, the file is stored on the hard disk under the specified path (FULLPATH)

This module reads the entries in the customising tables belonging to an XML Schema specified by MOLGA, SAGRP and DOCTY. The module selects the last version of this XML Schema, which is valid on the specified DATE. Once the appropriate entries has been found, the module creates a reference tree structure. This tree structure represents the selected XML Schema. Each node in this tree contains pointer to its children.

OUTPUT:

This module generates an XML Schema document and outputs it in a file on the hard disk, or directly in a browser.

EXCEPTIONS:

The process of generation an XML-schema-tree can throw following exceptions:

RUNTIME_ERROR if

  • a conversion routine registered for a node was not found

  • the root node of a subschema was not found

  • more than one root node was found

  • an attibutes having children was found

  • a child of a node was not found in the tree

  • the definition of a node was not found in the tree

  • a node with more than one content structurenode was found

SCHEMA_NOT_FOUND if

  • the definition of a schema was not found (for the given SAGRP, APPLI, VERS or DATE ) in the customizing tables

SUBSCHEMA_NOT_FOUND if

  • the definition of a subschema (or a certain version of a subschema) was not found in the customizing tables

Example

Notes

Further information





Parameters

BROWSER
CHECK_ONLY
DATE
DOCTY
DSTYP
FULLPATH
MOLGA
SAGRP

Exceptions

RUNTIME_ERROR
SCHEMA_NOT_FOUND
SUBSCHEMA_NOT_FOUND

Function Group

HR_SE_XML

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4289 Date: 20240523 Time: 110009     sap01-206 ( 57 ms )