cancel
Showing results for 
Search instead for 
Did you mean: 

PI SFTP adapter with variable substitution

former_member97292
Participant
0 Kudos

All,

My intent is to add a "-" between the file name and the time stamp.  There is a SAP note that removed the hyphen from happening automatically.

I cannot find the available entries for SFTP for the circled field.  Any clues?

The documentation I found discusses the Reference entries like message:interface_name but the documentation does not explain what interface_name is.

Here is the Destination tab.  I have tried various approaches without luck.

Any ideas?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

azharshaikh
Active Contributor
0 Kudos

Hi,

1. there is no option as such message:Filename..it supports only the following values :

You can specify the following attributes of the message header:

sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace.

These are standard attributes.

2. In ASMA, replace the default namespace  http://sap.com/xi/XI/System with  http://sap.com/xi/XI/System/File

3. If you want to pass the File name (with _ DateTime stamp ) as is from Source to Target, you can use the Dynamic Config option to achieve this.

Hope it helps

Regards,

Azhar

Answers (2)

Answers (2)

former_member97292
Participant
0 Kudos

Thank you Azhar and Hareesh.

former_member184720
Active Contributor
0 Kudos

Everything has already been answered by Azhar but just FYI.. you have define the variables in lower case when you go with variable substitution.