cancel
Showing results for 
Search instead for 
Did you mean: 

** Transformation step - 1:n mapping error - BPM

jegathees_waran
Active Participant
0 Kudos

Hi friends,

In my BPM transformation step I am doing 1:n mapping. I created & tested the message mapping and Interface mapping for this. Its working fine there. But, while I put the payload, the message is not splitted. Instead only the first message is splitted.

Source Payload

-


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

<ns0:PurchaseOrder xmlns:ns0="http://www.XYZ.com/ABCD/SDFunctions">

<row>

<PONO>5005</PONO>

<PODATE>2008-06-09</PODATE>

<VENDOR_CODE>0000100614</VENDOR_CODE>

<REFERENCE>PENA</REFERENCE>

<MATERIAL_CODE>100-00</MATERIAL_CODE>

<ORDER_QTY>1</ORDER_QTY>

</row>

<row>

<PONO>5006</PONO>

<PODATE>2008-06-09</PODATE>

<VENDOR_CODE>0000100614</VENDOR_CODE>

<REFERENCE>PENA-1</REFERENCE>

<MATERIAL_CODE>100-100</MATERIAL_CODE>

<ORDER_QTY>4</ORDER_QTY>

</row>

</ns0:PurchaseOrder>

-


But, only the message is splitted comes in SXMB_MONI with the following error.

-


HTTP response contains status code 500 with the description Timeout Error while sending by HTTP (error code: 500, error text: Timeout)</

-


What could be the problem ? Why second message is not splitted. Is it required to add any Receiver Determination step in ID ?

Kindly tell me, friends.

Thanking you.

Kind Regards,

Jeg P.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi jaagadeesh,

check the cardinality of the source and target message by clicking on the message tab in the mesage mapping and the saame should reflect in the interface mapping

regards

chandra

Answers (6)

Answers (6)

jegathees_waran
Active Participant
0 Kudos

We set 'End condition' property in BLOCK step, then the problem is solved.

jegathees_waran
Active Participant
0 Kudos

Hi friends,

I have corrected Message Mapping and Interface Mapping. If I send 2 message (source), I will get only 1 message in the target side. (after transformation)

In my BPM design, after 'Transformation' step, one block is there, I set property Mode as 'For Each', and I set Multiline Element.

Now, the 500 Internal Server problem has gone. But, why the 2nd message is not entered into block ?

Former Member
0 Kudos

Hi,

Hope helpful

500 Internal Server Errors

Description: The server encountered an unexpected condition which prevented it from fulfilling the request.

Possible Tips: Have a look into SAP Notes u2013 804124, 807000

Regards

Former Member
0 Kudos

Hi,

Plz check Interface Mapping ocurances. It should be 1:n.

For source side ocurance should be either 1:1 or 0:1.

For target side ocurance should be either 1:unbounded or 0:unbounded

Regards,

Rohit.

Reward points if helpful..

Former Member
0 Kudos

Hi,

You cna change the occurrence of the messages in message mapping.

source message occurrence to 1.

and target message occurrence to 0..n.

Then map the PO to the root of the target message.

This will create target messages, matching the number of <PO>

Thanks,

Vinay.

GabrielSagaya
Active Contributor
0 Kudos

check sudhakar reply