on 07-13-2016 7:10 AM
Hi Everyone,
We have a File to file scenario in which file adapter is used at sender side to pick up the files and Seeburger SFTP adapter is used at receiver to place the files in Target directory.
At source directory, there are three different files with different names.
for ex;-
1. ABC.csv
2. XYZ.csv
3. MNM.csv
At target side requirement is all the three files should be placed with same naming convention along with time stamp at the end.
Required naming convention
1.ABC_timestamp.csv
2.XYZ_timestamp.csv
3.MNM_timestamp.csv
PS - only one channel is used at sender and receiver.
SFTP channel screenshot:-
please let me know, what is the configurations to maintain in receiver channel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinoth,
you can refer the below
The process of dynamic creation of files can be done we have to select the following checkbox in the receiver channel:
Localejbs/Seeburger/solution/sftp |
Localejbs/Seeburger/AttribMapper |
Localejbs/ModuleProcessorExitBean |
Use the Parameter GetCounter("ID") to the place where the counter is expected to come.
If the J2EE server is listening on a port different from 50000 (which is the standard for the SAP client 000), the port number must be configured:
http://<localhost>:<port number>/seeburger/index.html
Parameter | Value |
Namespace | http://seeburger.com/xi/SeeFunctions |
Key |
|
Value | http://localhost:50000/ (where the port number 50000 must be setaccordingly to the J2EE server configuration). |
Note: The configured value (server URL) has to end with a slash (/). Otherwise,SeeFunctions will not work correctly.
reference - Does Seeburger's SFTP adapter support dynamic f... | SCN
regards.
Harish
Hi Manoj,
I tried, but getting below error.
"Adapter Framework caught exception: AttribMapper:SEEBURGER/ATTRIBMAPPER: Message contains no XI Message
Error Delivering the message to the application using connection SFTP_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: AttribMapper:SEEBURGER/ATTRIBMAPPER: Message contains no XI Message.
"
In Sender file channel enabled ASMA and receiver SFTP channel config is in below screenshots
Hi Manoj,
After maintaining the order, messages is successfully sent but in target directory File names are not as expected.
I maintained * and unique file name option in receiver channel.
In Target directory the file name was - *_MsdId
My requirement is at target directory files should have original name as in sender directory.
Thanks
Vinoth
Can you please provide below screenshots :
Soap envelope of Dynamic Configuration in Message Monitoring showing the source filename.
and Receiver channel log of module execution.
i doubt if the File Name attribute namespace for Seeburger SFTP is http://seburger.../dtsubject usually this is used for AS2 scenarios for passing message subject.
For filename it should be http://seebuger.../FileName cross check once.
And also AttribMapper module parameter values and name should be swapped because u are assigning value from File -->Seeburger SFTP
Hi Manoj,
I changed the attribute for Seeburger SFTP as http://seebuger.../FileName and interchanged the module parameter value and name.
But still the file names are not coming in target directory. I attached the channel logs below.
Thanks
Vinoth
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.