Skip to content
Practical SAP Integration Suite 5.0 Course! Coming Soon in Nov 2025!
Integration Learn

Integration Learn

SAP CPI/HCI, PI/PO, MuleSoft, Integration Patterns, Design, Tips and Best Practices.

Menu

  • Table of Contents

SAP PI/PO – Mapping

REST Lookup using Java Mapping or UDF

Recent project required to do a REST Lookup inside Java Mapping.At ESR side, the input stream Need to be in XML format. The output stream in this example is XML format as well.At ID side, Beside creating receiver REST communication

Yee Loon March 21, 2017January 16, 2022 SAP PI/PO - Mapping No Comments Read more

Manually Wrap Concur REST Response XML to follow SAP PI Message XML namespace

Recent project required make call to Concur REST API using PI REST adapter, get REST XML response, then do further processing. The REST XML response do not conform with message type/external definition defined, cause problem not able to process further

Yee Loon December 28, 2015January 16, 2022 SAP PI/PO - Mapping No Comments Read more

JAVA Mapping Simple FirstName LastName to FullName using SAX

In this example, demonstrated Java mapping to concatenate first name and last name to full name using SAX.Source XML: Target XML: Java mapping class:

Yee Loon June 23, 2015January 16, 2022 SAP PI/PO - Mapping 2 Comments Read more

JAVA Mapping Simple FirstName LastName to FullName using DOM

In this example, demonstrated Java mapping to concatenate first name and last name to full name using DOM.Source XML: Target XML: JAVA mapping class:

Yee Loon June 23, 2015January 16, 2022 SAP PI/PO - Mapping No Comments Read more

JAVA Mapping One-to-One Source-to-Target using SAX

Similar purpose like previous post, this post is using SAX parser in stead.To understand know more about SAX parser, see this https://www.google.com/?q=sax+parser

Yee Loon June 23, 2015January 16, 2022 SAP PI/PO - Mapping 2 Comments Read more

JAVA Mapping One-to-One Source-to-Target using DOM

To get started to develop JAVA mapping in SAP NWDS, go to this excellent post by RaghuBelow PI java mapping parse source xml file into DOM, then output the same DOM to target xml. Very basic just to show and

Yee Loon June 23, 2015January 16, 2022 SAP PI/PO - Mapping 1 Comment Read more

UDF Basic Building Block

UDF can be written for many different purpose, and with many different way of coding. Still, there should be some reusable coding/statement/patterns that keep on occurs again and again. In this document, is my attempt to list down some common

Yee Loon May 17, 2015 SAP PI/PO - Mapping 5 Comments Read more

Convert Two Flat Recordset to One Nested Recordset Using createMultipleContextCopies

The objective is to convert 2 different recordsets(SINGER and SONG) under same message, to single nested recordset (SONG nested under SINGER). The message type: The mapping: For node SINGER, SINGERID and FULLNAME, is direct one-to-one mapping. For node SONG and

Yee Loon September 18, 2014 SAP PI/PO - Mapping 1 Comment Read more

Different between Sort and SortByKey

Below example to explain different between sort and sortByKey. Source and target message type: Source data isĀ unsorted col1 and sorted col2. Both col1 and col2 is a pair of values. Target data should be sorted col1, and the col2 is

Yee Loon August 2, 2014 SAP PI/PO - Mapping No Comments Read more

collapseContext and formatByExample to Convert Flat Structure to Tree Structure

Previous post useOneAsMany explained in easy example used an example to convert tree structure into flat structure by using useOneAsMany. This post will do the reverse, convert flat structure back to tree structure.The source message type is flat structure. The

Yee Loon July 28, 2014January 16, 2022 SAP PI/PO - Mapping 16 Comments Read more
  • « Previous

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Archives

Tags

adapter AEX async BPM bridge ccBPM context context handling createMultipleContextCopies documentation DOM EDIFACT ESR fieldFixedLengths file2file file adapter groovy hci ICO idoc iFlow Integration Patterns JAVA JDBC Adapter logging map merge message mapping module mulesoft NWDS pgp removeContext REST SAP PI SAX script scripting SD seeburger sftp SOAP SOAPUI sync UDFNodePool

Categories

  • EDI (4)
  • Groovy (1)
  • IDOC (2)
  • MuleSoft (3)
  • MuleSoft – Mapping (4)
  • SAP HCI – SAP Cloud Platform Integration (5)
  • SAP PI/PO – Adapter (16)
  • SAP PI/PO – B2B Add-On (13)
  • SAP PI/PO – BPM (10)
  • SAP PI/PO – General (5)
  • SAP PI/PO – Mapping (13)
  • SAP SD (4)


Yee Loon, Khoo
SAP CPI/HCI PI/PO MuleSoft Integration Consultant

LinkedIn profile:
https://my.linkedin.com/in/yeeloonkhoo

Email:
khooyeeloon@gmail.com

Open to explore new opportunities and possibilities! Cheers!

Copyright © 2025 Integration Learn. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.