Following my previous post, where I showed a solution for translating JSON to an ABAP data structure, I am just posting an example of a class that will allow you to do both (ABAP to JSON and vice versa).
Complete JSON utility class example
April 4th, 2012JSON to ABAP data structure program
April 2nd, 2012On my current project, I had to write some ABAP code to convert a (deep) ABAP structure to JSON. I have seen at least two projects out there that do the same thing, but nothing that converts JSON to ABAP. So I set out to produce an ABAP program to do this.
You may also be interested in:
Ruby wrapper for NW RFC SDK using Ruby-FFI
February 17th, 2012Unicode in ABAP
February 3rd, 2012Having worked with ABAP most of my career, I have not had to care a lot (if ever) about Unicode, maybe due to the fact that I work in a country where all SAP systems only use English (with very, very rare exceptions).
You may also be interested in:
Javascript-style object-value assignment in Ruby
January 23rd, 2012While I was working in Javascript extensively for a project, one of the things I really liked about it was how you could use the dot notation to access members of an object, just as you would call methods. After that, I would often find myself in an IRB shell, absent-mindedly trying to do the same thing with a Ruby Hash, only to be thrown a NoMethodError. The first reaction might be: “Ah, if only Ruby had this feature like Javascript does.”, but of course, it can!
You may also be interested in:
BOL URL API (or RESTless BOL API)
November 21st, 2011In this article, I investigate the possibility of developing a URL-based API for the Business Object Layer (BOL) that could be used to develop an alternative to the standard CRM Web UI.
You may also be interested in:
And the winner is…
August 5th, 2011I was going to title this post “Three days, three distros” or “Three distros in three days”, but that is not half as captivating. Indeed, as the would-be titles suggest, this is about switching distros (again). After running for a while on Linux Mint 10, I decided it is time to upgrade. Read the rest of this entry »
You may also be interested in:
Nice web server script to serve any directory using WEBrick
June 22nd, 2011At present, I am doing some web development in the form of a rich Javascript client. Now I have a need to serve up pages locally, but I don’t want to run a heavy web server just for that. So I wrote a little Ruby script to allow me to start a WEBrick server in any directory on the fly, which is great for testing content locally.
Read the rest of this entry »
You may also be interested in:
Change Password Web Service in SAP
April 20th, 2011Here is a post that I wrote in October 2009. I think the reason why I never published it was because I wanted to first investigate what other (standard) possibilities there were for providing this functionality, and I was afraid I would be embarrassed by some naive statements made in here. Anyway, for what it’s worth, here it is. (I don’t know what happened to Illustration 1. If I find it, I will try and put it back).
You may also be interested in:
Using Pidgin to access Google Talk behind a Proxy requiring Authentication
February 1st, 2011There are many posts referring to accessing Google Talk from Pidgin, though I had some trouble accessing it from behind a proxy in addition to that. After finally getting it working, here is what I had to do. Read the rest of this entry »