Cloud Integration Groovy Examples
Groovy scripts for SAP Integration Suite, Cloud Integration (CPI), each with context, an explanation, and input and output examples.
Groovy scripting is an integral part of Cloud Integration. The goals of this collection are:
- Providing templates when you are implementing a new script
- Easily finding Groovy functions related to the CPI topic at hand
- Minimizing search engine time for common tasks
- Providing educational content for beginners
The examples live in aGitHub repository, and contributions are welcome.
Examples
- Adding UTF-8 BOM to Any Payload
- Basic Script Example for Beginners
- CSV to XML Example (Manual)
- EDI Segment Counter
- Excel XLS to XML Conversion
- Filename MPL Custom Header Property
- Getting HTTP Error Body
- Getting SOAP Error Body
- Handle Large Input/Output Data with Groovy IDE
- Log All the HTTP Headers as JSON
- Merge Two XML Documents
- Merge Two XML Documents v2
- MPL Custom Header Property
- MPL Payload Log
- MPL Logging Based on Flow log level
- Reading Credentials
- Getting a specific file from SFTP
- Use External JAR Library with Groovy IDE
- Convert XML to CSV (Manual)