Symptom
Troubleshooting APIs for General Ledger Accounting
Environment
SAP S/4HANA Cloud
Resolution
- Clarify Issue:
Is there an error message / a wrong Response / missing values / wrong values ?
What is expected behaviour providing evidences of this.
Provide data to simulate example in FIORI App, does same issue occur with like data in FIORI App to API?
If so, issue is not specific to API, troubleshoot and correct within FIORI App first.
- Choose the relevant Fiori Apps to simulate the journal entries:
-
- "Post General Journal Entries" App ID F0718 for general journal entries.
- "Create Incoming Invoices" App ID FB60 or "Create Supplier Invoice" App ID F0859 for Supplier Invoice.
- "Create Outgoing Invoices" App ID FB70 for customer invoice.
- "Clearing Incoming Payments" App ID F0773, "Clearing Outgoing Payments" (App ID F1367) and "Clear G/L Accounts - Manual Clearing (App ID F1579)" for clearing.
- Troubleshooting Common Journal Entry API Errors - A Quick Guide
- Review help.sap.com documentation:
Check API in APIs for General Ledger Accounting
Check If Error Message and Message Number is referenced in help documentation, for example see Error codes listed in:
Journal Entry - Post (Synchronous)
Journal Entry - Post (Asynchronous)
Journal Entry by Ledger - Post (Asynchronous)
Journal Entry – Clearing (Asynchronous)
Journal Entry - Change (Asynchronous) - Sample Payloads:
Review sample payloads in APIs for General Ledger Accounting for guide on structure and content of payload. - Blog APIs for Journal Entries – The Collection
This provides information about API's, Steps on testing API, Frequently Asked Questions, Constraints and examples. - Tax:
Posting Journal Entries with Tax Using SOAP Posting APIs- SAP Community
FF804
FF817 Taxes by item is not activated and therefore not permitted in transfer.
FF818 Taxes by item is activated; consequently, transfer by item is mandatory.
3016213 - Error FF818 - While using Journal Entry Post API for Indian company code - Clearing:
A Simplified Guide to Effectively Use the Clearing API
- Reproduction of issue:
Try to reproduce the issue in Test system: Verify whether the problem also occurs on test system
You can test API using SOAPUI or POSTMAN. Here's how: Guidelines for Testing Journal Entry API with SOAPUI and Checking Response Message
This blog shows:
How to Install SOAPUI
How to check structure of payload using Validate function in SOAPUI, see referenced in blog ... "Some typos in payload structure could be identified by using Validate of SOAPUI. "
How to Check Response Message for Asynchronous API
For asynchronous testing and verifying outbound messages, refer to this blog: Guidelines for Enabling Outbound API Journal Entry – Change Confirmation (Asynchronous)(added November 26, 2019)
See also blog on postman Calling a SOAP API using Postman - SAP Community - New Requirement: Review Existing Parameters within APIs for General Ledger Accounting
Parameters outside of those referenced see 2963059 How to Submit Feature Requests for SAP S/4HANA Cloud Product
The link for Influence for finance is https://influence.sap.com/sap/ino/#campaign/1169 - Create Incident:
See kba 2563519 - SAP S/4HANA Cloud - How to create the perfect case
Provide API Technical name
Reference issue: an error message / a wrong Response / missing values / wrong values ?
and clarify your Expected behaviour providing evidences of this.
Provide a payload with XML format (not json format) for testing with permission to execute on system. (The response XML cannot be used to test payload)
Provide also response xml
Provide CB User
Provide data to simulate example in FIORI App with like data in FIORI App to API?
If successful posting can be made in FIORI app with like data to API provide reference Journal Entry, Company Code and Fiscal Year.
See Also
How to use I_JournalEntryTP in custom RAP BO - SAP Community
Extend SAP S/4HANA in the cloud and on premise with ABAP based extensions
3491508 - How to add the custom fields in payload for Journal Entry API - SAP HANA Cloud?
3060075 - Change not possible for Journal Entries without Entry View
2868600 - Validation and Substitution not working for Cloud badi using CDS view
2789185 - SAP_COM_0002 Custom field error - S/4HANA Cloud Public Edition
3391018 - Performance recommendations for Journal Entry - Post API - S/4HANA Cloud
3219486 - Error "D/C-Code does not fit to sign of amount in some items" in API SAP_COM_0002 SAP S/4HANA Cloud
3372285 - Post Journal Entries to a specific ledger with API Journal Entry - Post or API Journal Entry by Ledger - S/4Hana Cloud
3228212 - Wrong date format updated for field Journal Entry Date
2963945 - Line by line tax calculation while using Journal Entry - Post (Asynchronous) API for non-jurisdiction country
3523984 "Invoice Reference" field is not available in API Journal Entry Post - SAP S/4HANA Cloud Public Edition
2817042 - No Duplicate Invoice Check for Journal Entry Post API
2821106 - Journal Entries are not fetched by API Accounting Document – Read
2920613 - Enter a number with no decimal places
2870954 - API Journal Entry - Post with withholding tax
3310959 Posting fails with to custom field validation
3191334 This transaction is not registered for RITA
3221532 RABAX Occurred at server side for API Journal Entry posting with tax
3035677 - Sum of base lines equals zero in Document Splitting
3016213 - Error FF818 - While using Journal Entry Post API for Indian company code
3495224 - Posting Key 15 is not supported in Post Journal Entry API
Keywords
API, , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , AC-INT , Accounting Interface , How To
SAP Knowledge Base Article - Public