Wednesday, December 25, 2013

HANA Cloud Integration: From strategy to an idoc.

First of all: A very warm Christmas and a Happy New Year. Hopefully you're all enjoying the holidays. (…reading this blog, ahum). 
This Christmas blog is about HCI: HANA Cloud Integration.
Again a new Buzz thing from SAP, if only because of the fact that the word HANA in it.
What does it mean? And what doest it look like? These two important questions I will try to answer in this blog.
HCI is the integration platform of choice for SAP Cloud Solutions to connect to on-premise or cloud applications. So different integration scenario’s are supported for integration between SAP Cloud products among each other and between on-premise core systems and (own / SAP) Cloud Solutions.

Wednesday, December 18, 2013

External Service call using JSON

JSON (/ˈdʒeɪsɒn/ jah-soun, /ˈdʒeɪsən/ ja-son), or JavaScript Object Notation, is an open standard format that uses human-readable text to transmit data objects consisting of attribute–value pairs. It is used primarily to transmit data between a server and web application, as an alternative to XML.
Did you ever wonder how to call an external webservice using JavaScript Object Notation (JSON)? If you are on release 7.02 or 7.03/7.31 (Kernelpatch 116) JSON is supported natively in ABAP.

It takes just a few lines of code to transform a structure or table to JSON format, after that you probably only have to worry about some formatting and escaping of special characters.

Convert the data to JSON format

The first step is to gather all the data into an internal table or structure depending on the information you have to send to an external party. Since that shouldn’t be a problem I pretend that the data is already available in table lt_data_table (This is an internal table with a structure that you need).

Wednesday, December 11, 2013

How ABAP moves towards Functional Programming

Back in 2006 when I started with SAP and ABAP development, people told me there was no future in ABAP: SAP would not develop new applications on the ABAP stack, but rather on the Java stack, possibly with ABAP as a data backend.

Boy, where they wrong. For several reasons ABAP is still very much alive and relevant, even more than Java. (Well at least in the SAP ecosystem).

Wednesday, December 4, 2013

How to create an app that consumes an SAP NW Gateway service using SAP's Appbuilder

Two weeks ago, SAP released their AppBuilder. The SAP AppBuilder is a tool that lets you create mobile apps based on the mobile SAPUI5 SDK. The best feature of the AppBuilder is that it is a WYSIWYG (what is you see is what you get) editor and you can create apps without writing a single line of code. In this weeks blog I will show you how to create a basic application using a sample Gateway service from SAP.