Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
Showing results for 
Search instead for 
Did you mean: 
Keeping pace with the ever-changing regulatory environment is a challenge; Audit file is a good use case of such legal format changes in many countries. Keeping them updated as per latest regulations from standard delivery is a challenge.

This blog will explain the new functionality of generating custom audit files for EU OSS Tax Audit Report in SAP Business ByDesign. This would enable the partners/customers to amend the tax audit file content and also adapt audit files to relevant format according to specific Country/Region regulations.

Modify the content of SAP Generated Tax Audit File

Content of Standard XML File generated by EU OSS Tax Audit Report can be modified by end user. Follow the steps to achieve the purpose.

  1. To do this, the partners/customer would need to implement the enhancement option PDITaxAuditFileGenerationMultiple in the SAP Cloud Applications Studio with relevant filter conditions. The implementation can be done for a combination of company Id and auditing country name. Please refer to the example snapshot below.

  2. In the implementation, partners would have the option to edit SAP generated file content. We would recommend partner to edit this content judiciously.Please refer to the example snapshot below.


Modify the format of SAP Generated Tax Audit File

The XML generated by EU OSS Tax Audit Report has a specific format, Partners/Customers can modify this format by using their own XSLT Transformation. Custom XSLT Transformation will be applied on top of SAP defined file structure (The standard Audit file generated by EU OSS Tax Audit Report before performing the below mentioned steps).


  1. Go to Business configuration work center > Overview

  2. Search and select Common Master Data Configuration

  3. Select Configuration type code 5 - Transformation Repository or create a new configuration if it doesn’t exist.

  4. Click on Edit.

  5. Create a new transformation. Click on Add Row > Give a Transformation Name > Transformation type AUD - XSL Transformation Audit Report and transformation subtype OSS - One-Stop-Shop for the required country.

  6. Upload a new Transformation version by clicking on Add Row. Add Transformation specific validity dates and description.

  7. In XSL Transformation File section, click on Add and upload the XSLT file.

  8. Change the Status of Transformation version and Transformation to active once XSLT file is deployed successfully.

  9. Save and close.

After Performing both the steps partners/customers should follow the normal process of generating the EU OSS Tax Audit Report. The generated XML file will have modified content and format.


Please share your feedback or thoughts in comments.

Follow the below pages for more information: