Blog Post

Configure ProcessDirect Adapter in SAP Cloud Integration

October 31, 2023

Are you struggling to configure the ProcessDirect adapter in SAP Cloud Integration? You've come to the right place. In this blog, we'll walk you through the step-by-step process to set up the ProcessDirect adapter effectively. Whether you're a seasoned SAP expert or a newcomer to the world of integration, we'll ensure you have a clear understanding by the end of this blog.

Understanding the ProcessDirect Adapter

Before we dive into the configuration process, let's take a moment to understand what the ProcessDirect adapter is and why it's essential in SAP Cloud Integration.

The ProcessDirect adapter is a powerful tool that allows seamless integration between different systems and applications within the SAP Cloud ecosystem. It facilitates the transfer of data and messages from one application to another, ensuring that information flows smoothly and efficiently.

Prerequisites for Configuration

To configure the ProcessDirect adapter successfully, you need to ensure that you have the following prerequisites in place:

  1. Access to SAP Cloud Integration: You must have access to your SAP Cloud Integration environment with the necessary permissions to make configuration changes.
  2. Knowledge of Integration Basics: A fundamental understanding of integration concepts, including endpoints, interfaces, and message processing, is beneficial.
  3. Credentials and Endpoint Information: Gather the required credentials and endpoint information for the source and target systems you intend to integrate.

Step-by-Step Configuration Guide

Now, let's deep dive into the configuring the ProcessDirect adapter in SAP Cloud Integration.

We will create the two integration flows in the Integration package of Cloud Integration and our agenda is to call the second integration flow from the first one using the ProcessDirect Adapter in which the first integration flow will work as ProcessDirect Sender and the second will act as the ProcessDirect Receiver.

Now we will configure the two flows one by one.

First Integration Flow

We will configure the Integration flow in such a way.

  1. Open the Integration flow and click on Edit.
  2. Connect the Sender with the Start using HTTPS adapter and configure the endpoint.
  3. Add the "Content Modifier" and add the Message Body to it.
  1. Add the Request-Reply to the flow and connect that to the Receiver using the ProcessDirect Adapter. In the Connection tab of the ProcessDirect Adapter give the endpoint as shown in below.
  1. In the last step we will add the GroovyScript, which will print the payload as the attachment.
  1. Save the Integration Flow, but remember do not deploy it.

Second Integration Flow

The second integration flow will look like this.

  1. Connect the Sender with the Start by using the ProcessDirect Adapter. In the Connection tab of the adapter provide the same endpoint which we have provided in the step no4. of First Integration Flow.
  1. Add the Content Modifier and in the message body provide the random message as shown below.
  1. The message of the first flow will come up in the ${in.body}.
  2. Save the integration flow and deploy it.

Monitor the Flows

  1. Open the Monitor Section of Cloud Integration and see if both the iflows have been started or not. If not wait for them to get started.
  1. Click on the First Integration Flow and you will navigate to the Monitor Message Processing Screen. There navigate to the Logs tab and under Attachments section there is the Response Payload. Click on that payload.
  1. When you will navigate to the ResponsePayload1, you will see the both the message.

This shows that the first integration flow calls the second integration flow, the second executed and then returned to the first executed the groovy script to provide response as the payload. This is possible due to the ProcessDirect Adapter.

Conclusion

In conclusion, configuring the ProcessDirect adapter in SAP Cloud Integration is a vital step in ensuring seamless data exchange between different systems and applications. By following the steps outlined in this guide and adhering to best practices, you can create a robust and efficient integration flow that will help your organization stay ahead in the competitive world of business integration.

So, go ahead and configure your ProcessDirect adapter with confidence!

LinkedIn 
Forbes Technology Council, Official Member (2022)
LinkedIn
Forbes Technology Council, Official Member (2022)

About the Author

Jaspreet is an Executive Consultant with expertise in SAP, SaaS/Cloud Integrations, Cyber Security and Data Science. Jaspreet is hands-On Architect who does Pre-Sales, Solution Architecture, Development, Lead Delivery of Complex Integration programs, Manage disperse teams and Ensure successful Project Go-Live/Goals. He has made a lasting impact on global businesses IT projects including Aflac, Advanced Energy, Donnelley Financial Solutions(DFIN), Dell EMC and many more.

Do you want to
learn more about integration?

We are dedicated to make our knowledge accessible. You can either figure it out by yourself or you can let us give you a hand.

Let us take care of your integration.

We are SAP Certified and we can make your project happen. Explore our services and contact us. We will be happy to take on your project.

View Our Services