on 07-10-2007 10:19 PM
Hi !
We have a scenario ABAP Proxy -> XI -> File. Data is sent via abap proxy from R/3 with some trailing spaces in its field values. When we check the received values in SXMB_MONI, exporting the XML data to a file in the local PC and using a text editor, we confirm that the trailing spaces were removed.
Any ideas to avoid this ?
Thanks,
Matias.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you send the message from ABAP Proxy, fill the field with spaces between this Quote Characters ` `.
Enjoy,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of passing as string,..define it as char of defined length and test it....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guru !
Thanks..
The input data type that is coming from the abap proxy call is an external definition that has defined this element:
<xsd:element name="DATOS">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="item" type="BPCHAR2000" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
and then, it includes the BPCHAR2000 type definition:
<xsd:complexType name="BPCHAR2000">
<xsd:sequence>
<xsd:element name="DATA" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2000" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
Inside the ABAP posting program, we are not using strings, only chars.
Any clues?
Thanks,
Matias.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.