SAP Knowledge Base Article - Public

2826472 - Extend Custom Code to Standard Webservice ManageJournalEntryIn

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

  1. Go to the General Ledger work center.
  2. Go to the Journal Entries view.
  3. Select and open the Journal entry XX[represents Journal Entry Id].
  4. Go to the Personalization Mode.

You see that there are fields with Custom Code 1, Custom Code 2, Custom Code 3.

  1. Go to the Application and User Management work center.
  2. Go to the Input and Output Management view.
  3. Go to Service Explorer subview.
  4. Find Web Service: ManageJournalEntryIn or JournalEntryByElementsQuery.
  5. 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

Manage Journal Entries
Manage Journal Entry Vouchers

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

Product

SAP Business ByDesign all versions