cancel
Showing results for 
Search instead for 
Did you mean: 

Read a record several times

Former Member
0 Kudos

Hi experts

I hope someone can help me,..

How I can get that XI to read a record eight times, and each time that XI read a record can it map a source field to target field.

eg

Source record:

"ID" "ObjJDV" "AcumJDV "DesJDV" ObjNCB "AcumNCB" "DesNCB "

A01 26 195 44 66 29 -55

next record...

Target record:

"ID" "Des" "Obj" "Acum"

A01 44 26 195

A01 -55 66 29

Thanks and Regards,

Liz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Liz

Why do you want read 8 times the same record?

Do you want split the source message in eigth output messages¨?

Edited by: Luis Ortiz on Oct 28, 2010 9:23 PM

Former Member
0 Kudos

Hi Lius

Yes, I want to split the message in eight messages output, because each input message "Obj" "Acum" "Des" there are eight classifications which should be 3 classifications in a new output record

eg

InputMessage

CarID "Obj1" "Acum1" "Des1" "Obj2" "Acum2" "Des2" "Obj3" "Acum3" "Des3"......"Obj8" "Acum8" "Des8"

A01,data1,data2,data3,data4,data5,data6,data7,data8,data9......data22,data23,data24

A02,datax,datay,dataz..

OutputMessage

"ID" "Des" "Obj" "Acum"

A01,data3,data1,data2

A01,data6,data4,data5

.

.

A01,data24,data22,data23

next record

Can XI do this? and how?

Thanks and regards..

Liz

former_member241146
Active Participant
0 Kudos

Hi Liz.

You don´t need to read a record eight times. You just use the oneAsMany standard function to the key tags that you want replicate.

Follow a help link about it:

*HELP SAP useOneAsMany*

Best Regards.

Bruno

Former Member
0 Kudos

Hi Bruno

ok thank you very much, I'm going to implement the function that you told me

Thanks & Regards

Answers (0)