Skip to Content
0
Former Member
Feb 11, 2011 at 12:18 PM

PI FTP Adapter: u201CAdd Time Stampu201D adds a subdirectory instead of a prefix

25 Views

SAP PI FTP Adapter: u201CAdd Time Stampu201D will add a subdirectory instead of a prefix to the file name.

Flow: SAP ECC 6.0 <- Idoc <- XI/PI 7.0 - FTP Adapter <- Partner

Incoming file: "xxx_ack_MATMAS_pdt_80271":

Adapter Add Time Stamp will add new subdirectory: "20110210-023047-618_/"

It should only add a prefix to the filename: "20110210-023047-618_"

So the problem is the "/" it is adding, which creates a new subdirectory.

The error:

Attempt to archive file "/data/XIinterface/PRD/DWMS/FR/Inbound/Archive/20110210-023047-618_/xxx_ack_MATMAS_pdt_80271" after processing failed with java.io.FileNotFoundException:

(No such file or directory).

The directory that exists on the OS is:

"/data/XIinterface/PRD/DWMS/FR/Inbound/Archive/u201D

The directory that is attempted to be created is:

"/data/XIinterface/ PRD/DWMS/FR/Inbound/Archive/20110210-023047-618_/u201D

Solutions:

1. Unselect u201CAdd Time Stampu201D -> Partner is sending the Time Stamp

2. UDF (User Defined Function) -> remove the "/"

Regards

Metusala Dikobe