cancel
Showing results for 
Search instead for 
Did you mean: 

Message to be created for each reacord

Former Member
0 Kudos

Hi,

From sender we are getting multiple records in message in PI I want create as message per record.

It means if there 10 record coming then 10 messages should be created in PI.This is my requirement.

Please suggest.

Regards,

Ravi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ravi

Please create the structure as below

source :

target:

Mapping:

signature tab change the occurence of target to 0 to unbound

Mapping of root of target

Output

Former Member
0 Kudos

Hello,

U have to use multimapping.

Check SDN, u will find a very good blog on the same (1:N Multimapping)

http://scn.sap.com/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it-s-possible

Edited - Precisely, in the signature tab of ur mapping change the occ (o..n) of target message and do the same in OM also.

Thanks

Amit Srivastava

Former Member
0 Kudos

Yes I have changed accordingly, My structure is single structure where ther is no header and items.

So can you show hoe we have to map in the mapping editor.

Former Member
0 Kudos

Hello,

Just map the source node (for instance "Row" as shown in the blog) with the target message type name and then map all the target fields with the source fields (as per ur mapping logic)

Thanks

Amit Srivastava

praveen_sutra
Active Contributor
0 Kudos

Hi Ravichand,

map the target message type name with the row name on which u want the dependency.

Supposedly if you want your message count should be same as row count.. Map it with row.

thanks and regards,

Praveen T