cancel
Showing results for 
Search instead for 
Did you mean: 

Use quick create facet from add-button in List Report

Mattias
Active Participant

Hi,

I'm playing around with Fiori Elements, and have created an app to view and update business partners. However we have a create-flow where the users only need to add the vat number and CRM then collects all needed info from a 3d party supplier.

Today when I press the create-object-plus I go to the object-detail page, where I can add all fields. Is it possible to instead open a quick create facet with only the VAT-number and a subset of the detail-page fields that are not available at the 3d party supplier.

Also I would like some fields, like the vat-number for example, to be editable only in create-mode, and then read-only in update-mode.

My goal is to achieve this with no programming, only through annotations.

Regards

Mattias

maheshpalavalli
Active Contributor
0 Kudos

Hi Mattias,

What is the ABAP version you have in the system? Are you having a CDS generated BO in the backend?.. I am asking because list report feature will be restricted based on those questions..

BR

Mahesh

Mattias
Active Participant
0 Kudos

7.5 , not sure of the SP now, but I think it’s 12 ((not at my computer). And there’s no BO, I have created an Odata project in segw and added my cds as a reference. It’s not a greenfield project so I don’t think I could use BOs..

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor
0 Kudos

Hi Mattias Johansson,

  1. If you are on 7.51 SP02 then draft enabled BO can be created in the system which will have the full fledged field control where in new create/update you can show dynamically control the UI. If you are in this version, it is very easy to create draft enabled BO for the legacy apps. Link
  2. If you are not then there is still field control capability using the UI annotations, but very limited. You need to manually create a field control field for every property you want to control at the odata service level and when you read the entry(for update/display) then you have to pass the values to the field control property via the odata service and as you binded that particular property to the field control annotation, then you can control the visibility of that property in the UI. Note: As I mentioned, at the time of create, it is not possible to control the UI (from my observations).Link

BR,

Mahesh

Mattias
Active Participant
0 Kudos

Now I had the possibility to check, unfortunately we're on 7.50 sp11 so I guess I need to find another way

Mattias
Active Participant
0 Kudos

We've added a custom action by extending the application, see https://blogs.sap.com/2018/01/05/how-to-extend-smart-template-based-list-reports/

maheshpalavalli
Active Contributor
0 Kudos

cool.. will that action open a custom view?

Answers (0)