on 09-16-2009 11:31 AM
Hi,
I came to know that the enumeration and whitespaces collapse etc in datatype are handled in PI 7.1 .
Could any one provide with the blogs for the enumeration and whitespace handling in datatype.
Thanks,
Sabitha.
Hi Suraj,
I have refreshed the all objects (Datatype,MessageType,ServiceInterface,MessageMapping and Operation Mapping).
Even though i am getting the same message.
Is the whitespace collapse,replace and preserve is working on PI 7.1.
Have u tested the scenario in PI7.1.
Thanks,
Sabitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you checked this link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/439347ce019848bf3ad9c000d414c3/content.htm
As explained there
1) whiteSpace Specifies how to apply white space characters (line feed, tabs, blanks, and carriage returns). Three values are permitted:
(i)preserve: Retains all white space characters.
(ii)replace: Replaces every line feed, tab, and carriage return with a blank.
(iii)collapse: As for replace but subsequent blanks are replaced by a single blank and leading and final blanks are deleted.
2) enumeration : Restricts the value range to a set of individual values. The values must be separated by blanks in the XSD editor.
They are as per the XML Schema (W3 Recommended) http://www.w3.org/TR/xmlschema-2/#rf-facets
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi suraj,
I have given the whitespace as "collapse" in my datatype for the fields EmpNumber,CompanyCode,Amount .
Entered a newline for EmpNumber,CompanyCode,Amount which should be ignored at the target message.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_EmployeeExperiencesOut xmlns:ns0="xxxxxxxxxxxxxxxx">
<Doc_Header>
<Doc_Date>16-09-09</Doc_Date>
<Company_Code>12
00</Company_Code>
<Emp_Number>14
08</Emp_Number> <Currency>12345</Currency>
</Doc_Header>
<Doc_Details>
<Payment_Details>12345</Payment_Details>
<Cost_Center_code>134</Cost_Center_code>
<Account_Code>21</Account_Code>
<Amount>0000
60010</Amount> </Doc_Details>
</ns0:MT_EmployeeExperiencesOut>
Required output:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_EmployeeExperiencesOut xmlns:ns0="xxxxxxxxxxxxxxxx">
<Doc_Header>
<Doc_Date>16-09-09</Doc_Date>
<Company_Code>1200</Company_Code>
<Emp_Number>1408</Emp_Number>
<Currency>12345</Currency>
</Doc_Header>
<Doc_Details>
<Payment_Details>12345</Payment_Details>
<Cost_Center_code>134</Cost_Center_code>
<Account_Code>21</Account_Code>
<Amount>000060010</Amount>
</Doc_Details>
</ns0:MT_EmployeeExperiencesOut>
Thanks,
Sabitha.
Hi,
Even though after replacing with the "Replace" in datatype.
I am getting the same output.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_EmployeeExperiencesOut_Target xmlns:ns0="xxxxxxxx"><Doc_Header><Doc_Date></Doc_Date><Company_Code></Company_Code><Emp_Number></Emp_Number><Currency></Currency></Doc_Header><Doc_Details><Payment_Details></Payment_Details><Cost_Center_code>12
3</Cost_Center_code><Account_Code></Account_Code><Amount></Amount></Doc_Details></ns0:MT_EmployeeExperiencesOut_Target>
Thanks,
Sabitha.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.