cancel
Showing results for 
Search instead for 
Did you mean: 

Seeburger SFTP -> File Adapter -- Filename in reciever channel

Former Member
0 Kudos

I am using a Seeburger SFTP Sender channel, and a "FILE" channel configured to use FTP.

I need to have the FTP adapter to write the file name as it was sent by the SFTP adatper.

I looks like I will need to use variable substitutions to do this, but I can't figure out how to populate a variable with the http://seeburger.com/xi/common/dtSubject that contains the file name from the SFTP Adapter.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Was a much easier way. In the FTP Adapter (sender) I used the AttributeMapper module to map http://sap.com/xi/XI/System/File/FileName with the value @http://seeburger.com/xi/SFTP/dtSubject

In the FILE/FTP adapter, I used the adapter-specific message attribute "File Name"

No UDF required.

-G

yajjala1
Participant
0 Kudos

This message was moderated.

Shabarish_Nair
Active Contributor
0 Kudos

can you refer the user manual of the seeburger adapter?

it explain the parameters you can use for the dynamic data

Former Member
0 Kudos

The Seeburger manuals aren't very helpful.

I am able to use the FTP/File adapter to send the file to the seeburger SFTP receiver just fine. Its the other way around that is the problem.

I can't figure out how to take the seeburger adapter variable and pass that into the filename for the FILE/FTP Adapter.

Former Member
0 Kudos

All you need is 1 UDF that retrieves the value of dynamic configuration. The name space is http://seeburger.com/xi/common/dtSubject as you said. I am not sure the technical name for FileName for Seeburger adapter. But you can see this in SXMB_MONI under the dynamic configuration node. Using this value populate the dynamic configuration with name space http://sap.com/xi/XI/System/File and technical name FileName. This represents the file name for standard File adapter.

Regards

Jai

prateek
Active Contributor
0 Kudos

Instead of variable substitution, why don't you go for Dynamic Configuration.

http://seeburger.com/xi/common/dtSubject helps to retrieve the filename using Dynamic configuration only.

Regards,

Prateek