Skip to Content

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

Incoming Payment DI SERVER

Hi experts, im seeking for help with the error above. Even though the credit card code is exist in the OCRC table it kept showing me this error. Any thoughts??? Thank you in advance i also included a screen shot of my tables and code (NOTE: This is DI SERVER and NOT DI API)

[-10] Credit card code does not exist  [RCT3.CreditCard][line: 2]

<a href='javascript: alert(f.diXML.value);'>[DI Service Error]</a> <textarea class='objhide' id='diXML'><?xml version="1.0" encoding="UTF-16"?>

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

<env:Header>

<SessionID>722B64FE-8DA6-42FB-AE56-F82B72A09E40</SessionID>

</env:Header>

<env:Body><dis:Add xmlns:dis="http://www.sap.com/SBO/DIS"><Service>IncomingPaymentsService</Service><Payment>

<CardCode>C50000</CardCode>

<CardName>ADA Technologies</CardName>

<DocCurrency>NZD</DocCurrency>

<DocDate>2015-10-20</DocDate>

<DueDate>2015-10-21</DueDate>

<TaxDate>2015-10-21</TaxDate>

<HandWritten>N</HandWritten>

<PaymentInvoices>

<PaymentInvoice>

<DocEntry>64</DocEntry>

<SumApplied>21093.750000</SumApplied>

</PaymentInvoice>

</PaymentInvoices>

<PaymentCreditCards>

<PaymentCreditCard>

<CreditCard>1</CreditCard>

<CreditCardNumber>M6G9Ix8x/jh5Fi+UbrqBO8sVVPOgRuLpeMvAS1JJASpxlPFA8XA/SBG/2TXR1vr+</CreditCardNumber>

<CardValidUntil>2012-11-30</CardValidUntil>

<CreditAcct>140100</CreditAcct>

<OwnerPhone>0011 64 949 32728500</OwnerPhone>

<CreditSum>23795.860000</CreditSum>

<VoucherNum>31231</VoucherNum>

</PaymentCreditCard>

<PaymentCreditCard>

<CreditCard></CreditCard>

<CreditCardNumber></CreditCardNumber>

<CardValidUntil></CardValidUntil>

<CreditAcct></CreditAcct>

<OwnerPhone></OwnerPhone>

<CreditSum></CreditSum>

<VoucherNum></VoucherNum>

</PaymentCreditCard>

</PaymentCreditCards>

<PaymentChecks>

</PaymentChecks>

<CashFlowAssignments>

</CashFlowAssignments>

</Payment>

</dis:Add></env:Body>

</env:Envelope></textarea>

Capture.PNG (47379 B)
Tags:
replied

Hi Mike,

you are sending an additional and empty "PaymentCreditCard" node ( -> empty CreditCard ).  This is the "line : 2" mentioned in your error message.

regards,

Maik

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question