Creating Schema Denition
Creating Schema Denition
Public
Warning
This document has been generated from SAP Help Portal and is an incomplete version of the official SAP product documentation.
The information included in custom documentation may not reflect the arrangement of topics in SAP Help Portal, and may be
missing important aspects and/or correlations to other topics. For this reason, it is not for production use.
This is custom documentation. For more information, please visit SAP Help Portal. 1
1/13/25, 4:58 AM
Support for generation of multiple legal output formats, such as, flat file, XML, XBRL, PDF, or JSON.
Communication with government gateways via SAP HANA Cloud Integration (HCI)
The SAP S/4HANA for advanced compliance reporting comprises of a functional app named Run Advanced Compliance Reports
and a configuration app named Define Advanced Compliance Reports. For more information about the apps, see Run Advanced
Compliance Reports and Define Advanced Compliance Reports.
Note
Please note that some of the old compliance reports are being replaced by the compliance reports provided by SAP S/4HANA
for advanced compliance reports. The old reports will be available till the planned support end date. We highly recommend
that you use the SAP S/4HANA for advanced compliance reporting based reports in lieu of the old reports. Both the reports
will co-exist till the planned support end date. After the planned support end date, the old reports become obsolete. For a
complete list of advanced compliance reports that are replacing the old reports, and other details, please see the SAP Note
2480067 .
For creating ABAP dictionary structure, you need to get the information for each record, and the elements in each record. If there
are multiple records for a functionality, you need to create 'n' number of structures. However, you need to create a single root
structure, that will be parsed in the Define Advanced Compliance Reporting app. All the record level structures are nested within
the main root structure.
To create a schema definition, say for example, for France Withholding Tax functaionality, perform the steps given below:
1. Analyze the information provided by the government authorities, say, the number of records, and the elements in each
record. If there are multiple records, you need to create multiple DDIC structures for the functionality.
3. Create the main root structure for France - WHT, SRFS_FR_WHT_XSD_INPUT . This structure is uploaded in the Define
Advanced Compliance Reporting app for creating the schema definition.
This is custom documentation. For more information, please visit SAP Help Portal. 2
1/13/25, 4:58 AM
For example, SRFS_FR_WHT_XSD_INPUT_HDR contains structures SRFS_FR_WHT_CCODE,
SRFS_FR_WHT_CCODE_ADDITIONAL, SRFS_FR_WHT_PARTNER, SRFS_FR_WHT_TAX, and SRFS_FR_WHT_SUMMARY
as component types.
Note
For ALV format, the structure should be created in a different format, as the preview of the format contains a Header
and Line Items part. The component names of the main root structure should always be 'HEADER' and 'TABLE'.
5. After the structures are ready in the required format, you can create schema by parsing the structure
SRFS_FR_WHT_XSD_INPUT in Define Advanced Compliance Reporting app.
This is custom documentation. For more information, please visit SAP Help Portal. 3