on 11-20-2018 7:55 AM
Hello!
My goal is to forward a file and its file name from an SFTP sender to an FTP receiver. I already tried ASMA but the system only forwards the dummy value taken from "File Name Scheme". We do not use any message mapping. It's just a file forwarding. I also found an information regarding variable substitution but I don't know how to access the content of the value "File Name" (test_invoices.XML):
<SAP:DynamicConfigurationxmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Recordnamespace="http://sap.com/xi/XI/System" name="FileName">test_invoices.XML</SAP:Record><SAP:Recordnamespace="http://sap.com/xi/XI/Message/30/general" name="senderAgreementGUID">5a1f6e3d0d88387596b555d0cfc31d42</SAP:Record></SAP:DynamicConfiguration>
Does anyone know how to solve this problem?
Thanks in advance,
Christian
Hi Christian!
It's worth mentioning that SFTP and File(FTP) adapters use different namespaces for ASMA attribute "FileName".
Just change default namespace "http://sap.com/xi/XI/System" to "http://sap.com/xi/XI/System/File" in SFTP adapter properties and, I guess, your File adapter will be able to use that attribute for setting the file name.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Evgeniy,
thanks a lot for your answer which was the solution for my problem.
Regards, Christian
Hi ,
ASMA should work in you'r case . Can you show the complete sender / reciever channel config ?
Br,
Manoj
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.