cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for the way to validate XML file before file adapter pick up

Former Member
0 Kudos

We got "java null pointer" exception in our sender file adapter, so we need to handle it:

Validate the xml file adapter before file adapter pick it up, not after file is picked up, e.g. if the xml file is not valid (missing closing tag etc. ), file will not be picked up.

I searched the forum and most people do validation after file adapter picks the files

Thanks for your advise.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

This can be possible through Adapter modules as explained above also.

See the below link

https://websmp108.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf

Regards

Chilla

agasthuri_doss
Active Contributor
0 Kudos

Hi,

With the help of Adapter Module we can acheive it.

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi,

Check this out which may help you:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=...ValidationsinSAPXI-ACaseStudy.pdf

/people/dmitry.govberg/blog/2007/02/12/informing-the-sender-about-bad-records

---Satish