Skip to Content
0

Swift Fileact interface Payload and parfile issue with Holding status

Sep 21, 2017 at 04:33 PM

203

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Manoj K Sep 25, 2017 at 09:41 AM
0

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

HI Manoj,

Thanks for your reply.We already maintained the above option and no waiting/failure messages in PI.

0

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.

0
Former Member
Manoj K

Hi Manoj,

Tested based on your inputs. .but same holding status error...

0
Mate Moricz
Sep 26, 2017 at 02:53 PM
0

Hi Muni,

Try to you set the VerifyBackendSignature to false and resend messages.

Best regards,
Mate

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

HI Mate,

Tried the above option already,but no luck.

Validated the certificates from STRUST in ECC and PI keystore view as well and its looks good.

But no luck :-(

0

Hi Muni,

Can you share with what error do the messages fail?


Best regards,
Mate

0
avatar image
Former Member Oct 23, 2017 at 12:24 PM
0

Thanks all,Issue has been resolved after re-installing the certificate and cleared EOIO messages.

Regards,

Muni

Share
10 |10000 characters needed characters left characters exceeded