Guides for SAP Integration Suite Groovy scripts
Practical guides for writing and testing Groovy scripts in SAP Integration Suite. Every example can be run in the GrooveBox playground.
- SAP Integration Suite Groovy script examples: a cheat sheetReady-to-use SAP Integration Suite Groovy snippets: body, headers, properties, XML, JSON, XML to JSON, MPL, value mapping, secure store, partner directory, dates. For Groovy 2.4 and Groovy 4.
- Common SAP Integration Suite Groovy script errors and how to fix themunable to resolve class, No such property, Cannot invoke method on null object, Content is not allowed in prolog, JsonException, GroovyCastException: causes and fixes for SAP Integration Suite Groovy scripts.
- How to test SAP Integration Suite Groovy scripts without deploying an iFlowRun SAP Integration Suite Groovy scripts in seconds with your own payload, headers, properties and value mappings, check the output and the MPL, then deploy with confidence.
- Groovy 2.4 vs Groovy 4 in SAP Integration Suite: what changes for your scriptsThe changes that break SAP Integration Suite Groovy scripts on Groovy 4 and Java 17 (XmlSlurper package, BASE64Encoder, Date helpers, Script API v2 Message) and how to test on both runtimes.
- Value mapping lookups in SAP Integration Suite Groovy scripts (ValueMappingApi)How to read SAP Integration Suite value mappings from a Groovy script with ValueMappingApi getMappedValue, handle missing mappings and test lookups without a tenant.