cancel
Showing results for 
Search instead for 
Did you mean: 

DI SERVER Could not generate XML Schema

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

maik_delly
Active Contributor
0 Kudos

Hi Raphael,

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

regards,

Maik

Former Member
0 Kudos

Hi Maik,


That solved my problem.


Thanks,

Raphael

Former Member
0 Kudos

HI Malik

How did you know this, and what if i intend to create A/P Downpayment Invoice, what object name should i input

Thanks

Answers (0)