PT Sterling Tulus Cemerlang
www.sterling-team.com

Whatsapp
+62-877-8655-5055

Email
sales-enquiry@sterling-team.com

Address
Sampoerna Strategic Square
South Tower Level 30
Jl Jend. Sudirman No. 45-46
Jakarta 12930 – Indonesia

500+ FREE Tips SAP Business One for you to Become SAP B1 Super User from Sterling Tulus Cemerlang (STEM)

Splitting Arrayed String into Table Function on HANA

SAP Business One Tips - STEM SAP Gold Partner Indonesia - Splitting Arrayed String into Table Function on HANA Database

Do you ever imagine how much struggle you have to go through, just for splitting long string into one column in table?

Please take a look to this example:

You have a string like this

“AAA|BBB|CCC|DDD|EEE|FFF|GGG|HHH”

And you want to convert those string into one column like this:

Col 1

AAA
BBB
CCC
DDD
EEE
FFF
GGG
HHH

We have a quick solution for this.

Now you can create function (returns table) to split those string, with only one string input parameter.

And this function will return it as a table that you can join in your query.

Sample Query – Splitting array string and return as table

Also read:

Run Your Business With The Piece of Mind Using SAP Business One

This article was written by PT. Sterling Tulus Cemerlang
More details about SAP Business One,
email to: sales-enquiry@sterling-team.com or call +6221-5806336 or wa +6287786555055

, ,