on 03-07-2021 10:02 AM
Hey everyone,
We have a requirement to add a custom field into Fiori App 'Display Line Items in General Ledger'.
We created a custom field in CFL with the relevant business context (FINS_JOURNAL_ENTRY_ITEM).
I enabled and published it for 'UIs and Reports' (for CDS views) and I can see that CDS view 'I_JournalEntryItemCube' is extended correctly. That means, I can see the custom field in ACDOCA and in the CDS view. But of course it is not filled.
We want to write the value in BSEG-LZBKZ field (also in transaction FBL3N) into this new custom field. My question would be, where and how to write this logic..
1. I cannot see this new field in CFL under 'Data Source Extensions'.. Should we see it here in the field list and then map?
2. Where to include the logic of new field (again in CFL? Or in the CDS view?)
Thanks,
Nil
Hi,
I guess you just need to fill the field with a BADI. Typically a custom field added to a business context can be manipulated using a BADI which is available in the custom logic section of the "Custom Fields and Logic" app. (using the limited scope ABAP syntax)
My best guess is you'll need following BADI to manipulate the field you added:
I can't add more screenshots as I'm doing this in a starter system (S/4HANA Cloud) which doesn't allow me to create extensions. But the same principles apply in an on-premise environment.
Best regards,
Geert-Jan Klaps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.