Skip to Content
0

fileName error in ASMA

Nov 02, 2016 at 08:32 AM

78

avatar image

hello,

I am doing configuration for SWIFT and SAP with PO single stack with the help of following link.

https://blogs.sap.com/2014/04/14/sap-pi-integration-to-different-banks-using-swiftnet-and-bcm/#respond

for the scenario, ECC to SWIFT using splitting the message into xml and par file.

here I am getting the par file , but getting error in xml - receiver channel file as follows.

--------

Transmitting the message to endpoint using connection SFTP_http:// sap.com/xi/XI/SFTP failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence) of a null object loaded from local variable fileName

-----------

I am using ASMA parameters for source (1-ftp) and target file adapters(2-ftp), the filename is also set but it is not working.

I set "DetachParameters to true, UseLocalSecurity to true and KeyId" parameters in 3 channels.

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

1 Answer

Best Answer
Khaja Sk Nov 06, 2016 at 06:51 AM
0

Closing this Thread, Found solution.

That the Namespace in the SFTP adapter I am using default one which is "http://sap.com/xi/XI/System"...due to this I am getting error.

The correct one is "http://sap.com/xi/XI/System/File" in all 3 channels.

Share
10 |10000 characters needed characters left characters exceeded