Skip to Content
1
Oct 25, 2021 at 07:02 AM

Clear Incoming Payments using Journal Entry - Clearing (Asynchronus) API

213 Views Last edit Oct 25, 2021 at 02:49 PM 2 rev

Dear experts,

I am trying to clear incoming payments using Journal Entry - Clearing (Asynchronous) API

as Clear Incoming Payments Apps.

Though, I get errors. Is there a way to post clearing data?

Input Line Items

1.jpg

Press simulate button. This is how I want to post.

2.jpg

My payload is as below.

<JournalEntry>

<CompanyCode>10</CompanyCode>

<AccountingDocumentType>DZ</AccountingDocumentType>

<DocumentDate>2021-08-31</DocumentDate>

<PostingDate>2021-08-31</PostingDate>

<CurrencyCode>JPY</CurrencyCode>

<!--Optional:-->

<CurrencyTranslationDate>2021-08-31</CurrencyTranslationDate>

<CreatedByUser>CB9980000052</CreatedByUser>

<!--Zero or more repetitions:-->

<APARItems>

<ReferenceDocumentItem>1</ReferenceDocumentItem>

<CompanyCode>10</CompanyCode>

<AccountType>D</AccountType>

<APARAccount>ZCSSMPL61</APARAccount>

<FiscalYear>2020</FiscalYear>

<AccountingDocument>1800000061</AccountingDocument>

<AccountingDocumentItem>1</AccountingDocumentItem>

<PartialPaymentAmtInDspCrcy currencyCode="JPY">10000</PartialPaymentAmtInDspCrcy>

</APARItems>

<APARItems>

<ReferenceDocumentItem>2</ReferenceDocumentItem>

<CompanyCode>10</CompanyCode>

<AccountType>D</AccountType>

<APARAccount>ZCSSMPL61</APARAccount>

<FiscalYear>2020</FiscalYear>

<AccountingDocument>1800000061</AccountingDocument>

<AccountingDocumentItem>2</AccountingDocumentItem>

<PartialPaymentAmtInDspCrcy currencyCode="JPY">10000</PartialPaymentAmtInDspCrcy>

</APARItems>

</JournalEntry>

I got error messages below.

Item 10 2020 1800000061 002 cleared in the meantime 1 item(s) could not be selected Balance in transaction currency JPY 1,000,000 is too large for automatic correction

I went through the page below. It seems that there are no field for debit amount and credit amount.

https://help.sap.com/viewer/b978f98fc5884ff2aeb10c8fdeb8a43b/2108.501/en-US/c2a4377b2e104854a068d59625b2da6c.html

Attachments

1.jpg (37.5 kB)
2.jpg (32.2 kB)