on 06-30-2010 3:27 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you refer the user manual of the seeburger adapter?
it explain the parameters you can use for the dynamic data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.