on 12-12-2005 1:13 PM
Hi,
My source is an IDOC(ARTMAS04) which is an imported object in the Integration Repository. When I am posting an IDOC from R/3, the XML structure that is created in XI has one of the segment field(type string) condensed with instead of preserving with spaces(even with spaces in the value).
If it is a custom defined data type we can preserve the white spaces but since the source is an IDOC please suggest how to preserve the spaces in the segment fields.
Thanks,
Sumanth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
maybe you can manipulate the IDOC XSD in XI-repository to preserve white space in your XML source. You can do this by adding the attribute
xml:space
, this attribute takes either
"default"
or
"preserve"
as values.
One other option could be to perform some check (user exit?) before the IDOC is sent to XI. How does the input look like in SXMB_MONI? can you see the white psace there?
Cheers,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have to use a standard IDOC - ARTMAS04 which is an imported object, instead of using XSD. In this case I think I can't add an attribute to ARTMAS04.
As said User-Exit is another option, but we need to replace empty spaces by some special characters to preserve them and later in XI at mapping time we need to replace them back by spaces.
I have downloaded payload from SXMB_MONI to an xml file and viewed source through wordpad, but still I couldn't see spaces.
Please let me know if there is any alternative instead of using User-Exit to preserve spaces.
Thanks,
Sumanth.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.