Skip to Content
avatar image
Former Member

PI7.3 SFTP Adapter - No attchements while using variable substituion

Hi guys,

let me tell my issue.

I have the requirement in a SFTP to SFTP scenario to transfer all files (filenames stays the same) from sourcefolder to at runtime defined targetfolder with an specific signature.

E.g. RECEIVED.SAP.Currentdate.

My solution was to use variable substitution.

I create a simple graphical mapping to create the dynamic directory information for using in the variable substitution.

The result was, that the Directory was created in the right form, but the content of the delivered file is the result of the mapping instruction now.

Before using variable substitution the files were 1:1 transfered.

Does anybody knows about that behaviour and what could be a solution to fullfill this requirment?

Cheers

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 07, 2015 at 12:15 PM

    Hi Hartmut,

    From my understanding, I see you are facing issue with the content of the file.

    Does the directory name specifying field is as part of structure definition, or you manually adding it to fulfill variable substitution.

    Can you check the option of dynamic configuration at mapping level using udf, or using dynamic configuration standard module bean at channel level itself.

    Adding DynamicConfigurationBean in the Module Processor - SAP NetWeaver Process Integration - SAP Library

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      this will also not help.... as i described before, wihout any UDF or "variable substitution" the handling of the attachments works as expected.