Skip to Content

fileName error in ASMA

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 06, 2016 at 06:51 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded