Skip to Content
0
Nov 02, 2020 at 11:42 AM

Partner Directory lookup for SFTP Sender - SAP Cloud Platform Integration

215 Views

I have been working on using Partner Directory in integration flows for connection parameters.

I am able to reference the partner directory ok for the RECEIVER (SAP)

However, I have not found a method to reference Partner Directory values in the SFTP SENDER connection. Would anyone be able to advise about this?

Use content modifier and set exchange property value

Then in a Groovy Script Step, use the RECEIVER_ID set previously to obtain the RECEIVER_ADDRESS:

Then parameterise this in the Receiver Connection as shown below:

However, I am not able to do the same for the Sender SFTP Connection - for example for 'ADDRESS' (Host) because the connection is done before I can add further steps.

Could anyone advise about how best to achieve this?

Blogs which I have reviewed, for reference.

Step by step example

https://blogs.sap.com/2017/07/25/cloud-integration-partner-directory-step-by-step-example/

Dynamically Configure SFTP Adapter

https://blogs.sap.com/2020/05/29/cloud-integration-dynamically-configure-the-sftp-receiver-adapter/

https://blogs.sap.com/2017/08/22/cloud-integration-partner-directory-partner-dependent-xml-structures-and-ids/

I would like to avoid using Groovy Script to do the SFTP connection if possible, unless this is the only way?

https://blogs.sap.com/2018/04/17/accessing-file-from-sftp-server-in-middle-of-an-iflow/

Attachments

ecgrl.png (8.1 kB)
nsybz.png (13.1 kB)
uzlqw.png (41.8 kB)
a6q5u.png (14.1 kB)
tdxjz.png (8.2 kB)