Java Spring MVC application integrated with SAP ERP

632 views Asked by At

This is not the place but I could not find any place to write.

I am developing a spring mvc app and I need to integrate it to SAP. But I do not have SAP as you guess. I have related JCO libraries but how can I develop codes without having SAP for instance fetching user data, material data vs...

How IT companies develop this kind of appliactions?

What can I do?

1

There are 1 answers

0
Frank Beise On

Same situation here (SAP JCO 2.x). Our workaround: On the target systems every incoming IDOC is exported as xml (Idoc.Document#writeXML). For testing, debugging etc. we implemented a JDom based wrapper (implementing Idoc.Document (JDom document) and Idoc.Segment (for each JDom element)). So we can import the xml and do further processing on this Idoc.Document as usual. Maybe it's only useful for simple cases, but has the additional advantage of a possible reimport in case of failure.