You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

file layout error handling

1 reply [Last post]
Guest's picture
Guest

I need to create a Rejected File that contains the data rejected by the File LAyout during inbound using AE. The File Layout writes the rejected data into the Log file, but do not write the error field data.
ex: For wrong date format, it writes into the log file all the data in the row except the error data (date in this case) specifying that there is an error in the date. I need to put the date also in the rejected file.
Also i need to prefix 'R' for each row in the rejected file(FileLayout has child segments). (Doesn't workout for child rows.).

Guest's picture
Guest (not verified)
Re: file layout error handling

Hi,

The simple way of solving the issue is by using error handling try catch method, i.e in Catch block you can add the code to manipulate the data.
[Note: Think time function act differently in catch block].

Regards,
Aravind