Skip to Content
Former Member
Sep 21, 2012 at 07:47 PM

Splitting of a file


Hi All,

I have a requirement where xml file is coming from the source having multiple records, now i have to do some field value checks like date is in correct format, the value should be greater than 4 and many more and if the validation is sucessful i have to pass that record to Idoc and if any of the validation fails then i have to create an error file with that invalid record.

Note: Suppose file is having 10 records and out of them 5 records are not fulfilling the validations then i have to create 5 idocs in ECC and rest 5 source records needs to be send to an error file folder.