cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in transformation BPM

Former Member
0 Kudos

We have the next escenary Idoc -> XI -> file. I received 3 Idoc and send 1 file with information of these Idoc.

For made this I realice one BPM. This BPM have the next step:

Into the loop

1.- I received the idoc

2.- Append idoc to table idoc.

3.- Add 1 to count

When I exit the loop I realice one step of transformation from table idoc to file but when i realice these step i have one message of error.

The message is "Expression must not return a multiline value".

I check the structure of file and is 0 unbounded.The structure of idoc is 1 .

thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

HI,

Check the Multiline element for the Table Idoc container.

Btw, where exactly you are collecting the idoc ? Is it idoc container or in file container ? Anyway accoridng to this you need to choose the Abstract interface with multiline option.

And in the N:1 Mapping, SOurce Message type will be, 0...n and in the interface mapping also occurence you need to change..

After chnaging the BPM, check for syntax check, i.e F7 and check it.

Regards,

Moorthy

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Antonio,

Make sure that the <i>Append idoc to table idoc</i> has the target as <b>MULTLINE element.</b>

In your transforamtion , <b>make sure you select this Multiline element as the source</b> and your file container elelement as the target.

Regards,

Bhavesh