Skip to Content

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

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"?>

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2008 at 04:33 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2008 at 06:55 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 05:23 AM

    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..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 06:18 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2008 at 04:11 PM

    check sudhakar reply

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 10, 2008 at 06:37 AM

    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 ?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 10, 2008 at 08:04 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

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.