xmlabapsapscript

Using XML to generate SAP ABAP and/or SAPScript?


Has anyone got examples and/or experience of generating SAP ABAP or SAPScript form code from XML that came from an external application?

This would help:

I'm looking for:


Solution

  • Definitely feasible - take a look at http://www.volker-wegert.de/en/mdd-sap-r3. Be aware that you really need a deep knowledge of the R/3 side before you attempt to generate anything. As a rule of thumb, if you can't create it manually, you can't generate it either.

    I'd recommend to keep the actual generation process out of the R/3 system because there are tools like EMF and the former oAW components that really kick ass when it comes to generating stuff. I'd also recommend a two-phase generation approach - generate an (external) model that represents what you want to generate in the SAP system, then transfer the contents of that model into the system. This way, the generator is much easier to debug.

    RCER http://rcer.sf.net has a (very incomplete) repository object model - that could be extended to hold whatever entities you need. Personally, I'd love to see a SAPlink <--> RCER ROM converter - don't have the time to write one myself, though. This would allow you to

    I've done pretty much the same thing, except that instead of SAPlink, I've used RFC calls. Since I've had to write the function modules to generate classes and other objects myself, it's not really reusable - and it belongs to my former employer...