Skip to Content
Personal Insights
Author's profile photo Eng Swee Yeoh

Learn to Develop Groovy Scripts for SAP CPI with Our New SAP PRESS E-Bite

Oh Say Can You Say Groo-vy?

One of the most frequently asked questions related to SAP Cloud Platform Integration on SAP Community is about Groovy. It ranges from where to start learning about Groovy to a specific Groovy-related task/issue that needs to be addressed. While GroovyΒ has been around for a while, its usage in the SAP ecosystem is quite recent. It is used as one of the scripting languages in SAP Cloud Platform Integration. Therefore a literature gap exists in the specific area of Groovy in the context of SAP Cloud Platform Integration, and thus the source of many of the above mentioned questions.

 

Would You Like a Bite?

With that in mind, Vadim KlimovΒ and myself got together to address this by writing an SAP PRESS E-Bite. After more than six months of intense writing and editing, it is our pleasure to announce that it is now ready for YOU! The E-Bite will be available from SAP PRESS beginning this Thursday, 18 June 2020.

Developing Groovy Scripts for SAP Cloud Platform Integration

Developing%20Groovy%20Scripts%20for%20SAP%20CPI

Developing Groovy Scripts for SAP CPI

 

Despite trends like the low-code movement, and software vendors’ efforts to simplify and standardise their products, it is our experience that integration has not become significantly simpler. On the contrary, with hybrid landscapes being the norm, integration requirements have become more diverse. For Vadim and myself, we have invested our time and energy over the past few years to learn and master Groovy, as we are convinced that it allows us to tackle the whole range of integration requirements. We would like to share with you the tips, tricks and learning paths that we have consolidated from our own journeys.

If you are interested in honing your skills in the same manner, we recommend you to pick up this E-Bite and go down the rabbit hole with us!

 

What’s Down the Rabbit Hole?

Similar to Alice’s adventure in Wonderland, your journey through the E-Bite will be action-packed and filled with adventures! There are tonnes of examples and code for you to try out, and it is peppered with treats that help to increase your productivity. Along the journey, you will also discover answers to some of these questions:

  • How to code in a “Groovier” manner?
  • Where to write/develop Groovy scripts – in CPI’s web UI, in Notepad, or in an Integrated Development Environment (IDE)?
  • Why are there different variants of accessing the message body:
message.getBody(java.lang.String.class)
message.getBody(java.lang.String) as String
  • And why we recommend the following instead, and how it actually works?!
message.getBody(Reader)
  • How to simplify transformation from one JSON structure to another without using the built-in JSON<->XML converters?
  • What happens under the hood in CPI, when an iFlow is deployed?

No matter if you are a beginner or an experienced developer, there is bound to be something that you can learn from it.

 

Start Your Journey Today!

Ready to start your Groovy journey?Β Head on to SAP PRESS to get yourself a copy of the E-Bite.

Assigned Tags

      20 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Morten Wittrock
      Morten Wittrock

      Congratulations on the book, Eng Swee and Vadim. Awesome job πŸ˜€

      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh
      Blog Post Author

      Thanks Morten, for your kind words. And more importantly, for helping to sanity check our manuscript - that was priceless πŸ˜‰

      Author's profile photo Morten Wittrock
      Morten Wittrock

      Anytime!

      Author's profile photo Allen YM Hang Seong
      Allen YM Hang Seong

      Congrats Eng Swee and Vadim. You guys are the best!

      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh
      Blog Post Author

      Thans Allen! Hope you will join us down the rabbit hole and enjoy the adventure πŸ™‚

      Author's profile photo Fatih Pense
      Fatih Pense

      Congratulations to you and Vadim! Writing a book takes an enormous effort. Thanks for taking this challenge and sharing the result with us!

      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh
      Blog Post Author

      Thank Fatih for your kind comment. Yes it is an enormous effort which both of us were not aware of, being first time writers. We found out through the process how all-consuming it can get! We are very relieved that it will finally be out tomorrow! πŸ™‚

      Author's profile photo Dejan Doder
      Dejan Doder

      Just ordered, only book on the market which covers topic: Groovy for CPI. Great!

      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh
      Blog Post Author

      Fantastic! Glad that we are able to address the need/gap! Thanks for the support, Dejan πŸ˜‰

      Author's profile photo Rakesh damera
      Rakesh damera

      Thank you Eng & Vadim! Just got my copy, looking forward to consuming it soon.

      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh
      Blog Post Author

      Fantasic! Hope you enjoy it, Rakesh! πŸ˜‰

      Author's profile photo Jaya Shankar Pichika
      Jaya Shankar Pichika

      HI Eng @&Vadmi,

       

      From where i have to buy this E-Bite ? I don't find any link . Please advise.

      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh
      Blog Post Author

      Hi Jaya,

       

      Thank you for your interest. The link is just above the image of the E-Bite πŸ™‚ It might not have been that obvious.

      I've included in below as well.

      https://bit.ly/37BSL9R

       

      Regards

      Eng Swee

      Author's profile photo Saket Chiluveru
      Saket Chiluveru

      Hi,

      I am sure this is a useful book.

      Does your book cover UDF ?

      I am trying to understand the UDF method signatures and cant find a good documentation on how and which method style to use and when ?

      Just wanted to know if your book also covers these scenarios ?

      Thanks

      Regards

      Β 

      Saket L.C

      Β 

      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh
      Blog Post Author

      Hi Saket

       

      Yes, we do have a section about Custom Functions in Message Mapping (which is similar to UDF in SAP PI) in the book.

       

      Regards,

      Eng Swee

      Author's profile photo Saket Chiluveru
      Saket Chiluveru

      Thanks Eng.

      I may decide to buy it then !

      Regards

      Saket

      Author's profile photo Saket Chiluveru
      Saket Chiluveru

      Hi Eng Swee Yeoh ,

      Just got the book ! πŸ™‚

       

      Regards

       

      Saket

      Author's profile photo Mark Cole
      Mark Cole

      Hi Eng

      Just purchased the book, and it is proving to be very useful; however, I have one question. Is there an IDE that would allow me to not only run, but debug Groovy?

      Thanks in advance.

      Mark

      Author's profile photo Eng Swee Yeoh
      Eng Swee Yeoh
      Blog Post Author

      Hi Mark

       

      Great to hear that the book is useful for you πŸ™‚

       

      You can use IntelliJ IDEA (that we recommend in the book) to also debug the Groovy scripts.

      Author's profile photo Yee Loon Khoo
      Yee Loon Khoo

      Hi Eng Swee,

      i had added this e-bite ebook by you and Vadim Klimov, as one of SAP CPI learning resource in this LinkedIn article about SAP CPI concepts and SAP CPI learning steps. Hope this is ok for you πŸ™‚