Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Disclaimer

Your use of this download is governed by Stonebranch’s Terms of Use, which are available at https://www.stonebranch.com/integration-hub/Terms-and-Privacy/Terms-of-Use/.

Overview

This Universal Task allows to execute an MS SSIS Package using the “dtexec” utility which comes with the Microsoft SQLSERVER installation.

The here described Universal Task calls a script to deploy a report on the Reporting Services Webserver.

This Universal Task is based on the SQL Server Reporting Services RS.EXE utility. RS.EXE is a command line utility that can perform many
scripted operations related to SQL Server Reporting Services (SSRS). It can be used to complete various administrative tasks including
publishing reports and moving reports from one server to another server. The RS.exe utility requires an input file to tell the RS.EXE
"what to do". The list of actual tasks that can be performed is includes among others:

1. Deploying / Publishing reports
2. Moving reports
3. Exporting reports to a file
4. Adjust security
5. Cancel a running job
6. Configure SSRS system properties

The here described Universal Task calls a script to deploy a report (N#1 in the list above). Points 2-6 in the list above can also be implemented via a script called by the Universal task.

Note: Further details on the RS.exe utility can be found in the attached document [1].

# 4 System Set-up
**Universal Task name:** Run SAP Data Service Job
**Related UAC XML Files for template and task: [2]**

**Software used:**
- MS SQLSERVER 2016
- Report Builder in SQL Server 2016
- Windows Server 2012R2
- UAC 6.4 Build 40 (beta-release)
- UA 6.3.0.1 installed on the SAP Data Services Server

# 5 Proposed enhancements

**A) A script for all possible RS.EXE scenarios should be generated:**

1. Deploying / Publishing reports (done)
2. Moving reports
3. Exporting reports to a file
4. Adjust security
5. Cancel a running job
6. Configure SSRS system properties

**B) Deploy reports using a SOAP Webservice**

In the attached document [1] the command to deploy a report via a SOAP webservice is described. This solution has the advantage that no
Universal Agent would have to be deployed on the SQLSERVER.

# 6 Solution Description

The following describes how the Universal Task can be demonstrated, once it is set-up on the Stonebranch demo system.

**1. Configure a new Report using Report Builder in SQL Server 2016**

Image 1:
![](images/image1.png)

The report configuration is written to the file system as *rdl file e.g.: rechnunsdaten.rdl

Image 2:
![](images/image2.png)

**2. Test the Report in Report Builder in SQL Server 2016**

Image 3:
![](images/image3.png)

Once it is tested in Report Builder in SQL Server 2016, you can deploy the report to the Reporting Server using Universal Task.


**3. Configure the universal task deploy a Reporting to the Reporting Server**

Universal Task template

Image 4:
![](images/image4.png)

Reporting Service Script to deploy a report:

Image 5:
![](images/image5.png)

Universal Template fields:

Image 6:
![](images/image6.png)

Universal Task

Image 7:
![](images/image7.png)

**Dscription:**
- REPORTNAME for the actual name of the report (=report file) to be deployed
- REPORTSERVER_FOLDER which describes the folder where the file should be deployed to (reportingserver webfolder)
- FILEPATH denotes the location of the rdl file.

**4. Verify job execution in SAP Data Service Management Console**

Log-On to the Reporting Webserver and check that the report has been deployed (see Universal Task Parameter reportserver): WALLDORF.

e.g. http://walldorf/Reports/browse/ (user:admin/Porsche944)

Browse to the folder, where the report should be deployed (see Universal Task Parameter: REPORTSERVER_FOLDER): /myreports

Image 8:
![](images/image8.png)

# 7 Document References
This document references the following documents:

Image 9:
![](images/image9.png)





  • No labels