Symptom
Add Custom fields to app Display Journal Entries (F7697) and Manage Journal Entries (F0717A)
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP S/4HANA Cloud Public Edition
Resolution
See
App Extensibility: Display and Manage Journal Entries (Key User)
Example:
1. Create Custom Field(s) in App Custom Fields add details
2. The Business Context determines in which part the data will appear on the screen
Business Context | UI Technology |
Navigation Path | UI Element Type |
---|---|---|---|
FINS_CODING_BLOCK (Accounting: Coding Block) | SAP Fiori |
|
Additional Fields |
FINS_JOURNAL_ENTRY_ITEM (Accounting: Journal Entry Item) | SAP Fiori |
|
Additional Fields |
FINS_MARKET_SEGMENT (Accounting: Market Segment) |
SAP Fiori - UI Reuse Library |
Not applicable | Custom fields you add for profitability segments will display in these apps. For more information, see Assign Profitability Segment. |
Enable UI_JOURNALENTRY_MANAGE Data Source for custom fields.
In app Custom Fields, you can navigate to detail of each entity.
For Data Source C_MANAGEJOURNALENTRYITEMTPType Manage Journal Entries - Item (Entry) View
You can set if the custom field is editable or not. Empty means editable. Read Only means that on entry view this field cannot be edited.
For other data sources associated with the Manage Journal Entries referenced above it is not possible to set this parameter.
Example the navigate to detail of data source C_MANAGEJOURNALENTRYLEDGERVIEWType Manage Journal Entries - Item (Ledger) View shows that Behavour: This usage does not support behavior.
Save and publish custom Field(s)
3. Adapting SAP Fiori UIs at Runtime - Key User Adaptation
For adding custom fields on line items detail page in app Manage Journal Entries, select 'Adapt UI' in Profile dropdown, add group and custom field(s)
Click Save & Exit
4. Custom Field can be added in settings to Ledger View and Entry View.
The values of the custom fields are not on the document list level
5. For Export of custom fields see Creating Custom Fields
6. UI adaptation flow is: Adapt the UI in the Source Tenant (It can be Customizing Tenant or Test Tenant, depending on your System Landscape configuration) > Assign the changes to a Software Collection > Move the UI changes to the Target System using Export Software Collection app > Import the changes into Target System using Import Collection app.
See
SAP Help Portal | Export Software Collection
3361507 - Error during execPromiseQueueSequentially when using the Adapt UI feature
Important Points:
- Business Context: FINS_CODING_BLOCK Accounting: Coding Block
All added custom fields in this business context will be possible to be displayed
In app Manage Journal Entries changing and saving only for line items with account type M/A/S
- Business Context: FINS_JOURNAL_ENTRY_ITEM Accounting: Journal Entry Item
All added custom fields in this business context will be possible to be displayed
In app Manage Journal Entries changing and saving for line items with account type M/A/S
From CE2408.01 it is possible to edit also documents/lines with KOART=K/D in Business Context FINS_JOURNAL_ENTRY_ITEM Accounting: Journal Entry Item.
- Business Context: FINS_MARKET_SEGMENT Accounting: Market Segment
All added custom fields in this business context will be possible to be displayed
In app Mange Journal Entries changing and saving only for line items within Market Segment - There is validation, to throw error when user tries to edit and save custom field, which should not be editable:
Example in Manage Journal Entries; Edit and enter value in custom field for supplier line item and try to save.
Error: Edit of custom fields in FINS_CODING_BLOCK is not possible for this item.
See Also
Keywords
F1481, SAP_CORE_BC_EXT_FLEX, F7697, F0717A, extensibility, custom fields, Manage Journal Entries, Display Journal Entries , KBA , FI-FIO-GL-TRA-2CL , Transaction Apps (Public Cloud) , How To
Product
Attachments
customfield.png |
Pasted image.png |