Empty target message in 1 to n transformation

I am using a ccBPM to handle a 1:n message scenario.  I believe I have done everything right:
<li>I have created a message mapping where target message has an occurrence of u201C0..undboundedu201D.  When I test the message mapping it works 100% and produces multiple messages.</li>
<li>I have created an interface mapping where the target interface also has an occurrence of u201C0..unboundedu201D.  I have tested it and it also works 100%.</li>
<li>In my ccBPM I have two container elements, one representing the source message and a second container that has the correct abstract interface and which is marked as a multiline container.</li>
However, if the message is processed in the ccBPM, I can see in the workflow log that the target message is empty in the transformation step.
Can anyone tell me what I could have done wrong or how I can debug it further to tell what the source of the problem is?

Hi Everyone
I found out what the problem was.  When one tests the mapping in the graphical mapping tool, you will notice that SAP automatically puts your message inside two tags: <messages><message1></message1></messages>.  These tags make sense of course, but the problem was that I put my message inside these tags manually before sending it to the transform.  The result was that my message that had already contained the message tags was put inside yet another set of message tags.  That is why my transform did not work.
I hope this will help you solve your problem if you encounter a problem similar to mine.

Similar Messages

  • Multiple target messages

    Hello,
    for our business process, we need to map a single source message to multiple target messages (of different message types).
    The (ABAP)mapping takes care of this mapping, so I put a transformation step after my receiver step, that invokes this mapping.
    What do I have to define after the transformation step: do I use a fork or a send-for-each-block or ... ? Since we're on SP15, can we use the "extended" option in the interface determination to facilitate our process ?
    Thanks for your answers !
    Kind regards,
    Frederik

    Hi,
    What is the SP that you are using. If it is XI 3.0 and SP less than 14 then it is not possible. You need to use Abstract interface.
    And why do you need Multimapping in the first place. You can do a simple mapping and in the receiver determination you can add more Business Server/System. Each Service/System you will have seprate IB interface and a separate Interface mapping.
    Hope this solves your problem.
    Thanks,
    Prakash

  • Xjc  "results in empty target" error

    Hi everybody.
    I'm trying to complile the following very simple xsd with the xjb below. I keep getting "XPath evaluation of "/xsd:schema" results in empty target node".
    Any idea? Thanks in advance, Agostino
    xsd (just relevant part):
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">   
        <xsd:element name="myroot">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="int01" type="xsd:int" />
    xjb (just relevant part):
    <jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
                   xmlns:xsd="http://www.w3c.org/2001/XMLSchema"
                   version="1.0">
      <jaxb:bindings schemaLocation="SQ.xsd" node="/xsd:schema">
        <jaxb:bindings node="//xsd:element[@name='int01']">Edited by: agostino75 on Aug 24, 2010 2:01 PM

    Hello,
    i think, when you use the Microsoft JAVA-VM, this error Message appears.
    If you use the SUN JAVA VM this message doesnt pop up.
    Try to install (if you havent done already) to install the SUN Java. If you already have the Installation activate under Internet-Options of Internet Explorer.
    Best Regards
    Helmut

  • Problem in creation of target with the generated target message

    Hi,
    I’m doing File-to-File content conversion scenario.
    I’m able to see successful message in SXMB_MONI. Target message also created (Request Message Mapping) according the requirement.
    I’m using lastfieldOptional option in source content conversion.
    Adapters are running fine without content conversion failure..
    But the target file is not created.
    Could you pls anyone gives the reason or suggest any other things I need to verify.
    Thanks,
    Venu.

    Hi,
    do you see any errors in adapter <b>message</b> monitor:
    http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp
    Regards,
    michal

  • Creation of empty target group---URGENT!!!!!!!

    Hi...
       I have a scenario in campaign automation where i need to create a target group automatically when ever a  customer clicks on yes/no in the survey.
          I hope there is a standard workflow which creates target grooup.but do we need to have an empty target group so that who ever cliks on yes/no can form a target group.?
       When ever a Target group is created,i need to create LEAD automatically from it.How do i achieve this?is there a workflow or BADI? and if at all leads are created automatcally,how are they automatically assigned to Lead qualifier??
    Regards,
    Sanjana

    hi sanjana
    its easy as you just assign a new target group to existing or new profile set and do not assign any BP tp that target group
    this way you have empty target group at your discretion.
    best regards
    ashish

  • Getting the Source File name Info into Target Message

    Hi all,
    I want to get the Source file name Info into Target message of one of the fields.
    i followed Michal BLOG /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Requirement :
    1) I am able to get the Target file name as same as the source file name when i check the ASMA in Sender & Receiver Adapter , with out any UDF...............this thing is OK
    2) I took One field extra in the target structure Like "FileName" & I mapped it Like
                              Constant(" " )--UDF-----FileName
    I Checked the Option ASMA in Both Sender & Receiver Adapters
    Here iam getting the Target File name as same as Source file name + Source File name Info in the Target Field " FileName".
    I Dont want to get the Target File name as same as Source file name. I want like Out.xml as Target file name.
    If i de-select the Option ASMA in Adapters means it is showing " null" value in the target field "FileName".
    Please Provide the Solution for this
    Regards
    Bopanna

    Hi All,
    Iam able to do this by checking the Option ASMA in only sender adapter itself
    Regards
    Bopanna

  • Add file name to the element in target message

    Hi all!
    I try to configure scenario:
    Get all files from directory (it will not be the same number of file every time) and mapping this file to the ERP system. I use File adapter to do this. But what Is necessary I need to mapp the file name to the element in target message.
    I mean: When I have got the RFC structure imprted from ERP and there I have got the element "filename". I would like to put the file name of file which I mapping to this element. Next put the all file contents with file name to the ERP table.
    It is possible to do that??
    I found in sap help that I can keep file name in the message header to get the same target file name, but I wont to put file contents (with file name) to the ERP table not to another file.
    THX for all your opinions.

    The DynamicConfiguration fin inbound message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">/usr/sap/PXD/put/archive</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileEncoding">ISO646-US</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileTimestamp">20061212T121622Z</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">txt</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">200610.TXT</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">124</SAP:Record>
      </SAP:DynamicConfiguration>
    and for Response:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Response
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">124</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">txt</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileTimestamp">20061212T121622Z</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileEncoding">ISO646-US</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">200610.TXT</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">/usr/sap/PXD/put/archive</SAP:Record>
      </SAP:DynamicConfiguration>

  • Error in Message Mapping "Target message IDOC: ORDRSP.ORDERS02 does not exi

    Hi,
    I have joined newly to the team.
    When I tried to open one message mapping it throwinf follwing error...
    "Target message IDOC: ORDRSP.ORDERS02 does not exist in software component version ID: 44423362454456485465..
    Check whether the software component version ID: 44423362454456485465 is in Enterprise Service Repository. Import this version if necessary"
    Is there any impact because of which in the message flow?
    In my case some of the messages are failing with mapping error "runtime exception occured during application mapping com/sap/xi/tf/_SUS2MMOrderResponse_; java.lang.NullPointerException: while trying to invoke the method java.util.Map.get(java.lang.Object) of an object loaded from field com.sap.aii.map`"
    And some of the messages are processed sucessfully and they also using the same mapping program 'SUS2MMOrderResponse'.
    Could someone tell me is there any relation for the above error in XML messages and to the message mapping?
    Regards
    Baskaran K

    Could someone tell me is there any relation for the above error in XML messages and to the message mapping?
    The error mentions that you have used an IDOC in your mapping program which is not found in the ESR....you need to check if the IDOC is present in the ESR and is present under the correct SWCV.
    Once you have done the check do some dummy change to the mapping and activate it (if in DEV) and then check the CACHE.

  • Searching a Field In Source or Target Message in Message Mapping

    Hey Guys,
                      I  came accross this peculiar behaviour and it keeps bugging me , I could search any field in source or target message in message mapping in PI 7.0 by copying the path( /ns1:MaestroAcreedores/Acreedores/ClaveDeGrupo or any idoc field /FIDCCP02/IDOC/E1FIKPF/BUDAT  ) but in PI 7.1 i cant , its giving me an error String /ns1:MaestroAcreedores/Acreedores/ClaveDeGrupo not found  , i can only search the field independently.Can anyone please help me out in this.

    Hi
    I am not sure whether it worked in 7.0 or not, but having checked myself i can confirm that it is not working in 7.1 in my system also.
    For alternative, you can check by changing into source text view where it will display as xml.  Here when you search the keyword, it would display you the hierarchy better than normal view.
    I dont think there is any other alternative. although I would say in the worst case scenario you would not have more than 10-15 occurrences of same element in an idoc.
    Regards
    Krish

  • Target Message for generation HTML email?? : Michal's Blog (2718)

    hey folks,
    I'm trying out the scenario described in Michal's blog <a href="/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter">XI: HTML e-mails from the receiver mail adapter ?</a>
    What should be the target message type/interface which is generated by XSLT mapping? If it is an message type containing relevant HTML tags (HTML, BODY, P, OL etc), is there any standard XSD/DTD for HTML tags..something similar to XSD for mail package?
    The XSLT mapping seems to generate a HTML code w/o any XML header (<?xml version="1.0" encoding="UTF-8"?>). Is an XML message w/o this header valid?
    I appreciate your help/inputs
    thx in adv
    praveen

    Praveen,
    it can be anything
    Reason is that the output of your XSL mapping will not be validated against the target XSD and so you can create a dummy messagetype or use the source itself as the target message type etc.
    Regards
    Bhavesh

  • No namespace tag in target message (Test Interface mapping)

    Hi,
    I'm doing a <b>IDoc to file</b> scenario, and I'm using <b>external definitions</b> and a XSLT mapping. When I try to test the mapping in Interface Mapping he maps it but I <b>can't see the tree view</b>, I only get the source code...
    <?xml version="1.0" encoding="utf-8"?>
    <SenderID/><ReceiverID/><DocumentDate>20051028090653</DocumentDate>
    <DocumentNumber>456184</DocumentNumber><TestIndicator>     P</TestIndicator>
    <Version>1.0/SSCC</Version>
    <Desadv><MessageReferenceNumber>81749973</MessageReferenceNumber></Desadv>
    I presume that there is a <b>namespace</b> tag <b>needed</b> like
    <ns:Desadv xmlns:ns="http://www.certione.com/RFDesadv/Schema">
    but I don't know what to do to have it added to the target message which is external definition Desadv with namespace http://www.certione.com/RFDesadv/Schema in the XSD...
    Any help would be appreciated!
    Kind regards..
    Message was edited by: Bart De Saedeleer

    Hello,
    Could you put your XSD definition ?
    And check your mapping because it seems that you don't have a root node in output.
    <?xml version="1.0" encoding="utf-8"?>
    <b><MYROOTNODE></b>
    <SenderID/><ReceiverID/><DocumentDate>20051028090653</DocumentDate>
    <DocumentNumber>456184</DocumentNumber><TestIndicator>     P</TestIndicator>
    <Version>1.0/SSCC</Version>
    <Desadv><MessageReferenceNumber>81749973</MessageReferenceNumber></Desadv>
    <b></MYROOTNODE></b>
    Regards,
    Chris
    Message was edited by: Christophe DUMONT

  • Multi-Mapping, only want to create target messages sometimes.

    Hi,
    I have a Multi-Mapping interface which maps a single incoming message to 3 target messages.
    Based on the contents of the incoming message I only want to create a single instance of the outgoing messages.
    The incoming message can have a repeating node of 3 types A, B or C. If there are multiple nodes of Type A then i need to create a single instance of one of the target messages and map the data in node A to this message, likewise for node B and node C.
    I cant figure out how to do this. If I map a constant to the MT level of the target message and there are no type C nodes then the message type for this is created blank. But if I try and use the CreateIf tool then I get a MT created for each type C node.
    Can anyone help with this?
    If this isn't clear I will try to explain more.
    Thanks

    Hi,
    Thanks for your answer, I tried what you suggested and while it is creating the MT for type A nodes correctly it is not creating the MT for type B or C nodes. I have tried messing with the context on the incoming field and not getting anywhere.
    I always seem to get almost there with this mapping but never what I am looking for.
    Gareth

  • How to delete empty mail messages in my Ipad2

    I am receiveng empty mail messages in IPad2 and can not select them for deletion. They have no headers, no from or to, nothing? Any clues on how to select them? Edit in mail does not work either.

    Try turning the account off and on : Settings > Mail, Contacts, Calendars , then tap the account on the right, slide Mail to 'off', exit settings and go back into the Mail app, and then go back to Settings and slide Mail back to 'on'

  • Two 1-N relationships in target message

    Hi
    I am new to using the functions in message mapping and I was wandering if an expert could please offer me some help. I have a scenario where I need to produce two messages from the source message based on the number of line items for example, if there are 2 line items, the mapping needs to produce 2 messages from the source message. This part I have managed to get working fine.
    The problem is that the target message has two 1-N relationships (i.e inside the header and payload) and am I am struggling to produce 2 MessageDestination nodes per message. The mapping that I am currently using only produces 2 MessageDestination nodes inside the first message and not the second message aswell (I am using the splitByValue function). Please see example below:
    Source:
    Message1
    Header
    -MessageDestination
    --Destination[Destination1]Destination
    -MessageDestination
    -MessageDestination
    --Destination[Destination2]Destination
    -MessageDestination
    Header
    Payload
    LineItem
    -LineItem
    --Line[Line1]Line
    -LineItem
    -LineItem
    --Line[Line2]Line
    -LineItem
    Payload
    Output:
    MESSAGE1
    Header
    -MessageDestination
    --Destination[Destination1]Destination
    -MessageDestination
    -MessageDestination
    --Destination[Destination2]Destination
    -MessageDestination
    Header
    Payload
    LineItem
    -LineItem
    --Line[Line1]Line
    -LineItem
    -LineItem
    --Line[Line2]Line
    -LineItem
    Payload
    MESSAGE2
    Header
    -MessageDestination
    --Destination[Destination1]Destination
    -MessageDestination
    Header
    Payload
    LineItem
    -LineItem
    --Line[Line1]Line
    -LineItem
    -LineItem
    --Line[Line2]Line
    -LineItem
    Payload
    The following is the required output that I need to produce (i.e. 2 MessageDestination nodes per target message):
    Required Target / Output:
    MESSAGE1
    Header
    -MessageDestination
    --Destination[Destination1]Destination
    -MessageDestination
    -MessageDestination
    --Destination[Destination2]Destination
    -MessageDestination
    Header
    Payload
    LineItem
    -LineItem
    --Line[Line1]Line
    -LineItem
    -LineItem
    --Line[Line2]Line
    -LineItem
    Payload
    MESSAGE2
    -MessageDestination
    --Destination[Destination1]Destination
    -MessageDestination
    -MessageDestination
    --Destination[Destination2]Destination
    -MessageDestination
    Header
    Payload
    LineItem
    -LineItem
    --Line[Line1]Line
    -LineItem
    -LineItem
    --Line[Line2]Line
    -LineItem
    Payload
    Any help will be appreciated very much.
    Thank you.
    Edited by: Brendon Bouwer on Aug 24, 2009 2:28 PM
    Edited by: Brendon Bouwer on Aug 24, 2009 2:31 PM

    Source:
    Message1
    <Header>
    <MessageDestination>
    <Destination>1<Destination>
    <MessageDestination>
    <MessageDestination>
    <Destination>2<Destination>
    <MessageDestination>
    <Header>
    <Payload>
    <LineItem>
    <LineItem>
    <Line>1<Line>
    <LineItem>
    <LineItem>
    <Line>2<Line>
    <LineItem>
    Payload>
    Current Output:
    MESSAGE1
    <Header>
    <MessageDestination>
    <Destination>1<Destination>
    <MessageDestination>
    <MessageDestination>
    <Destination>2<Destination>
    <MessageDestination>
    <Header>
    <Payload>
    <LineItem>
    <LineItem>
    <Line>1<Line>
    <LineItem>
    <LineItem>
    <Line>2<Line>
    <LineItem>
    Payload>
    MESSAGE2 (Only one MessageDestination Node is being created, not 2)
    <Header>
    <MessageDestination>
    <Destination>1<Destination>
    <MessageDestination>
    <Header>
    <Payload>
    <LineItem>
    <LineItem>
    <Line>1<Line>
    <LineItem>
    <LineItem>
    <Line>2<Line>
    <LineItem>
    Payload>
    The following is the required output that I need to produce (i.e. 2 MessageDestination nodes per target message):
    Required Target / Output:
    MESSAGE1
    <Header>
    <MessageDestination>
    <Destination>1<Destination>
    <MessageDestination>
    <MessageDestination>
    <Destination>2<Destination>
    <MessageDestination>
    <Header>
    <Payload>
    <LineItem>
    <LineItem>
    <Line>1<Line>
    <LineItem>
    <LineItem>
    <Line>2<Line>
    <LineItem>
    Payload>
    MESSAGE2
    <Header>
    <MessageDestination>
    <Destination>1<Destination>
    <MessageDestination>
    <MessageDestination>
    <Destination>2<Destination>
    <MessageDestination>
    <Header>
    <Payload>
    <LineItem>
    <LineItem>
    <Line>1<Line>
    <LineItem>
    <LineItem>
    <Line>2<Line>
    <LineItem>
    Payload>

  • Message Envelope not found. Probably empty soap message. Error while testing web service

    Hi Gurus,
    I'm new to web service.
    I have created an RFC and a web service to create a pdf.  When I try to test the web service, I'm getting an error : "Message Envelope not found. Probably empty soap message." I have tried all the links available in google, but i'm unable to resolve the issue.
    Can anyone help me to solve this.
    Many thanks in advance.

    Which version/platform are you using?
    The thing you need to consider here is that the JDev proxy settings do not affect the BPEL server.
    So if the BPEL server cannot connect to your webservice, it will not be because of any Jdev setting.
    Check the proxy settings on your BPEL server (on 10.1.2 developer install it will be in obsetenv.bat, on 10.1.3 it will be a commandline property of the JVM - see AS Control administration page for the JVM)

Maybe you are looking for

  • Where do I add a label tag in the code of a library item?

    Hello, For 508 compliance purposes I need to add a label tag to a list menu that I've created as a library item in Dreamweaver. Can anyone tell me where in the following code should the label code be added and how it should appear. The actual site is

  • Extension Mobility in CUCM 7.1: How to send Userid and Pin with Service Par

    Hi at all is it possible to configure the IP Phone Service (CUCM 7.1)for Extension mobility so that when a user login in EM they dont need to insert the UserID and UserPin??? I think it could work with the Service Parameter but I dont know how. Have

  • SPROXY CONNECTION

    Does someone out there have detailed steps for getting SPROXY to communicate with the integration builder. We have both WAS6.40 SRM system and WAS6.20 with 6.4 kernal R/3 system. The online docs stink in regard to this. I ran the connection test, Put

  • Frequent craches on mavericks after clean install.

    I have a macbook pro santa rosa 2.2. My computer works perfectly well with snow leopards, super stable. I've installed mavericks twice, always clean installs and I can't use my computer more than one hour without getting a crash/freeze. Any ideas?

  • Status row for item '', activity ID '264766' does not exist.

    I have developed a custom workflow which is AME configured. The workflow runs well in R12.1.2 instance. But when deployed to R12.1.3 it fails out. error starting at line 20 in command: exec XX_PACKAGE.XX_PROCEDURE(19098, 'XX_WF', '1:Yes;') Error repo