Whitespace being trimmed after mapping

Hi,
I have a sync scenario:
CRM->XI->SOAP External System
in XI I have a BPM where I map some data from a locally defined schema to a schema defined in an external definition (BS7666).
The data is generated by a user defined function and produces something like "     10   Something", without quotes. 
The mapping test tool generates perfect XML but when the BPM passes the results of the mapping step to the Sync call, the leading spaces get removed.  It's not the sxmb_moni display bug.
I've tried editing the xsd to add preserve whitespace to the field in question, but this seems to have the bizarre effect of removing additional spaces in the middle as well as the leading spaces (!).
XSD spec seems to indicate that whitespace is not trimmed unless requested.
This is SPS 14.
Thanks
James.

Hi James,
Did you try sending it to the target system and see if the whitespace is removed? Or you are just looking into SXMB_MONI and concluding that whitespaces aer removed. You can also try saving the file and check if the whitespace is removed.
Try this right click the payload in the left pane of SXMB_MONI and download it. Open it in the Notepad and see if you have the white space. Whenever it is displayed in a browser even in Internet Explorer the whitespaces are ignored... you need to have   for having more than 1 whitespace.
For a proof you can create your own XML in notepad with white spaces and open it in IE you will not see all the space.
Check this and let us know still you are facing the problem.
Regards,
Prakash

Similar Messages

  • Fields Missing after Mapping

    Hi All,
          I am doing Flat file to Flat file Scenario.I am doing content conversion on both the sender and receiver side.I have twenty eight fileds on sender side and twenty eight fields on receiver side.When the Flat file is being picked up it is converting into XML and all the fields are clearly shown in SXMB_MONI.I have mapped every field during mapping.But when i check the payload in RWB in message monitoring the XML message which we can see after mapping in some records only 24 fields are being shown while in some records all 28 fields are being shown.When I check the same in test tab in message mapping it is working fine.Please help in this regard ASAP.
    Thanks in Advance
    Dinakar

    Sounds to me like you have some conditional mappings that are falling out and not returning values.  If all your field mappings are one-to-one without conditions then the problem must be within the data itself.  We've seen where certain XML control characters can mess up mappings (& and $ for example).
    I don't suppose you are using an XSL mapping that you can post here for us to check out???
    Chad

  • Whitespaces getting trimmed in SAP DM docx

    Hello SAP experts, I am facing an issue with Disclosure Management 10 and namely I am getting whitespaces randomly trimmed.
    For example I get CamelCase instead of Camel Case, this happens after saving changes to DM and reopening for edit. This occurs for both data that is "datalinked" and other parts like Titles and Footers that have no "datalinks". Hope anyone can point out what could be happening.
    PS My locale for reports is Spanish by the way in case it's relevant and I attach two images so yo can get a better idea of the issue.

    Hi Ivan
    drop me an email [email protected], I´m working with DM as well, and I think we can share info.
    cheers!

  • My Apple ID is no longer being recognized after IOS5 update

    My Apple ID is no longer being recognized after upgrading my I-Phone to IOS5.  When trying to update my aps, it asks for the password and doesn't recognize it when I enter it.  I've been through the entire "Forgot my ID" process, but nothing's working.  Can anyone help please?

    Me too my real worry is that we will not be able to download software updates as it seems to me that the original software was installed using the old ID

  • Pictures are not being delivered after saying delivered on iMessage.

    Pictures are not being delivered after saying delivered on iMessage.
    Txting through iMessage works fine. Pic's won't send.
    I turned on and off everything and did all the necessary trouble shooting.
    I'm on a Verizon 4S. and I'm sure Verizon has nothing to do with iMessage system, since it's on its on server.

    bump

  • Need to split messages after mapping in the BPM.

    Hi,
    I have a req. to split MT to send to target as multicast...
    I need to do it after mapping...
    How to create interface determination and receiver determination.
    HOw to create reciver agreement ...?
    regards
    Akshay.

    Hi
    Receiver Determination (Only one)
    Enter the Sender Service, Interface and Namespace.
    Now add your first receiver system as the service in "Configured Receivers".
    Click on the '+' in "Configured Receivers".
    Add next receiver system.
    Repeat until all receivers are created.
    Interface Determination (Only one)
    Enter the Sender Service, Interface and Namespace.
    Enter '*' for Receiver Service.
    Select your inbound interface and your interface mapping.
    Receiver Agreement (One for each receiver)
    All receivers will need to have seperate communication channels.
    Create a receiver agreement for each receiver and select the communication channel for that system.
    Regards,
    Yaghya

  • 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

  • I have just purchased the iPhone 5s and my previous phone was backed up on iCloud. However when I restored this on my new phone my photos are still being restored after 4 days. Shows the amount there but no pictures?

    I have just purchased the iPhone 5s and my previous phone was backed up on iCloud. However when I restored this on my new phone my photos are still being restored after 4 days. Shows the amount there but no pictures? Is there anything I can do to get them back as my other phone has now been cleared. On my iCloud storage it still shows that my previous phone had all the info still?? I'm confused!

    Many users have lost photos while preforming a restore from backup or upgrading the iOS.   Recall, only photos in the camera roll are backed up to iCloud.  There is a way to turn backups for camera roll on/off, perhaps these users had camera roll turned off.
    See:
    Settings>icloud>Storage & Backups>Manage Storage,  tap the device's name and on the next screen, be sure Camera Roll is turned on.
    IMPORTANT...
    Photos should be regularly synced to a computer (like you store photos from a digital camera) using either USB via iTunes (on a mac use iPhoto or Aperture to move them to an album) or using photo stream.  If using Photo stream, but sure to move the received photos to a permanent album.  If you have been doing that, then you can sync those photos back to your device.
    Or, you can find other apps in the app store that send camera roll photos to a service like Dropbox.
    If you haven't been saving photos except relying on iCloud to store them in a backup, then that is risky, as many users have discovered.  I'm afraid I have no advice in this case - there is no "cure".

  • OS 5.0, Storm: URLs in SMS messages stop being clickable after the thread is opened the first time

    I'm running 5.0.0.328 on a VZW Storm 9530.
    After upgrading, I noticed that URLs in SMS messages and e-mails stop being clickable after a certain time.  I'm not sure that this is so much a time issue as it is one with just getting X number of messages then breaking, but it works like this:
    Battery Pull occurs
    Storm reboots
    Look at SMS messages, URLs can be clicked, opening them in the Browser
    go on about my day
    Get more SMS/eMail messages
    Look at SMS messages, URLs can NOT be clicked.  Have to be copied/pasted into browser to view.
    Battery Pull occurs
    Storm Reboots
    I can again click on URLs and open them in browser
    And that's how it goes.  Initially, after a battery pull, the URLs in various SMS are underlined.  Clicking them opens them in the browser.  OR, I can touch them and hit the BB button, and select Open Link in Browser from the menu.
    After some more testing, the problem appears to be related to the threading of SMS messages.
    My test case is twitter.  ALL my twitter messages are thrown into a single thread (I do NOT want this, by the way, I want individual SMS messages, NOT threads of them).  SO let's say, for example, I have 25 SMS messages in the twitter thread.  Immediately after the battery pull, I can open the thread, and after a moment, all URLs are underlined, clickable, and if I touch/hold for a second, highlighted and can be opened via the BB menu.
    After exiting that thread to do other things, and then coming back to that thread, I have found that OLD SMS messages in the thread (the original 25 that were there when I did the battery pull) are still underlined, clickable, and so forth.  However, any NEW messages added to the thread after I opened it the first time, are NOT clickable, NOT underlined.
    My theory at this point is that the code that parses the SMS messages in a thread and then underlines the URLs making them usable, only runs that first time, and either does not run, or fails to run, on subsequent openings of that SMS thread.
    Thus, if the messages were NOT threaded, then the code would run when each individual SMS was opened, eliminating this problem.  OR, having that code run EVERY TIME a thread is viewed, to ensure it does the underlining/grabbing of URLs for new SMS messages.

    You're in a user-to-user community support forum.
    Do you have a question?
    If so, let 'er rip.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • DTW Sort Error - after mapping during import

    I got the "Sort Error - after mapping during import" message in DTW. (version 8.8)
    I would like to import warehouse info for items.
    My itemcodes are fix 15 character numbers, like this: 10204150020011
    The note nr. [1331130|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/oss_notes/sdn_oss_sbo_dtw/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31333331313330%7d] said that I can't use recordkey like this.
    Do you have any idea how can I import thees information with DTW?
    Thank you,
    Attila Sarkady

    Dear All
    Please give correct and complete information
    i have tested every kind of combination;
    - recreate the template with the dtw for Items = i have UDF's
    - ADD the column RecordKey   !!! unbelievable that we have to do this
    - i have entered a nr 1 in it (even when we had already 850 items in the database)
    (and of course the hints of Gordon - columns as text, start with basic... - and use CSV format)
    now at last i can import the record line
    greetings
    philippe

  • Unexpected namespace change after mapping change

    Unexpected namespace change after mapping change
    Posted: Apr 18, 2006 5:17 AM    Reply 
    Hi all
    We developped a mapping about one year ago on XI SP9.
    The source of the message was an Idoc and the target an XML sample (and not a xsd!) of what our customer expected.
    Everything was working fine at that point.
    Here is an extract of the output we had:
    <?xml version="1.0" encoding="UTF-8" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header xmlns:p="http://localhost/webs/msgDetails.xsd">
    <p:msgDetails xmlns:p="http://localhost/webs/msgDetails.xsd">
    <p:sender>
    <p:senderId>XXX</p:senderId>
    <p:senderName>AUSTRALIA/NEW ZEALAND</p:senderName>
    </p:sender>
    We are now running SP14 and we had to change the mapping. Since we changed it the namespaces defined in the sample XML we use as a target structure are not used anymore, instead they are replaced by ns0, ns1...
    Now the output looks like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.w3.org/2001/XMLSchema-instance" ns1:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
    <ns0:Header>
    <ns2:msgDetails xmlns:p="http://localhost/webs/msgDetails.xsd" xmlns:ns2="http://localhost/webs/msgDetails.xsd">
    <ns2:sender>
    <ns2:senderId>21873</ns2:senderId>
    <ns2:senderName>XXX</ns2:senderName>
    </ns2:sender>
    Any idea what has happened here?
    Thanks in advance
    Gregory

    Hi Gregory,
    after a short view I would say that the two structures you have posted are logically equivalent.
    I try to make it clear for the sender-element.
    In the first example you have a tag <p:sender>. Obviously the namespace prefix 'p' is used here. In order to find out the qualified name of the element represented by that tag you have to find the namespace declaration for prefix p. As the tag itself does not contain such a declaration you have to go to the parent-tag. Indeed, here you find a declaration for p which says that p is just an alias for 'http://localhost/webs/msgDetails.xsd'. Hence the qualified name for the element is: 'sender' in namespace 'http://localhost/webs/msgDetails.xsd'.
    Now let us look at the corresponding tag <ns2:sender> in the second document. In oder to identify the qualified name of the element you have to find out, which namespace is bound to the namespace prefix ns2 which has been used here. Again you cannot find this in the tag itself but in its parent. Here you find that ns2 is bound to 'http://localhost/webs/msgDetails.xsd'. (Indeed, here you see that prefix p is also bound to that namespace. This seems to be superfluous to me, as the prefix is never used.)
    Consequently, the qualified name of that element is: 'sender' in namespace 'http://localhost/webs/msgDetails.xsd'.
    Thus, both tags represent elements with the same qualified name. For more details look at http://www.w3.org/TR/REC-xml-names/.
    Greetings Stephan

  • Overall Status of order Being processed after complete PGI & Billing

    Dear All,
    Before writing this post i tried all possible solution available on SCN & internet.
    In sales order overall status (GBSTK) is Being processed after doing complete delivery and Billing.
    I tried many things changed the completion rule also run the program SDVBUK00 but the status is not updated to complete.
    Created 1 sales order with 1 material without any reference then done PGI for 1 material then done billing successfully.
    In table VBUK / VBUP the field GBSTK / GBSTA showing Being processed, for delivery and invoice its showing completed "C".
    I checked the Incompletion Log also there is nothing pending.
    Please refer screenshots and provide me solutions.
    Thanks in advance.
    Tarun Kumar

    There is no additional schedule line.
    I have taken 1 quantity and it confirmed.
    I change the completion rule also but no luck.
    Copy control screenshot-

  • How to stop an email from being sent after I hit send?

    How can I immediately stop an email from being sent after clicking "send"?
    I can't seem to find any info on this. I am assuming that it is impossible. Correct?

    When sending the emails with larger attachments that take a little time to actually upload and get out, you can open the activity viewer by pressing command-0 (or is it command-o?--)--it may also be under the window menu at the top--I'm not at my Mac right now to check. The activity viewer has a stop button on it. After you stop it, you should be able to either delete the email from the outgoing mail folder or drag that email to another folder, such as the drafts folder. I've done this a few times without a problem.

  • Stamps being removed after securing the pdf document

    I'm having a problem with the whitebox stamps that I use to white out names on a pdf being removed after the document is secured through a custom batch process. After insterting the stamps that white out what I want I save the document and when I open it again the white box stamps are still there. Once I secure the same document and open it the stamps are removed. Other computers using the same batch process and version of acrobat do not have this issue.
    Any theories would be much appreciated.

    So I have installed Acrobat 8.0 Pro and used the redaction tool which for some reason was keeping a line showing of the white box I was trying to use to remove some content. Also I put the batch process I was using to secure the document doesn't show up when I go into the Batch Processing menu, neither do any of the default ones show up. It just has an option to create a new process.

  • Diagnostic and usage still being sent after shutting it off

    My Mountain Lion workstation is still sending Diagnostic and usage information after I have shut that option off. It includes contact information. How can I prevent this without using the gui?

    Unfortunately this is  not thwarted case as I stated in thelog it is still sending and I m able to confirm this through the network as ssl to network 10.x.x.x apples network
    Sent from Samsung MobileApple Support Communities Updates <[email protected]> wrote:                                              
    You received a reply
    dwbrecovery has replied to your question. You can view the full discussion in Apple Support Communities.
    Diagnostic and usage still being sent after shutting it off
    Hi,
    - SubmitDiagInfo does run periodically to clean up any diagnostic and usage info created a month ago and is no longer needed.
    - Since you have set no reporting, SubmitDiagInfo will not collect and send to Apple diagnostic info. not yet sent.
    https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/ man8/SubmitDiagInfo.8.html
    Hope this helps
    Correct Answer
    Helpful Answer
    Use the buttons above to tell dwbrecovery and the rest of the community if this reply solved your question or helped you get closer to finding a solution.
    To reply to dwbrecovery, go to the discussion in Apple Support Communities.
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.
    All Rights Reserved | Privacy Policy | Terms of Use | Apple Support

Maybe you are looking for

  • 10.5.6 Update Issue with Time Machine

    I updated my MacBook Pro 2.4GHz Core 2 Duo from 10.5.5 to 10.5.6 yesterday and since then I have been unable to complete a Time Machine backup to my Time Capsule. It always gives me a status message "Preparing." I have already restarted my computer a

  • My 2G iPhone when connected makes iTunes freeze

    When I connect my old iPhone (I have 2, both active, the new 3G and original iPhone) it makes iTunes freeze, this happens when I click cancel on a "iPhone camera connected what action would you like to perform" window. So then it doesn't register on

  • Continous Authentication Popup for PI server while testing ABAP webservice

    Hi All, While testing ABAP webservice,authentication window for PI server pops up continously. I have created web service from SE37 for Z function module which is remote enabled. I can see that service and endpoint is created automatically. I have al

  • Lightbox composition auto play upon page load

    Hi, Is there any way to have a lightbox composition auto play without having to click the trigger first? i.e. I'm toying with the idea of having a small welcome video play on my site via the lightbox function, but without someone having to click the

  • Why won't my iphoto library upgrade after upgrading to yosemnite

    Hello, I have upgraded to yosemite, after opening new iphoto app it tells me to upgrade my library. I allow this to happen and it almost completes and then just sits there with the status wheel spinning. I have left for 24 hours with no change. Thing