I am writing a Web service to return a employee information from SAP using .Net Connector. My Webservice XML changes return table column names with few escape characters. Does anyone know why this happens? and How to prevent it?
Every column name is changed: e.g. PERS_NO to PERS_--5fNO
NCo -> 2.0
RFC- > Custom Function module
RFC Return Type -> ZFPSYNC
VS.Net -> VS Studio 2003, ( C# Web service)
Here is part of XML document:
<?xml version="1.0" encoding="utf-8" ?>
- http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns=" http://tempuri.org/">
- <ZFPSYNC>
<PERS_
5fNO>00100001</PERS_
5fNO>
<PDS_
5fEMPID>00054740</PDS_
5fEMPID>
<SSN>001380261</SSN>
<NAME_--5fPFX />
<FIRST_
5fNAME>Tuesday</FIRST_
5fNAME>
<LAST_
5fNAME>October</LAST_
5fNAME>
<NAME_--5fSFX />
<PRIOR_
5fNAME>Tuesday October</PRIOR_
5fNAME>
<NICKNAME />
<CO_
5fCODE>TAX</CO_
5fCODE>
<CO_
5fCODE_
5fT>Tax LLP</CO_
5fCODE_
5fT>
<CO_
5fCTRY>US</CO_
5fCTRY>
<ORG_
5fUNIT>50191687</ORG_
5fUNIT>
<ORG_
5fUNIT_
5fT>Northeast Region Lead Tax</ORG_
5fUNIT_
5fT>
<EE_
5fLEVEL>C1</EE_
5fLEVEL>
<EE_
5fLEVEL_
5fT>Firm Director</EE_
5fLEVEL_
5fT>
<SRV_
5fAREA>TAX</SRV_
5fAREA>
<SRV_
5fAREA_
5fT>Tax</SRV_
5fAREA_
5fT>
<JOB_
5fFAM>CS-TAX</JOB_
5fFAM>
<JOB_
5fFAM_
5fT>CS - Tax</JOB_
5fFAM_
5fT>
<PER_
5fAREA>BOSX</PER_
5fAREA>
<PER_
5fAREA_
5fT>Boston-Berkeley St-TAX</PER_
5fAREA_
5fT>
<PER_
5fADDR>200 Berkeley Street</PER_
5fADDR>
Please install patch from OSS note 506603. This should correct the problem.
Add a comment