Skip to Content
May 11, 2020 at 08:06 AM

SAP DI API behaving strangely on LIVE Database


Hi All

We have 2 companies. 1) UAT Company 2) LIVE Company
We are adding Invoice in SAP using DI API. This is working fine on UAT Company, But when we run the same integration on LIVE company, we are getting issue.
1) Items GL account is not populating automatically (G\L Account missing issue Error). Since items are configured as warehouse wise, so we took the warehouse revenue account and applied it on line level in invoice.
2) Line totals are not calculating though there are quantities and unit price.
3) If we calculate line total and assign it, the, we get another issue that "there is a difference between the document total and its components"

We tried to add document using XML also and also through Business object of invoice, but same issues are appearing on live company. On UAT company, it is working fine.
Any suggestions will be appreciated.