BPM transformation multiline problem

I have a transformation in an Integration Process. My Source Messages field points to a Multiline container element CollectDeliveries. My Target Messages field points to a non-multiline element SendShipment.
When I check the Integration Process, I get a red frame around the Source Message field stating that:
Expression must not return a multiline value.
If I remove the Multiline checkbox value of the CollectDeliveries container, the error disappears, but my CollectDeliveries container contains multiple Deliveries, so it is conceptually correct.
What could be going wrong here? Any clues?
Kind Regards,
Tony.

Anthony,
Check for your Interface mapping. It also must be Source 0..Unbounded and target 1..1.
raj.

Similar Messages

  • Handling Java Mapping Exception in BPM Transformation step

    Dear SDN members,
    I have developed a File to File scenario using BPM as follows.
    Step 1:
    Sender file adapter picks the file from FTP server and using file content conversion mapped to XML structure.
    Step 2:
    BPM will recieve the XML payload , immediately in the block a transformation step is called with an interface mapping. In the interface mapping a Java mapping will be executed with certain data validations on the XML payload. If found any invalid data is there a suitable excptions will be raised . Here the transformation step should be catch the error and control should be sent to exception block to place the recived file as a error file.
    else if the transformation is executed with out any issues, the file will be placed in success folder.
    But in the transformation step, though java mapping thorwing exceptions, the control not going into exception block, instead it is continuing to next step i.e the file is placing in the success folder.
    Can anybody tell me, how to handle the exceptions raised in java mapping in the BPM transformation step?
    I have refered all the SDN blogs, forums related to this issue, but could not able to find the answer. Please help me?
    Thanks & Regards
    Vijayanand Poreddy

    Hi Abhishek,
    Once the file is picked from FTP server then sent to BPM,
    the BPM steps
    Step1:
    -->Recive
    Step 2:
    Block Starts
       ---Block Start: New Transaction
       ---Block End : New Transaction
       ---Exception : Error
    Step 3 
    Inside the Block
    Transformation Step
       --Interface Mapping: <IM Name>
       -- Check box ticked for Create New Transcation
       -- Exceptions
          --System Error: Error
       --Source Message: Message recieved in Recieve Step (Step 1)
    Step 4:
      --Send
      --Source Maessage: Output message from the Transformation Step
    Block End
    Inserted a Exception Branch for Block
    Steps inside Exception Branch
      -Control
        --Throw Alert
       --Alert Name
    In the above scenario
    The transformation step is not throwing error even my interface mapping going to error. The same transformation step if i place outside the block next to recieve step, then the transformation step is throwing error and BPM stops the process.
    Also, when transformation is inside the block, i have used the exception handling on the send step inside the block. here it is throwing error as the source message payload is empty. because in the preceding transformation step the interface mapping is failed due to which there the target will not be filled. But even though it is not entered into exception block.
    Regards
    Vijayanand Poreddy

  • [svn:fx-trunk] 10229: Fixes for some transform effects problems.

    Revision: 10229
    Author:   [email protected]
    Date:     2009-09-14 08:43:43 -0700 (Mon, 14 Sep 2009)
    Log Message:
    Fixes for some transform effects problems.
    - We were not animating the postLayout properties in some cases where we should have, effectively pinning the object in place. We now animate those properties whenever applyChangesPostLayout is true.
    - A copy/paste error meant that we did not animate the scaleZ property in cases where we should have.
    - A problem in the transform code means that using a null transform center is not the same as a transform center which uses the transformX/Y/Z properties of the target object. We now force the creation/use of a transform center in all cases to avoid that problem.
    QE notes: This breaks about a dozen tests in the transform effects area, but I believe the new results are correct and the tests/bitmaps should be changed.
    Doc notes: None
    Bugs: sdk-23177
    Reviewer: Hans
    Tests run: checkintests, Mustella transform effects
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-23177
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as

  • BPM: Messager Merge - Transformation Mapping Problem

    Hi,
    I tried an eg for time bound message merging (rather adding the items in the message).
    I am using a single datatype/message type.
    I was able to do the message mapping/interface mapping test by changing the source by making it 0 to unbounded and on the target I have same message type.
    This test was successful.I went ahead with the creating the scenario .I used a file adapter for picking up a file. The message monitor shows it is picked it and sent to the bpm.
    but the bpm part failed I checked in bpe monitor.It just says the mapping failed(transformation step).prior to which there is a receive step and container operation step which I used it for append the message .these are under a block and this block has a infinite loop for collecting the messages.There is a exception thrower(control step) which is for 2 minutes.this handled by a exception handler.and I guess my file was collected and send to the transformation step after this.but the thing is it never seems to appended since the two files are shown as two seperate error messages in transformation rather than as single ...
    Can somebody tell what could be the problem/where to look for the file.
    THnks

    I am getting more and more sure that the problem is at the block entry only...becoz i checked with direct entry to loop with a counter as loop breaker.it entered the loop and added the lines to the message with multiple lines.and once it hit the counter it came out and did the transformation successfully and sent it to the target system.
    when i add the block it fail right at the block entry for the first message after that all the messages show the green flag clicking on pe would show an empty queue...
    I guess the only step happening before the block is the correlation key creation i amn't sure if this is giving  some problems..
    NOW FOR THE BPM Steps....
    1.I created the correlation key.
    2.I put the block for the block i added the correlation key and exception name.
    3.I put the exception branch and the deadline branch
    4.on the exception branch i put the name of  the exception to be handled.
    5. on the deadline branch i put a 2 minute duration
    6.within the deadline branch i put the control which throws the exception...
    7.i added a loop to the block which is 1 = 1.in that there is a recieve step
    8.after that there is container operation which adds the message to the list...
    9.followed by outside the block i have a transformation and send steps..
    10.the block is in default mode.
    I tried creating the scenario completely again and again with different datatype etc to avoid the cache problem + workflow item locked problem...
    but no luckk
    THNks

  • BPM: ParForEach Multiline Issue

    Hello,
    In an integration process I use the following step sequence:
    Transformation: Splitting Abstract Interface A to Multiple Abstract Interfaces A
    Block (ParForEach): Loop over multiline container element ( referring to abstract interface a),
    and send single message (singleline container element)
    Basic behavior of the operations mapping is the following:
    abstract interface a ( 1 occurence) -> abstract interface a (0..Unbounded occurences)
    Source Message:
    submission
    item
    item
    item
    Target Message:
    submission
      item
    submission
      item
    submission
      item
    In this case I would like to loop over the submissions (using a ParForEach Block) and send three single messages with this structure:
    <submission>
    <item/>
    </submission>
    My problem now is the following: When I set the proporties of the ParForEach Block I select multiline
    container element a - this is working fine - however when I want to select "current line" the dropdown
    list of possible container elements is empty.
    I have however set up two container elements (both are referring to abstract interface a), for one of them
    the multiline option is activated.
    Why does this not work as expected? Could it be a problem with the transformation step to create a
    multiple messages?

    Check if:
    1) The single line element defined is having the block name under the Container column (and not process)
    2) Check the First, Second, Third points mentioned in this blog...they should solve your problem:
    /people/milan.thaker/blog/2008/08/05/modes-in-block-step-of-bpm
    Regards,
    Abhishek.

  • Receiver determination step in the BPM and multiline container

    i have made a file2file scenario where:
    there is a BPM,
    the BPM has a send step which contains a receive step,
    a transformation that mapps the incomin message to two messages(Split-messgae case),
    and then a FORK step which sends the two messges to through 2 SEND steps to the intended receiver services.
    It didnt work......and i followed a blog->  /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure   ............... which suggested to have a
    "receiver-determination" step in the BPM before the SEND step.... it says that this
    "receiver-determination" step will put the message in a MULTILINE container..
    i m confused bout this step ........ can anybody explain.....
    please help

    HI,
    In receiver determination step selctthe multi line container element.in container editor create the one element with type as receiver and select the check box.
    A Receiver Determination step returns set of receivers configured for the output abs interfaces in the directory and puts it into receiver which is a multiline container receiver element
    Regards
    Chilla

  • BPM split message problem

    Hi all,
    I have a problem in splitting messages inside BPM.
    My requirements are:
    1. Receive message (message with apprx. 700.000 records)
    2. Split message to smaller messages (1 message should not contain more than 10.000 records. 70 messages should be created)
    3. Send these message with a delay, one by one. (after the 1. message is sent the next should be sent 1 minute later until all are processed)
    My question is how do I split the messages into 10.000 records without using java or abap mapping.
    2. how do I send them synchronously in a loop? How should the structure be???
    Thanks.

    Hi Chris,
    You can use a transformation step wherein you will define a 1...n mapping. In the mapping create a logic(in UDF) to split the message after every 10,000 message --> Collapse message. This logic would be there in the root node.
    Hope this helps.
    Regards,
    Rahul

  • BPM and Multiline

    Hi,
    I have the following scenario:
    ReceiveStep
    receiving a file with a lot of lines
    TransformationStep1
    Here the file is transformed to 2 target messages DEBROW en DEBSEARCH. Every line in the file results in 1 DEBROW message and 1 DEBSEARCH message
    Synchronous RFC call
    To search some additional data for every DEBSEARCH message --> leads to a DEBRESULT message
    TransformationStep2
    Transforming the DEBRESULT and DEBROW message into DEBMAS
    SendStep
    Send IDOC to BusinessSystem
    When the file contains 1 line everything works fine.
    When the file contains 2 lines I still receive 1 IDOC.
    Questions:
    1. I think I have to use the multiline somewhere in BPM. Where? When I try to "activate" multiline I get the error "Expression must not return a multiline value" . Does it have by in sync with occurences in MessageMappings? What is the rule here?
    2. How can I guarantee that the messages are in synch all the time? (correlation?)
    Best Regards
    Ron

    hi,
    two ways:)
    first try to send all data to ECC for check (you can go for async with correlation - even
    based on guid if you don't have anything else)
    use ABAP proxies if possible (so you'll be able to
    restart and monitor the flow in ECC too)
    then use IDOC bundling to send all IDOCs at once as per my weblog:
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    this way you will have to worry about 2 outbound messages (from XI)
    and one inbound (from ECC to XI)
    Regards,
    michal

  • Alert for BPM Transformation Step

    Hi I am trying to think of a way to get the information from my alert transformation step into my Alert Message.
    The scenario is a multiline container called XML_Collect mapping to XML_Output a single container with the XML messages merged.
    If I encounter an error with mapping, currently I am raising an Alert with Process <Process ID> and Long Text Transformation Failure.
    I have the Transform step in a Block and an exception branch for the Alert. I am going to instigate a Container Operation step to fill my Container variables with information about the error.
    In the BPM Workflow Log I can see the Transformation1 Container Instance with variables such a MAPPING and MESSAGES_IN and _EXCEPTIONS in it.
    Can I reference this container in my Container Operation.
    Ideally I would like to know which XML message from the multiline container generated the mapping error. This would help in correcting.
    I have read some information on a UDF calling Alerts but I am not sure if this is the method to use.
    thanks,

    It is MESSAGES_IN
    We have
    MAPPING MAPPING http://<company>.com/msghdr IM_T_MSGHDR_V3_to_T_MSGHDR_V3_Multi-<...>-1-
    TRACE <?xml version="1.0" encoding="utf-8" ?>
    <MappingTrace><Trace level="1" type="T">Mapping-Namespace:http://company.com/msghdr </Trace>
    <Trace level="1" type="T">Mapping-Name:IM_T_MSGHDR_V3_to_T_MSGHDR_V3_Multi </Trace>
    <Trace level="1" type="T">Mapping- ...
    This trace is what appears in the XML trace also
    MESSAGES_IN MESSAGES_IN < 1 Entry >
      MESSAGES_IN[1] MESSAGES_IN[1] 0000000001-<...>
        NUMB Parameter ID 0000000001
        MESSAGES MESSAGES < 3 Entries >
    XC     ZXI_PROXY_MI_MSGHDR_V3_0001     E0630F307D7B11DCA23700145E6916E5
    XC     ZXI_PROXY_MI_MSGHDR_V3_0001     E035BDA07D7B11DCB90500145E6916E5
    XC     ZXI_PROXY_MI_MSGHDR_V3_0001     BA2A92307D7511DCB09900145E6916E5
    then the XML Header and Payload.
    _EXCEPTIONS _EXCEPTIONS < 3 Entries >
    _EXCEPTIONS[1] EXCEPTIONS[1] Component MAPPING has reported an error-The exception occurred (program: CLSW..
    _EXCEPTIONS[2] EXCEPTIONS[2] com/sap/xi/tf/MM_T_MSGHDR_V3_to_T_MSGHDR_V3_Mult~com.sap.aii.utilxi.misc.api...
    I have just tried the variable &_WORKITEM.WORKITEMID& and this gives the work item ID of the starting step for the Process.
    My MESSAGE_ID variable that I am updating with the container variable straight after the Transformation step has the first message id from the multiline container but I know this isn't my incorrect message.

  • BPM message collect problem

    Hi,
    I have a problem with  collecting messages and sending them together. I'm trying to work out a simple correlation example. Its a File -> XI -> File scenario. I followed the blog
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    to work this out. My BPM looks like
    a block which contains an infinite loop with Receive and Container steps, an exception step and a deadline step with deadline 2 mins --> Transformation step --> Send step that sends out the bundled message.
    My problem is, after the file is being picked up by XI, nothing happens, on MONI the Outbound status is stuck in "Message being sent" status forever. On the Process engine workflow the deadline step is executed, but it is not proceeding to the Transformation and send step.
    I've read a lot of material on this forum, it seems simple but for some reason I'm not able to get this to work.
    Could somebody please guide me on this?
    Thanks
    Karthik

    Hi,
    Check this <a href="http://help.sap.com/saphelp_nw04/helpdata/en/96/0a2441509fa831e10000000a1550b0/content.htm">Montioring the BPE</a> for debigging your BPM.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm">Collecting and Bundling -- Single Interface</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm">Collecting and Bundling -- Multiple Interface</a>.
    Regards,
    Bhavesh

  • BPM Transformation Error not Raising Exceptions

    Hi,
    I've got a BPM receives a message, then call a transformation step and then send the message.  I've created exception branches for the transformation and send steps.  If the message mapping called in the transformation step works, the message is send, no problems.  If a message mapping exception occurs, for example a string index out of bounds, the exception branch is not executed.  Instead the BPM continues to the send step and an error occur because of the empty container element.(the container is empty because the mapping fails).  SAP Help states that an exception is "Thrown when a permanent system error occurs" in the Transformation step.  My question is what exactly is a permanent system error if normal message mapping exceptions is not a permanent system error?  And also, how do I generate a permanent system error when a message mapping exception is thrown in order for the exception branch in my BPM to execute?
    Any suggestions will be appreciated.

    I dont think there is a direct way to raise such error in mapping
    What is the sxi_cache status for ur integration process?
    Here r the steps for which permanent error is thrown
    http://help.sap.com/saphelp_nw04s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    Regards,
    Prateek

  • BPM MESSAGE_NOT_USED, cache problem?

    Hello,
    I try to set up a small BPM but it won't fire and in monitoring I get the error MESSAGE_NOT_USED.
    When I look at the XI runtime cache I can't find my business process (but all receiver and interface definitions which points to it)... And It won't show after a complete cache refresh either.
    My BPM configuration is as follows:
    BPM with receiver interface:
    CreditWorthinessChangeInformation_Abstract
    http://sandvik.com/xi/SOPIC     
    The CreditWorthinessChangeInformation_Abstract interface uses the following message type:
    CreditWorthinessChangeInformation
    http://sap.com/xi/FSCM/Global
    The inbound messages that should trigger the BPM comes from the following interface:
    CreditWorthinessChangeInformation_Out
    http://sap.com/xi/FSCM/Global
    Which uses the same message type as the abstract receiving interface of the BPM:
    CreditWorthinessChangeInformation
    http://sap.com/xi/FSCM/Global
    Any suggestions what might be wrong or missing?
    Regards Johan

    I'm having the problem below:
    1)File adapter get a file from AS400, split it several XML messages and send to XI(Async)
    2)XI get each message and forward to BPM using XI adapter
    3)BPM has to send the message to R/3 via BAPI (Sync)
    4)R/3 reply the result message to BPM(Sync)
    5)BPM has to send the result message to e-mail system if an error had ccurred in BAPI call (Async)
    When I send directly from File adapter to R/3 works like a charm, but when I want use the BPM, a soap header error says to me, that cannot identify a data type that I’m using in the message sent by File adapter, but is the same that using with File adapter
    Any idea?
    Regards,
    Eduardo Souza
    [email protected]

  • XSL Transformation enconding problem?

    Hi everybody.
    I have a strange problem with JDev 9.0.2.829 concerning XSL Transformation:
    I just tried to make the step from JDev 3.2.3 to 9i, imported my existing project and set up JDev 9 for use with XalanJ2 and Xerces2. Everything works fine except:
    If I transform XML data to HTML that contains characters with an ASCII code >127 the whole string appears multiple times (2x or 3x) in the generated HTML.
    The data is read from an Oracle DB with UTF8 encoding, all my stylesheets and JSPs are UTF-8 encoded. JDev9 is set to use UTF-8 encoding.
    No compilation errors, no warnings.
    The same code and stylesheets work perfectly in JDev 3.2.3, deployed into Topmcat 4.0.4 and IBM WebSphere 3.5.4.
    What am I missing?
    Thanks in advance!
    Ralf Steppacher

    OK, I found the culprit.
    The JSPWriter is broken and produces the faulty output when fed with UTF-8 encoded character data. The problem disappears when all character data is buffered in a ByteArrayOutputStream first (without a special encodung schema given) and then written as a string through the JSPWriter.
    Ralf

  • Transformation Mapping Problem.

    Dear BI Experts,
    In 0FIAR_O03 to 0FIAR_C03 transformation mapping between 0DOC_DATE to 0CLAMONTH getting below error.
    Rule 58 (target field: 0CALMONTH, group: Standard Group): Info Object properties 0CALMONTH
    Message no. RSTRAN525
    Diagnosis
    The properties of the Info Object selected, 0CALMONTH, do not match the properties of the available source field.
    But in 3.5 update rule we are not getting any error. How to overcome transformation problem?
    And in 0FIAP_O03 to 0FIAP_C03 transformation 0DOC_DATE to 0CLAMONTH mapping done successfully.
    Getting data also.
    Why problem in 0FIAR transformation?
    Please give any solution.
    Regards
    Ramu

    Hi
    Is there is any routine was involved in that transformation , may it was stopping  to see the actual data, or some time when you migrate from 3.x flow to bi 7.0 flow you will face the transformation ask your abap guy to dedug the transformation so that you can easily now where the exact problem lies.
    Regards
    Madan Mohan

  • BPM: Transformation Error with Interfaces/ MT's in different namespaces

    Hi all,
    Developing an integration process on XI 3.0 SP20 I'm facing following problem:
    I've created a transformation mapping interfaces/ message types from different software components/ namespaces.
    Softwarecomp. 1 is used for the mappings and integration processes
    Softwarecomp. 2 and 3 are used for the interfaces/ message types for incoming and outgoing messages.
    Softwarecomp. 2 and 3 are assigned to Softwarecomp. 1.
    The error message is that the container types do not fit the types of source- and target messages.
    When I copy all objects in Softwarecomp. 1 everything works fine but I don't want to mix it all up.
    I've tried playing with XML-Namespaces in the message types (same XML-NS, like "test" for both MT's, also removing the XML-NS's) but it still doesn't work.
    How can I realise a transformation with objects from different SC's and NS's?
    Thanks in advance!
    Karsten

    I've created another integration process with simple example messages and it really seems to be impossible to do a transformation with message types from different software components.
    I've seen a transformation where they have done it though.
    What did I overlook??

Maybe you are looking for