Skip to Content
Aug 19, 2015 at 01:06 PM

XML Schema Validation


Hi Experts,

I'm facing an issue with xml schema validation .


File (NFS)->PI->ECC.

We are getting incorrect structure from Source system and we need to validate at PI. If we get incorrect file we need to sent the file to error folder by the feature of archive faulty source files. No content conversion involved.

Based on standard SAP PDF we implement Schema validation. But still the schema is not validating.

We have done the below steps to implement xml schema validations.

1.We have created RFC destination AI_Validation_JCOSERVER as Abap and as Java.

2.We have created the Path in AL11 and copied the xsd in the below path which needs to compare.



3.We have opted the Validation by adapter in Sender agreement .

If we opt this option correct files also moved to error folder.


Schema needs to validate at adapter level and move the error file to error folder.

let me know if you need any other information to solve this issue.

I have searched so many blogs and I didn't find the solution.

Its a urgent requirement ,kindly let me know your suggestions.