Custom Data Source to report on Output Documents
As discussed in my previous blog post (https://blogs.sap.com/2020/10/08/checking-email-output-errors-in-sap-business-bydesign/), you can easily find the email outputs and locate any errors and the descriptions via the “Email and Fax Queues” view in the “Application and User Management” work centre.
There was a very good question about reporting on the document outputs which unfortunately, as standard, there is no data source available.
If you have Cloud Application Studio then it is possible to create a custom data source to give you this information in a reportable format and I will take you through this now.
Once you have created your solution in Cloud Application Studio, create a new data source with the following details:
- Namespace: http://sap.com/xi/DocumentServices/Global
- Business Object: DocumentOutputRequest
- Anchor Node: Item
Give your data source an appropriate name and click next.
You can then select all the available fields:
Then just follow through the rest of the wizard and finally activate your data source.
If you then go into your development tenant and go to the “Data Sources” view in the “Business Analytics” work centre you can then search for the name of the data source you can then preview it and see all the output documents that have been created as shown in the screen shot below: