Symptom
When trying to post a journal entry though API Journal Entry – Post, error "KSCHL is empty" occurred.
Environment
SAP S/4HANA Cloud Public Edition
Cause
In the payload, TaxItemClassification is not specified under ProductTaxItem.
Resolution
Specify the TaxItemClassification under ProductTaxItem for the posting and retest.
Below is an example.
<ProductTaxItem>
<TaxCode>&1</TaxCode>
<TaxItemClassification>&2</TaxItemClassification>
<AmountInTransactionCurrency currencyCode="CNY">0</AmountInTransactionCurrency>
<TaxBaseAmountInTransCrcy currencyCode="CNY">100</TaxBaseAmountInTransCrcy>
</ProductTaxItem>
Keywords
KSCHL is empty, post, journal entry, API Journal Entry – Post , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem
SAP Knowledge Base Article - Public