cancel
Showing results for 
Search instead for 
Did you mean: 

XML Schema Validation

rajesh_adiraju
Explorer
0 Kudos

Hi Experts,

I'm facing an issue with xml schema validation .

Flow:-

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.

Ex:

<Server>Server0_Validation\Schema\........

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

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

Requirement:

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.

Regards,

raj.

Accepted Solutions (0)

Answers (1)

Answers (1)

RaghuVamseedhar
Active Contributor
0 Kudos

Rajesh,

Seems you are working on PI 7.1. XML Validation when introduced in PI 7.1 was very complex, later versions of PI it is simple. Please let us know the document you have followed.

How to Perform XML Validations in SAP NetWeaver... | SCN