on 05-21-2014 9:48 AM
Hi, good morning,
I am currently setting up a communication channel SFTP, which will process multiple files configured in the list "Additional File".
When I analyze the communication channel in the "Run Time WorkBench" this is the result:
Picture - Communication channel
I searched what should be the syntax or configuration of the "Additional File" in SFTP adapter but i don't find it. This is my configuration:
Picture - Communication channel_configuration
On the other hand, I compare FTP Additional file with SFTP but It isn't the same.
Could you help me set it up properly?
Thank you very much.
Hi Alvaro
The following link details the configuration option for the SFTP adapter.
https://help.sap.com/saphelp_nwposc/helpdata/en/2e/99f0fb5a9e45b3b148c90e87fafcd1/content.htm
If you scroll all the way to the Additional Files section, it branches off to another link. This second link is for the standard File/NFS adapter.
Specifying Additional Files in the Sender File Adapter - Advanced Adapter Engine - SAP Library
Therefore, the SFTP adapter configuration should be the same as the NFS configuration.
Based on that, your configuration seems incorrect.
You can refer to the following config where it is trying to pick up file1.ok, file1.head and file1.item.
Please note that for this to work, the filenames must fulfill the following condition. In the example above, the suffix is "file1".
All file names must be identical except for a defined part (such as the suffix).
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eng,
In my case I do not see clearly as do it.
My current scenario processes the following messages in the source folder:
XETEX19E.ddaseaggge
XETEX34E.dawegwagwe
XETEX42E.dfwefFEFEF
The current configuration in my FTP communication channel (Additional File) is:
Picture - Example
I don't see how i can apply the corrrect configuration (.namePart) for my files.
Any idea?
Thanks for all.
Best Regards
Hi Alvaro
Are the filenames and extension always the same?
XETEX19E.ddaseaggge
XETEX34E.dawegwagwe
XETEX42E.dfwefFEFEF
If yes, you can do something like this:-
File Name = XETEX19E.ddaseagge
File List = 34E, 42E
Additional files config:
34E.namePart ---> "19E.ddaseagge"="34E.dawegwagwe"
42E.namePart ---> "19E.ddaseagge"="42E.dfwedFEFEF"
If the names and extensions are not the same, please share the actual values so that it can be analysed further.
Rgds
Eng Swee
Hi Eng,
I need to put "*" because the right part of the filename (after the point) could change.
For example i can recieve:
XETEX19E.ddaseaggge or XETEX19E.ddaseaggda or XETEX19E.ddadd and other.
Can i put * in the namePart definition? For example:
"19E.*"="34E.*"
Picture - NewOption
When I try it I obtain this error:
Picture - Other
Do i need to know the exact FileName?
Thanks.
Regards.
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.