Skip to Content

PI SFTP adapter with variable substitution

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 05, 2014 at 02:50 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2014 at 03:10 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2014 at 04:10 PM

    Thank you Azhar and Hareesh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.