Redwood Documentation

Product Documentation

 

›Business Objects

RunMyJobsSAP Connector

Introduction

  • The SAP Connector
  • HANA Platforms

Configuration

  • Configuring the Central and Satellite Systems
  • Installing SAP JCo
  • Configuring an SAP System for Process Automation
  • SAP RFC User Privileges
  • Assigning SAP Authorizations to the RFC User
  • Connecting to SAP Systems
  • Connecting to SAP Systems with the Wizard
  • Connection Details for the ABAP Stack
  • Intercepting SAP Jobs
  • SAP Job Interception Configuration
  • Interacting with SAP Events
  • Configuration Details on Interacting with SAP Events
  • Parsing Log Files to set Status of SAP Jobs
  • Understanding the Different XBP Interface Releases

Importing SAP Objects

  • Importing Objects from SAP Systems
  • Importing ABAP Programs
  • Importing ABAP Program Parameter Definitions
  • Importing Archive Objects
  • Importing Batch Events
  • Importing SAP BusinessObjects Processes
  • Importing SAP Calendars
  • Importing SAP CCMS Jobs
  • Importing Communication Channels via PI/XI
  • Importing External Commands
  • Importing and Running Mass Activities
  • Importing Output Devices
  • Importing Process Chains
  • Importing Process Chain Definitions
  • Importing Recipients
  • Importing Variants
  • Importing Variant Definitions

SAP ABAP

  • Handling ABAP Programs
  • Controlling Batch Input Sessions
  • Handling Variants
  • Creating and Modifying Variants in Redwood Server
  • Maintaining Variants Manually
  • Maintaining Variants Automatically
  • Maintaining Variants Automatically (Advanced)
  • Using Temporary Variants
  • Default SAP Process Definitions

Business Objects

  • Main
  • Interface Configuration
  • Crystal Reports
  • Web Intelligence
  • Data Services
  • Triggering Events
  • Crystal Reports REST
  • Web Intelligence REST

Process Chains

  • Handling Process Chains
  • Running Process Chains
  • Monitoring Process Chains
  • Restarting Process Chains

SAP PI/XI

  • SAP Communication Channels with PI/XI
  • Controlling Communication Channels with Redwood Server via PI/XI

Adaptive Computing

  • SAP Adaptive Computing
  • Controlling SAP Adaptive Computing

SAP Monitoring

  • Integrating SAP Monitors
  • Configuration Details for Integrating SAP Monitors
  • Sending Monitoring Data to SAP Systems
  • Configuration Details for Sending Monitoring Data to SAP Systems
  • Monitoring Redwood Server Availability in CEN
  • Active XMB Monitoring
  • Active IDoc Monitoring

Advanced Configuration

  • Connect to an ABAP System via SAProuter
  • SNC connection to an SAP System
  • The SAP Cryptographic Library
  • Tuning Redwood Server

Legacy Systems Support

  • Enable XBP 2.0 or 3.0 Functionality
  • Enhanced SAP Interfaces with Redwood Transports
← Triggering EventsWeb Intelligence REST →

Advanced Crystal Reports Handling

Using the REST API to Retrieve a Crystal Report

In this section, we use web service calls to the BusinessObjects system, you can find full documentation to the Crystal Reports web services in the SAP Crystal Reports RESTful Web Services Developer Guide.

Prerequisites

  • The report is of type Crystal Reports for Enterprise, this is a limitation of the Crystal Reports Web Services API.
  • Credentials with sufficient privileges for running the report.
  • The id of the Crystal Report.
    • You can see the id of the report in CMC, report Properties.
  • Redwood Server 9.2.8.8 or later.

Procedure

Retrieve the Logon Token

In Business Objects CMC, navigate to Applications > RESTfull Web Service, take note of the Access URL which will be referred to as <BO_URL> in this procedure.

  1. Navigate to Definitions > Processes, choose New Process Definition, select HTTP/REST.
  2. Fill GetLogonToken in the Name field, see Source below for the source.
  3. On the Parameters tab:
    1. In the HTTP_URL parameter, fill <BO_URL>/logon/long.
    2. In the HTTP_Method parameter, fill POST.
    3. Add a parameter named Username.
    4. Add a parameter named Password, select Password in the Parameter Options to hide the password in the user interface.
    5. Add a parameter named AuthType.
    6. Add a parameter named attr with Direction Out; this parameter will contain the SAP logon token.
  4. Choose Save & Close.

Retrieve a Report as PDF

  1. Navigate to Definitions > Processes, choose New Process Definition, select HTTP/REST.
  2. Fill GetReportPDF in the Name field, see GetReportPDF Source below for the source.
  3. On the Parameters tab:
    1. In the HTTP_URL field, fill <BO_URL>/infostore/5883/rpt/export?mime_type=application/pdf.
    2. In the HTTP_Method, fill GET.
    3. Add a parameter named LogonToken.
  4. On the Options tab, select PortableDocumentFormat in the Default Output Format field.
  5. Choose Save & Close.

Retrieve a Report as CSV

  1. Navigate to Definitions > Processes, choose New Process Definition, select HTTP/REST.
  2. Fill GetReportCSV in the Name field, see GetReportPDF Source below for the source.
  3. On the Parameters tab:
    1. In the HTTP_URL field, fill <BO_URL>/infostore/5883/rpt/export?mime_type=text/csv&delimiter=;&separator='&reportSectionsOption=1&groupSectionsOption=1.
    2. In the HTTP_Method, fill GET.
    3. Add a parameter named LogonToken.
  4. On the Options tab, select PortableDocumentFormat in the Default Output Format field.
  5. Choose Save & Close.

Log Out

  1. Fill ReleaseLogonToken in the Name field, see Source below for the source.
  2. On the Parameters tab:
    1. In the HTTP_URL parameter, fill <BO_URL>/logoff.
    2. In the HTTP_Method parameter, fill POST.
  3. Choose Save & Close.

Create a Chain Definition

  1. Navigate to Definitions > Chains.
  2. Choose New Chain Definition.
  3. In the Name field, fill JC_BOReport.
  4. On the Parameters tab:
    1. Add a parameter named Username.
    2. Add a parameter named Password, select Password in the Parameter Options to hide the password in the user interface.
    3. Add a parameter named AuthType, select List in the Simple Constraint Type field, fill secEnterprise,secLDAP,secWinAD,secSAPR3 into the Simple Constraint Data field.
  5. On the Diagram tab:
    1. Under Step 1, choose the first process and fill GetLogonToken into the Process Definition field.
    2. Map parameters Username, Password, AuthType to their respective chain parameters.
    3. Add another step by choosing the [+] to the right of Step 1.
    4. Fill GetReportPDF into the Process Definition field of process 1 of Step 2.
    5. Map parameter LogonToken to parameter attr of GetLogonToken in the first step.
    6. Add another process to Step 2.
    7. Fill GetReportCSV into the Process Definition field of process 2 of Step 2.
    8. Map parameter LogonToken to parameter attr of GetLogonToken in the first step.
    9. Add another step by choosing the [+] to the right of Step 2.
    10. Fill ReleaseLogonToken into Process Definition field of process 1 of Step 3.
    11. Map parameter LogonToken to parameter attr of GetLogonToken in the first step.
  6. Choose Save & Close.

GetLogonToken Source

<attrs xmlns="http://www.sap.com/rws/bip">
  <attr name="password" type="string">${Password}</attr><attr name="clientType" type="string"></attr>
  <attr name="auth" type="string" possibilities="secEnterprise,secLDAP,secWinAD,secSAPR3">${AuthType}</attr>
  <attr name="userName" type="string">${Username}</attr>
</attrs>
[headers]
Content-Type=application/xml

GetReportPDF Source

[Headers]
X-SAP-LogonToken=${LogonToken}

ReleaseLogonToken Source

[Headers]
X-SAP-LogonToken=${LogonToken}

See Also

Scheduling SAP BusinessObjects Reports

← Triggering EventsWeb Intelligence REST →
  • Using the REST API to Retrieve a Crystal Report
    • Prerequisites
  • Procedure
    • Retrieve the Logon Token
    • Retrieve a Report as PDF
    • Retrieve a Report as CSV
    • Log Out
    • Create a Chain Definition
    • GetLogonToken Source
    • GetReportPDF Source
    • ReleaseLogonToken Source
  • See Also
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |