Mapping of structure appearing in message Dinamically

HI
I have imported a xsd in which there are no sub structures under a given structure.
But I checked the sampel data in that the data is coming as sub structure of the above mentioned structure.
If i have to map data for this dinamic structure then how can I do that
Thanks
Nikhil

Hi Daniel ,
Let me try and give u an example .
there is a structure a which is of type relationships
the xsd def of type telationships is
- <xs:complexType name="Relationships">
- <xs:annotation>
  <xs:documentation>Common group of related objects.</xs:documentation>
  </xs:annotation>
- <xs:sequence>
  <xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
  </xs:sequence>
  </xs:complexType>
now when the XML data is coming in the a structure is having substructures. these sub structures are defined in the xsd def but not as a part of structure A
I have to map data from these sub structures
hope you are able to get what I am trying to say
Thanks
Nikhil

Similar Messages

  • XI settings, change of Data Types and XI still maps old structures

    Hi,
    I have defined XI scenario, where synchronous WebService is being called, and XI calls RFC function module, which returns data. It was working perfectly, until
    I have changed the order of few fields in Data Type and added a few new (exactly as the changes in RFC function module).
    And now the WebService returns exception, on the first field added to the interface:
    <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_BMS_Response/CUSTOMERS_PERSON/TITLE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at
    TITLE is added field.
    I have reactivated everything one by one again, clear cache from Integration Builder and Integration Directory, but it does not help and still old structures are being used in XI.
    I have tested the Interface Mapping and all fields are transformed correctly.
    Please help as it comes a little urgent and I have run out of ideas what to do to refresh the customizing of data types?
    Thank you in advance!

    Hi Peter,
    Yes, I am calling RFC function module from XI.
    After I changed the interface of RFC in SAP, I have imported this RFC once more to XI in Integration Builder and new structures appeared.
    And exception returned is that first new field added to the RFC and Data Type and so on, returns an exception.
    And returned XML structures (in message monitoring) appears to be still old structures.

  • How to prevent java mapping from reloading before each message?

    Hi!!!
    I've written a simple java mapping (XI 2.0): "Content Enricher" transformation
    (source system doesn't send some key information required by target system).
    It works fine.
    Then I wanted to put some parametrization data into the database.
    I added some code to load this data only once into my data structures in the memory.
    I also works fine.
    But the problem is that SAP XI uses MappingLoader/MappingResolver
    to load jar file during transformation of every message.
    In a such situation I lose all data and my code has to connect
    to the database again (what is not good because of performance).
    The question is:
    how to configure SAP XI/where to put my code
    to achieve a such behaviour: only once my code would load
    parametrization from db and then "normal" java mapping could
    use it during messages transformation without impact
    on the performance?
    Regards,
    Andrzej Filusz

    Hi!!!
    Thanks for your answer, but I'm afraid that your solution: singleton pattern doesn't solve my problem.
    When XI reload my java mapping classes, all loaded and kept data are lost. Singleton pattern can't prevent it.
    I asked SAP about this problem: in XI 3.0 the classes will only be reloaded when a cache refresh has really taken place. But they won't implement this improved behaviour in XI 2.0.
    Regards,
    Andrzej Filusz

  • In MM02 appears error message MG144.

    When changing Materials with MM02 appears error message MG144. "The field & is defined as a required field; it does not contain any entry"  But the fields were already set before.
    Has anyone a solution to this error? Is there any new note to implement?

    Hi Gurus,
    Refering to the problem, please check if the Accounting view is active in the OMS2. If it is active then goto check in the Dialog structure -> Material Types -> Quantity/Value updating and check if the value indicator is set with reference to your valuation area.
    This is the basic prerequisite.
    follow the steps as shown to check :
    T code OMS2, select on a particular Material type for your material, we would get the following :
    Double click on the selected material type to get the below screen and check if the Accounting tab is selected :
    if already selected then click on the quantity/value updating icon on the left side to get check if the quantity and value field is updated in the valuation area as shown :
    Then goto MM02 screen and goto the Price control field and press F1 to find out the technical name for the particular field as shown :
    click on the spanner icon to get the technical name :
    once checked. goto the MM02 screen layout from
    SPRO -> IMG -> LOGISTICS GENERAL -> MATERIAL MASTER -> FIELD SELECTION -> ASSIGN FIELD SELECTION TO FIELD SELECTION GROUPS.
    Select Field Name and enter the field name to get :
    click on the Yellow and green icon to get the screen as shown :
    check if it is a required entry.
    once done with these, goto MM02 Accounting 1 tab and check the previous period/year
    check if the details are properly maintained. I am sure it would work.
    regards
    Sagnik Chakravarty.

  • I wanted to know how to unlock my iphone, since I had to restore it and when it restarted, it appeared this message: "The SIM card que you currently have installed in this iphone is from a carrier that is not supported under the Currently actuvation polic

    I wanted to know how to unlock my iphone, since I had to restore it and when it restarted, it appeared this message: "The SIM card que you currently have installed in this iphone is from a carrier that is not supported under the Currently actuvation policy that is assigned by the server activion. this is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request que this iphone be unlocked by your carrier. Please contact Apple for more information. "
    I need help, I use my phone for everything enclusive to work. I appreciate if you can help. I'm from Brazil. My name and giullia.

    Did you purchase this device from Apple or an authorized reseller? It sounds as if you had a device that was jailbroken/hacked to operate on your carrier. Upon updating the iOS, it is now locked back to the original carrier the device was locked to.
    Only the carrier the device is locked to can authorize an unlock. You will need to make contact with that carrier and see if they provide unlocking services, and if they do, if you qualify for an unlock. Otherwise, you are out of luck. One that carrier can take care of the unlocking.

  • Is there a way to disable previously viewed iMessages from appearing as Messages notifications when waking my MacBook Pro from sleep?

    Is there a way to disable previously viewed iMessages from appearing as Messages notifications when waking my MacBook Pro from sleep?  Regardless of whether I am using iMessage from  my iPhone or iPad, when I open my MBP, I get attacked by Messages notifications for iMessages I've obviously already seen or responded to.  Is there a way to change this?  Are others having this issue?
    Additionally,  previous iMessages sent or received from those  devices sometimes don't populate into the Messages window on the MBP.  I haven't been able to identify when or what causes this; sometimes it just doesn't seem to work (and I verified that the messages sent/received were, in fact, iMessages and not SMS).
    Thanks - any help or insight would be appreciated!

    First you need to determine what laptop model you have; then we can help you. A Mac Book Pro cannot run OS 9.1.
    With your Mac booted up, click on the  at the far left of the menu. Then click on About This Mac. It will show what version of OS  you are running. What is the version?
    A MBP will be running something like version 10.x.
    If you are running version OS 9.x, you don't have a Mac Book Pro.
     Cheers, Tom

  • Since installing iOS 7 messages randomly disappear from the message list.  When I scroll through message from 'Fred' has disappeared. I go to 'Fred' in Contacts, send message and there are the messages.  'Fred' messages then re-appear in Message list. Why

    Since installing iOS 7 messages randomly disappear from the messages list.  When I scroll through message from 'Fred' has disappeared. I go to 'Fred' in Contacts, go to send message and there are the messages.  'Fred' messages then re-appear in Message list. Why?  How to stop messages disappearing from message list?  Thoughts?

    Since installing iOS 7 messages randomly disappear from the messages list.  When I scroll through message from 'Fred' has disappeared. I go to 'Fred' in Contacts, go to send message and there are the messages.  'Fred' messages then re-appear in Message list. Why?  How to stop messages disappearing from message list?  Thoughts?

  • How to XI error message will mapped to the SOAP faul message-SOAP(Axis)

    Hi,
      Receiver end I am using SOAP (Axis) adapter and I am getting the system error and I am not getting the payload in SXMB_MONI.
    What ever the error message how do MAP as a SOAP Fault message in SXMB_MONI.
    I found the Solution from OSS note 1039369 but did not explain where to set what parameter and what modules...
    SOAP Fault code
    If parameter Category is XIAdaptger, Area SOAP, Code FAULT
    In this case, parameters P1 and P2 may be set to the fault namespace and fault name. If these parameters are set, the SOAP fault code is set to namespace P1 and name P2. Otherwise, it is set as in other cases.
    For all other cases
    In this case, the SOAP fault code is set to namespace "http://sap.com/xi/XI/Message/30" and name category.area.code, where category, area, code represent the XI error category, area, and code values, respectively.
    SOAP detail
    If parameter ApplicationFault is set
    The SOAP detail child is set to the XI application payload. If, however, the payload extraction mode is set to Envelope, the application payload is taken as the SOAP envelope and the SOAP detail content is set to its body content. Similarly, if the extraction mode is set to Body, the application payload is taken as the SOAP body and the SOAP detail content is set to its content.
    Otherwise
    No SOAP detail content is set in this case.
    Examples
      XI error element
    <sap:Error ...>
      <sap:Category>XIAdapterFramework</sap:Category>
      <sap:Code area="MESSAGE">GENERAL</sap:Code>
      <sap:AdditionalText>Failed to determine a receiver agreement for the given message.</sap:AdditionalText>
    </sap:Error>
    SOAP fault element
    <soapenv:Fault>
      <faultcode xmlns:ns1="http://sap.com/xi/XI/Message/30">ns1:XIAdapterFramework.MESSAGE.GENERAL</faultcode>
      <faultstring>Failed to determine a receiver agreement for the given message.</faultstring>
      <detail/>
    </soapenv:Fault>
    Help appriciated
    Regards,
    Venu.
    Edited by: Venugopalarao Immadisetty on Sep 24, 2009 3:39 PM

    Using Receiver SOAP Axis adapter and I am getting the below exception
    XI error element
    <sap:Error ...>
    <sap:Category>XIAdapterFramework</sap:Category>
    <sap:Code area="MESSAGE">GENERAL</sap:Code>
    <sap:AdditionalText>Failed to determine a receiver agreement for the given message.</sap:AdditionalText>
    </sap:Error>
    and above exception how do I convert as a SOAP Fault message..
    SOAP fault element
    <soapenv:Fault>
    <faultcode xmlns:ns1="http://sap.com/xi/XI/Message/30">ns1:XIAdapterFramework.MESSAGE.GENERAL</faultcode>
    <faultstring>Failed to determine a receiver agreement for the given message.</faultstring>
    <detail/>
    </soapenv:Fault>
    Any idea what modules need to add in Receiver SOAP Axis adapter.

  • I have an Iphone 5S and used to sync it to my computer in the past without any problem, but now I can't and appears the message "usb device not recognized", and the cable is good and so the USB port. Do you have any idea what's the problem?

    I have an Iphone 5S and used to sync it to my computer in the past without any problem, but now I can't, and appears the message "usb device not recognized", and the cable is good and so the USB port. Do you have any idea what's the problem?

    Try leaving it plugged in and then restart the computer.
    If you are on Windows this link may help but it is a bit old.
    http://www.technologynext.org/error-usb-device-not-recognized-how-to-fix/

  • N:1 Mapping and Matching Lines of Message 1 to Message 2

    Hi Everyone,
    I have an n:1 mapping and I need to match up the lines of message 1 to the lines of message 2 to map the target.  For example:
    Source 1
    Key1 = A, Key2 = A, Key3 = A, Field1 = Red
    Key1 = A, Key2 = B, Key3 = B, Field1 = Blue
    Source 2
    Key1 = A, Key2 = A, Key3 = A, Field1 = Wagon
    Key1 = A, Key2 = B, Key3 = B, Field1 = Sky
    Target:
    Key1 = A, Key2 = A, Key3 = A, Field1 = Red Wagon
    Key1 = A, Key2 = B, Key3 = B, Field1 = Blue Sky
    I think that this is possible in a user defined function that basically loops over the Source 2 for each value in Source 1, and I even think I saw a solution to this common problem posted before, but I have searched and can not find it.  Any help is greatly appreciated!
    Thanks
    Peter

    Hi Peter,
    From the example that you have given, mapping between the two source messages has been
    done only for the fields("Field1"). Infact, you are combining the values of the fields
    in the both the source messages-to show in the target message.
    I think this can be done by creating one source message type which stores both the source
    messages (n:1) and then you can map both the field1s of the source messages to field1 of target
    message <b>by using the concat function</b>.
    Hope this was helpful.
    Regards
    Sushumna

  • I make me a new apple id, but when i want to download an application it appear a message that says imposible to connect to itunes sttore, why?

    I am in Costa Rica, but i make me a new id of apple of U.S.A. for have more applications, but when i try to download an app it appears a message that says imposible to connect to itunes store, what can i do?

    Thank you, but i read this article and a lot of more articles and i cant fix the problem, but i see in a diagnostic of itunes that i have a problem that says mistake in the safe vincule to itunes store, but i dont know if is that the problem that affect the ipod or if is another problem, what can i do? i need HELP

  • I make me a new apple id, but when i want to download an application it appears a message that says imposible to connect to itunes store

    I am in costa rica, but i make me a new apple id of U.S.A. but when i want to download an application it appears a message that says imposible to connect to itunes store, and i have wi- fi, what can i do? PLEASE HELP

    Thank you, but i read this article and a lot of more articles and i cant fix the problem, but i see in a diagnostic of itunes that i have a problem that says mistake in the safe vincule to itunes store, but i dont know if is that the problem that affect the ipod or if is another problem, what can i do? i need HELP

  • I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sending data to Message borker.(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to save file in SAP fold

    I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • Gmail correspondence appears in messages, to a completely different person. What's going on?

    Recent oddness: an e-mail thread on my gmail account between myself and person A also appears in Messages in a thread between myself and person B... who hasn't said anything about receiving texts that are obviously not meant for him, nor do these emails appear on my iPhone. I don't understand how and why these two contacts would be linked in any way. And these are the only e-mails, from the million I send everyday, that appear in Messages. Why would this happen?
    Thanks in advance!

        We want your phone working just as well now as it did before your trip, sngbrd9. Are you trying to send the pictures to other Apple users using iMessage or are they being sent through MMS/picture messaging? Are you able to send pictures one at a time to those same contacts without an error? Did you change any settings in your camera to have HDR now instead of a slightly lower resolution with a smaller file size? 
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Biztalk Map: Map repeating structures into a single node

    Simple one for the experts. I have the following two samples. Can somebody please guide me on how to achieve my output? Just a caveat. The Errorlist may or may not have errors in which case just an empty tag should suffice.
    Input
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <ErrorList>
    <Error>Error_0</Error>
    <Error>Error_1</Error>
    <Error>Error_2</Error>
    </ErrorList>
    </Detail>
    Output1: Could be one or more xmls depending on the number of errors
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <Error>Error_0</Error>
    </Detail>
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <Error>Error_1</Error>
    </Detail>
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <Error>Error_2</Error>
    </Detail>
    Output 2: Concatenation of errors using a suitable delimiter (I used pipe..pls suggest)
    <Detail Att1="a">
    <Value1>Test</Value1>
    <Value2>Test2</Value2>
    <Error>Error_0 | Error_1 | Error_2</Error>
    </Detail>
    Thanks

    Hello ZIntegrator,
    for your second output case, you can build map like below . since error can occur zero or more times, make sure you set the "Error" element  max occurs property to unbounded and Min occurs to 0 in the input schema.
    so just drop String concatenation and cumulative concatenation functiods like above.
    and for String concatenation, supply second parameter as the character pipe  "|".  that's it, it should work.
    And coming to your first output case, as per your input you have 3 error cases. so do you want to create 3 different xml messages?
    please note that a map can only output one message (of course we can create more than one using transform shape in orchestration, that is different case).
    if you want seperate xml documents to be generated for each error, then normal mapping cannot work. 
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • Is there a trick to fixing an iPad Air (Wifi version) that won't turn on?

    I am out of the country for work and while I was in Singapore, I was in the middle of using my iPad (Facebook browsing) while it was plugged in and it shut off unexpectedly (it was at roughly 93% battery as I was getting ready to catch my next flight

  • Palm Centro Carriername display

    Hi I'm new and this is my first post. In March I baught a Centro from England to use in Sweden with the carrier Comviq / Tele 2. I noticed emedietly two problems one minor and one for me vital  error. I reported the problem to Palm Support in Ireland

  • List of POs without confirmation from a vendor

    Hi, Is there a transaction,  to obtain a list of all the PO's without confirmations from the vendor ? Means that the "Confirmation" area in the PO is blank while there is a confirmation control key and a confirmation needed. Thanks in advance for the

  • Working with buttons

    Hello! import flash.text.TextFormat; btn2.visible = false; btn.addEventListener(MouseEvent.CLICK, myClickReaction); function myClickReaction (e:MouseEvent):void{ trace("I was clicked! myclickreaction"); tekst.text = "This is my text"; btn.visible = f

  • Re-Install CS3 on Mountain Lion 10.8

    Hi, I upgraded from Lion to Mountain Lion (ML). The installed CS3 Design Premium worked well after that. For some reason I had to repair the user rights on my disk. After that, when I wanted to start Photoshop e.g., I became the warning-message that