Symptom
Creating journal entries from an external system using the standard web service. There is a custom specific requirement to extend the existing Custom Code fields 1, 2 and 3 to the standard Web Service.
Or hoping to use Web Service JournalEntryByElementsQuery to check the Custom Code fields 1, 2 and 3.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the General Ledger work center.
- Go to the Journal Entries view.
- Select and open the Journal entry XX[represents Journal Entry Id].
- Go to the Personalization Mode.
You see that there are fields with Custom Code 1, Custom Code 2, Custom Code 3.
- Go to the Application and User Management work center.
- Go to the Input and Output Management view.
- Go to Service Explorer subview.
- Find Web Service: ManageJournalEntryIn or JournalEntryByElementsQuery.
- Download the documentation.
You see that in the documentation, there is no element for Custom Code 1, Custom Code 2, Custom Code 3.
Cause
Currently Web Service ManageJournalEntryIn does not have custom codes in the underlying structure.
Also, Custom Codes are not supported in Web Service: JournalEntryByElementsQuery and JournalEntryBundleCreateRequest.
Resolution
- For Journal Entry Voucher, you can use Web Service Manage Journal Entry Vouchers. You can check this web service where there are custom codes available.
- The other option could be to provide extension fields on UI and enable them for web service. These can be used as custom codes.
- If using Web Service: JournalEntryByElementsQuery, Report: G/L Account – Line Items can be used to show the custom codes.
See Also
Keywords
ManageJournalEntryIn, II_FIA_ACC_MANAGE_ACC_ENTRY_IN, Custom Code , KBA , custom code , managejournalentryin , ii_fia_acc_manage_acc_entry_in , SRD-FIN-GL , General Ledger , Problem