Skip to Content

Passing CSV data as webservice input


I have a requirement where to a certain SAP MII transaction, I shall get input in the following format


Every '/' denotes end of the row and the column values are separated by commas (,)

I need to pass each row as a webservice line item with each column corresponding to a particular field in the service item payload.

The service input structure is as follows

<?xml version="1.0" encoding="UTF-8"?>

<ns1:receiptCreation xmlns:ns1="<SERVICE METADATA>" xmlns="<SERVICE METADATA>">











Therefore, I am trying to create three instances of <ns1:item> in my service call from the data passed to the transaction.

I have used a String_List_to_XML_Parser with Delimiter '/' to isolate the rows.

However, I am struggling with iterating over each row and map the fields to its corresponding service input?

Can anyone direct me as to how do I approach this?

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.