on 09-21-2017 5:33 PM
I have a requirement to pick files from BCM and send to SWIFT network and get the acknowledgement files back. BCM creates only a Payment file which has got the signature in it and the requirement is to send 2 files, a payment file and an par file to SWIFT. As per my understanding I have built the following:
We are on PI 7.4 dual stack.
Based on the above requirement we used FTP(Sender) to FTP(Target) .Scenario works with file adapter (FTP to FTP),We are able to pick files from sender and able to split into two files payload and par file,but we have request to use receiver as SFTP now,
1. SWIFT 622 package provided by SAP.
2. Multimapping for paylaod and par file
3. Created the communication channels
a. File sender (FTP) channel (to pick files from server
b. Two File receiver (SFTP) channels for Payload and par files (to send to SWIFT)
3. Added the adapter modules in the communication channels.
1.Sender CC Module parameters:
1 localejbs/swift/FileActConversionToSWIFTModule Local Enterprise Bean 1
2 CallSapAdapter Local Enterprise Bean 2
Module confoguration :
1 DetachParameters true
1 KeyId SWIFT
1 Service swift.corp.fa
1 UseLocalSecurity true
2.Receiver CC Module parameters
1 localejbs/swift/FileActConversionToSWIFTModule Local Enterprise Bean 1
2 localejbs/ModuleProcessorExitBean Local Enterprise Bean exit
Module Configuration
1 DetachParameters true
1 KeyId SWIFT
1 Service swift.corp.fa
1 UseLocalSecurity true
1 VerifyBackendSignature true
exit JNDIName deployedAdapters/com.sap.aii.adapter.sftp.ra/shareable/com.sap.aii.adapter.sftp.ra
Here the problem is same module beans is working for FTP receiver adapter with port 21 and the same for SFTP receiver adapter with port 22 is not working,messages are getting holding status in message monitoring.
Checked various blogs related to swift fileact interfaces and also the below link,but no solution.
https://blogs.sap.com/2014/04/14/sap-pi-integration-to-different-banks-using-swiftnet-and-bcm/
Can anyone please help me out who has knowledge on swift interfaces
Note: Holding messages are not related to normal PI Holding messages.
Regards,
Muni
Thanks all,Issue has been resolved after re-installing the certificate and cleared EOIO messages.
Regards,
Muni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muni,
Try to you set the VerifyBackendSignature to false and resend messages.
Best regards,
Mate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muni,
SWIFT modules are not restricted to and adapter you can use the same in FTP/SFTP the module parameters remain same.
Usually you have an option "Maintain Order at Run Time" to deliver the Payment file first and then the parameter file so i would suggest you to check if there are any waiting/failure of messages in PI. http://host:port/MessagingSystem
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just for testing purpose remove the "maintain order" and trigger and see if you the parameter file gets delivered . in your adapter engine filter the message based on sequence id i.e queue name then sort it accordingly on the ascending sequential number . this holding should be of pi failure/waiting only never has such issues in swift integration.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.