Skip to Content
avatar image
Former Member

SFTP to FTP - Dynamic file Name not working - No ESR

Hi PI Gurus,

Need your help guys.

I am working on pass through scenario without ESR (SFTP(Sender) to FTP(receiver)).

Issue i am facing here is:

ASMA parameter for generating file name dynamically is not working and throwing error as

(Adapter Message Property FileName was configured as mandatory element, but was not supplied in the XI Message header).

Please Note below:

1. Checked ASMA parameters in both sender and receiver channels.

2. Tried with below namespaces in ASMA parameters in SFTP channel but no luck.

http://sap.com/xi/XI/System

http://sap.com/xi/XI/System/File

http://sap.com/xi/XI/System/SFTP

http://sap.com/xi/XI/SFTP

http://sap.com/xi/XI/SFTP/SFTP

Please help me in resolving this issue.

Thanks in advance.

Regards,Shakti

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Feb 28, 2017 at 12:55 AM

    Hi Shakti,

    The below namespace should work

    http://sap.com/xi/XI/System/File

    Please refer the below blog for SFTP dynamic configuration

    https://blogs.sap.com/2015/10/30/dynamicconfigurationbean-in-sftp-receiver-adapter/

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28, 2017 at 07:30 PM

    Thanks Harish for your feedback.

    File name scheme in SFTP sender: .* and FTP receiver is *

    ASMA is checked.

    Not sure why it is not working :(

    Regards,

    Shakti

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28, 2017 at 04:10 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28, 2017 at 04:48 PM

    I hope you are using SAP SFTP Adapter and not SEEBURGER SFTP.

    http://sap.com/xi/XI/System/File should be fine at the Sender SFTP.

    Receiver FTP:


    Regards,

    Nabendu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 01, 2017 at 02:57 PM

    Hi Shakti,

    Did you tried to enable both sender and receiver channels ASMA variables and tested it.

    Regards,

    Avinash.

    Add comment
    10|10000 characters needed characters exceeded