cancel
Showing results for 
Search instead for 
Did you mean: 

can sFTP sender channel can pick two format files(fixed lenght and '|'pipe delimited)

Former Member
0 Kudos

Hi,

I got a scenario where PI picks the file using sFTP adapter and sends to different ECC systems. But the sender system may send two format of files one as Fixed length and another is pipe delimited. But both contains same column names. how do i need to do the message mapping as i need to split the flat file into idoc and File format to send it ECC systems, also can i use the same directory to pick both the files or there should be different directory for PI to pick the file.

Accepted Solutions (1)

Accepted Solutions (1)

rhviana
Active Contributor
0 Kudos

Hi Selva,

I think it's more interesting the files into differents folders, in this case will be easy for you use CONTENT Conversion, for fixed values and others do "|".

How to do that:

http://www.riyaz.net/sap/xipi-file-content-conversion-for-complex-structures/79/

http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

You can use a javamapping to slipt the file and send do IDOC fields.

Kind regards,

BR.

RicardoViana.

Former Member
0 Kudos

Hi RicardoViana.

I am new to PI7.30

What type of message mapping i can go with. My files are simple structure like below: based on the delivery number  ranges(depends upon each receiver system)  need to split the file in to Idoc and File.

Dlv.Number | date|   |    |   bill number| | name

XXXXXXXXX | xx/xx/xxxx| | | xxxxxxxxxxxx| | ttttttttttt

XXXXXXXXX | xx/xx/xxxx| | | xxxxxxxxxxxx| | ttttttttttt

Thanks in Advance.

rhviana
Active Contributor

Answers (0)