on 12-30-2013 5:20 PM
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?
Hi Sahana
You can try the same with Dynamic Configuration. Below document will help you to do that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sahana,
Not sure if this works, Remove SWCV from your ICO and test it.
http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/08/15/reading-binary-file-using-ico
Change the encoding of receiver channel as mentioned in the below blog
http://scn.sap.com/thread/3207897
Regards,
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AFAIK, There is no spl implimentation.
Can you make sure you dont have any invalid binary characters in the message?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.