Skip to Content
Mar 03, 2021 at 10:27 AM

Custom Fields: Render code list as a dropdown list


Hi experts,

I'm working on S/4HANA 2020 On-Premise edition, with the extensibility framework. I have added a custom field on the application F1982, which show an input field with a search help.

My requirement is having this search help like a Dropdown list. How to do it?

What I have thought, is by creating this custom fiel, I would be able to modify the generated CDS. Because, what I just need to do is, to add this annotation to that CDS:

@ObjectModel.resultSet.sizeCategory: #XS

But, Eclipse tells me that I have to use the application Custom Fields to modify it. Unfortunately, this application doesn't provide me the ability to change the layout of the field.

Please, tell me how to to it ?