Skip to Content
0

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

Feb 27, 2017 at 12:26 PM

471

avatar image

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

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

5 Answers

Harish Mistri Feb 28, 2017 at 12:55 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Shakti Singh Feb 28, 2017 at 07:30 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Feb 28, 2017 at 04:10 PM
0
Share
10 |10000 characters needed characters left characters exceeded
Nabendu Sen Feb 28, 2017 at 04:48 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Avinash Ayanala Mar 01, 2017 at 02:57 PM
0

Hi Shakti,

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

Regards,

Avinash.

Share
10 |10000 characters needed characters left characters exceeded