Skip to Content
0
Dec 30, 2013 at 05:20 PM

SFTP Receiver Variable Substitution Error

121 Views

Hi all,

I have a IDOC to FILE Scenario.My Receiver File Structure is as below

Record

HEADER

hdr_TYPE

hdr_mth_end

date(where date is mapped to pi system current date function)

time(where time is mapped to pi system time function)

seqnum(seqnum is mapped to constant 00000000 in pi)

ITEM

TRAILER

and I have to maintain filename at receiver side as below O_SAPECC_date_time_seqnum

So i have configured Filename as O_SAPECC_%var1%_%var2%_%var3%

and variable substition as

var1 payload:MT_Postings,1,Record,1,HEADER,1,date,1

var2 payload:MT_Postings,1,Record,1,HEADER,1,time,1

var3 payload:MT_Postings,1,Record,1,HEADER,1,seqnum,1

I am getting Variable substitution error ; 'content not allowed in prolong'.

Is sftp variable substitution is not same as File adapter?

Can anyone help on this?