Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

How to process csv result of SAP JCo Interface?

$
0
0

Hi everyone, I am new in MII and try to familiarize with that subject. We are using MII 14.

I created a transaction using a SAP JCo Interface calling RFC_TABLE_READ to get data from a table. That works fine.

 

But I have the following issue: The result is returned as csv, that is all data are separated by some delimiter. When sending those data to an xml, I have several lines but all having only one column...

so it looks like

<item>abc, def, ghi</item>

<item>jkl, mno, pqr</item>

etc...

 

I do have the table's structure available as the BAPI also returns the structure, but i am wondering how to split that csv string in order to assign it to the column headers?

What would be a feasible approach?

 

I searched in that forum and found 58 hits regarding RFC_READ_TABLE and three more dealing with splitting strings but nothing could answer my question.

Would be great if somebody could give me a hint where to look or how to proceed?

 

Greetings

Marco


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>