SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Learn how to migrate JDBC Lookups from SAP Process Orchestration to Cloud Integration

This tutorial is developed into three different steps, one for the SAP Process Orchestration and the other two are distinct options with different processes for the Cloud Integration capability of SAP Integration Suite.

Overview

🎓 intermediate 40 min. SAP Integration SuiteCloud IntegrationSAP Process IntegrationSAP Process OrchestrationIntermediate

You will learn

  • How to use the JDBC Lookup function on SAP Process Orchestration
  • How to create an alternative JDBC Lookup on Cloud Integration
João Henriques J João Henriques March 27, 2024
Created by January 25, 2024
Contributors

Prerequisites

Prerequisites

  • SAP Process Orchestration package needs a JDBC connection allowance
  • Database is accessible for SAP Process Orchestration and Cloud Integration
  • Create a JDBC Driver and JDBC Data Source for connecting to the database

Steps

In this sample scenario we are moving data from system A to system B and enrich with content data.

Intro

JDBC Lookup is a method used to enhance a specific set of data retrieved from a given data source with extra inputs. This method can be done in both platforms, SAP Process Orchestration and Cloud Integration, in three distinguished ways, one dedicated operation in SAP Process Orchestration and two created in Cloud Integration. The main difference between them is the number of messages sent. SAP Process Orchestration sends one SQL Statement per key wanted, where the solutions created in Cloud Integration send one SQL Statement with all the information required. In Cloud Integration this method does not have a single specific approach to operate the JDBC Lookup, but it can be done by two simple integration flow systems shown later in this tutorial.

Step 1 Configure the JDBC Lookup function on SAP Process Orchestration

In the SAP Process Orchestration there is an out of the box function that operates the JDBC Lookup, called JDBC Lookup. To operate the previous method mentioned, we need to follow these steps:

  1. Create Business Component and Communication Channel with type JDBC Receiver and fill the information for the Database Connection.

    JDBC Receiver
    JDBC Receiver

  2. Create an External Definition with category: ‘dbtab’ and messages: ‘Do Not Extract’, as shown in the image below.

    External Definiton
    External Definiton

  3. Select the Communication Channel previously created and the desired fields from the Data Source.

    Select Database
    Select Database

  4. Create a Message Mapping and in ‘Signature’ create a parameter with (‘Adapter’, ‘JDBC’, ‘Import’).

    MM Parameter
    MM Parameter

  5. Still in Message Mapping in ‘Definition’ - ‘Conversions’ select the function ‘JDBC Lookup’ and follow this URL to better understand the JDBC Lookup Function.

    JDBC Lookup
    JDBC Lookup

  6. Create an Operation Mapping and attribute the Service Interface and Message Mapping and add a parameter in the same way as we did previously in the Message Mapping (‘Adapter’, ‘JDBC’, ‘Import’).

    OM Parameter
    OM Parameter

For this method to work we need to make sure that the package has JDBC connection allowance.

Note: Step 1 is done in the Integration Builder while the remaining are done in ESR.

Step 2 Create the JDBC Lookup function on Cloud Integration using XSLT Mapping
+
Step 3 Create the JDBC Lookup function on Cloud Integration using Process Direct
+
Step 4 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Configure the JDBC Lookup function on SAP Process Orchestration 2. Create the JDBC Lookup function on Cloud Integration using XSLT Mapping 3. Create the JDBC Lookup function on Cloud Integration using Process Direct 4. Test yourself

Learn more →