Symptom
You are trying to extend the additional sections of XML file for SAF- T Report, but it is not in current scope through the standard implementation in the Business byDesign system.
Environment
SAP Business ByDesign.
Reproducing the Issue
- Go to General Ledger work center.
- Select SAF-T Report under Periodic Tasks.
- Click New Create Run.
- Enter all the mandatory details. Click Save or Save and Close.
- In General Ledger – SAF-T screen, select the run you created from the list and click on Generate (It generates the XML file once Process is successfully completed) or action can be scheduled using the schedule button. You can choose Generate to generate the XML.
- Click View Results.
-
Under the General tab, the system displays all the data and settings you made when defining the report run.
- Under the Attachments tab, the system lists the generated XML files.
- On the View Results screen, Application Log displays errors that indicate the success or failure of any action that is scheduled.
Issue: You want to add additional sections of XML file which is actually not a part of the current scope.
Cause
As per the pre-defined scope in the system, it would actually require a header section in the XML file, and this is generated from the standard implementation.
So, to add the additional sections of the XML file in the SAF- T Report, initially this should be scoped in the system. But this enablement is not a part of current scope.
Resolution
If you are trying to add some additional fields to the XML file through BADI but as per the existing system setup, there is no provision to add new fields.
You can only update the existing fields which is possible via BADI.
Please note: Adding the new fields in the XML cannot be done through BADI.
For such new feature requests, please use the Influence forum: https://influence.sap.com/sap/ino/#/campaign/886
See Also
KBA - "https://launchpad.support.sap.com/#/notes/2515160"
Documentation link: https://help.sap.com/docs/SAP_BUSINESS_BYDESIGN/2e30d84496214461ad763692c3a0b4a5/bfd13d243d874fa1999c566f967fa948.html#prerequisites
Keywords
SAF- T Report, XML File, BADI, General Ledger, Extension fields. , KBA , SRD-FIN-GL , General Ledger , Problem