Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

DI SERVER Could not generate XML Schema

Hi,

I am trying to add AR down payment using DI server, I am having this error. I can add other sales transaction except this one.

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value><env:Subcode><env:Value>-2053</env:Value></env:Subcode></env:Code><env:Reason><env:Text xml:lang="en">Could not generate XML Schema</env:Text></env:Reason><env:Detail><Object>NotFound---</Object><Object>NotFound---</Object><ObjectIndex>1</ObjectIndex><Command>AddObject</Command><SessionID>FF411860-34F4-4F56-8D1A-570A8FFC04AA</SessionID></env:Detail></env:Fault></env:Body></env:Envelope>

This is my xml

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

<env:Header>

<SessionID>55AEDB35-F294-4094-8951-FA52CC5A5FC9</SessionID>

</env:Header>

<env:Body>

<dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS">

<BOM>

<BO>

<AdmInfo>

<Object>oDownPaymentAR</Object>

</AdmInfo>

<Documents>

<row>

<NumAtCard>test</NumAtCard>

<DocType>I</DocType>

<DocDate>1/1/2015</DocDate>

<CardCode>100</CardCode>

</row>

</Documents>

<Document_Lines>

<row>

<ItemCode>itm001</ItemCode>

<Quantity>3</Quantity>

<PriceAfterVAT>100</PriceAfterVAT>

<AccountCode>_SYS00000001210</AccountCode>

<VatGroup>OUTPUT-E</VatGroup>

</row>

</Document_Lines>

</BO>

</BOM>

</dis:AddObject>

</env:Body>

</env:Envelope>


Thanks,

Raphael

Former Member
replied

Hi Raphael,

I think the object oDownPaymentsAR is wrong - it should be oDownPayments.

regards,

Maik

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question