cancel
Showing results for 
Search instead for 
Did you mean: 

Add custom field to F0718 - Post General Journal Entries Fiori App

saurabh__khare
Participant
0 Kudos
1,280

Hi,

I'm trying to add a custom field to the Fiori app F0718 - Post General Journal Entries using UI adaptation/In-app extensibility. We are on S/4HANA 2022 FPS02 Private Cloud.

I've created the custom field in the correct business context Accounting: Coding Block as mentioned in the app documentation

saurkhare_0-1721912689734.png

I've also enabled the custom field for the relevant OData of the app in the UIs and Reports section and published the field:

FAC_GL_DOCUMENT_POST_SRV

saurkhare_1-1721912757605.png

saurkhare_2-1721912783153.png

I can see that the field is published and is available in the backend.

saurkhare_3-1721912865960.png

However, when I open the app F0718 - Post General Journal Entries and enter the UI adaptation mode, there's no option to add this field or any custom field for that matter to the items section. I do not get the option to add a field when I click/right-click anywhere on the expanded items section.

saurkhare_4-1721912980631.png

Is there something more that needs to be done to be able to add this field to the app UI using UI adaptation for this app? Please guide.

@Jocelyn_Dart 

 

Best Regards,

Saurabh

 

Accepted Solutions (0)

Answers (3)

Answers (3)

Karsten_Schaser
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi all,

unfortunately there is some part of the documentation missing/wrong in on-Premise releases. Please refer to the part Coding Block Reuse Component, of the following documentation for Public Cloud:

https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/85b511fc7603479b995ecdec...

Best regards,

Karsten

SébastienL
Discoverer
0 Kudos

Hello. We currently have also a requirement to add a custom field in the app F0718.

Our configuration is a On Premise S/4 Hana 2023 FPS1.

We did exactly the same as @saurabh__khare. We are able to see the custom field added in the table BSEG but when trying to use the Adapt UI, we are not allowed to add anything on the "item details block". 

@saurabh__khare did you solved the issue on your side ?

@AndreasMuno, unfortunately, the documentation you mentioned does not help to solve the issue at all. It should work but in the case of this app (F0718), we are stuck. 

On our side, we are about to check how to add our custom field in the app F0718 with the use of VS Code. If you have any advice, I'd love to hear from you.

AndreasMuno
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for your request, @saurabh__khare.

With the link you had shared for extensions of General Ledger postings, you might be on the right track. There, you'll find a navigation link "Making UI Changes". Please follow that link as it points to important restrictions and considerations, like:

  • Possible actions depend on the type of UI element (fields, groups, sections, and so on) and the container that the UI element is part of;
  • The list of fields available for adding may vary depending on the context. This means that certain fields are only available for certain object types but not for others. 
  • To use a custom field, you have to restart the app and the UI adaptation mode.

Please also consider the lins provide under "Related Information" at the bottom of that pagehttps://help.sap.com/docs/ABAP_PLATFORM_NEW/a7b390faab1140c087b8926571e942b7/54270a390b194c3e97be2424592c3352.html#related-information   

if this was helpful to solve your request, please mark accordingly. Thank you. 

saurabh__khare
Participant
0 Kudos
Hi Andreas, Thanks for answering. I've followed all the links and restrictions you've mentioned. There's no option to add a custom field in that app. If it's possible to add a custom field like you said, can you please try and share a screenshot of a custom field added to this app F0718? I've read the theory but practically it does not work as per the theory for this app. Regards, Saurabh