Use a Custom Adapter Module to Integrate SAP PI with the JSON Format

  • by Aaron Long (Huaqiao Long) , Support Consultant, Technology CoE NetWeaver Foundation XPI, SAP Active Global Support
  • August 26, 2014
At the moment, SAP Process Integration (SAP PI) does not support direct integration with the JavaScript Object Notation (JSON) format. Aaron Long shows how to develop a custom adapter module processor in Java to convert data between JSON and the XML format.
Learning Objectives

After reading this article, you will be able to:

  • Develop a custom module on your SAP Process Integration (SAP PI) system to integrate JavaScript Object Notation (JSON) applications via SAP PI
  • Configure an integration scenario from an end-to-end perspective using SAP PI with the JSON format
  • Test your integration scenario in the SAP PI system
Key Concept
JavaScript Object Notation (JSON) is a lightweight data-interchange format. It is a programming-language-independent data format that is easy to read and write and for computers to parse and generate. It is widely used in Web applications to transmit data as an alternative to XML. Typically the JSON format is built on a universal structure as a collection of name/value pairs or an ordered list of values as an array, while the XML format is built on a tree-hierarchy-like structure with nodes, elements, values, and attributes within open and close tags. SAP Process Integration (PI) is enterprise application integration (EAI) middleware. Its key capacities in terms of connectivity, mapping, and routing are all developed and configured based on an XML format by means of messages. It provides varied adapters to connect systems or applications using different protocols and data formats. 

Aaron Long (Huaqiao Long)

Aaron Long is a senior SAP consultant specialist in SAP NetWeaver PI at SAP Active Global Support (SAP AGS). He is responsible for helping customers implement and operate their SAP solutions at their maximum potential and to manage their technical risks during solution implementation and operation. He has been working in SAP AGS for about 10 years. 

See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.