cancel
Showing results for 
Search instead for 
Did you mean: 

can not see add button in List report

YOJAN
Product and Topic Expert
Product and Topic Expert
0 Kudos
146

Hello,

I have tried many configuration with no success.

In list report form, the add button does not appear, only the delete one. I have verified cap service and it works for insert/update/delete/select.

is there any missing configuration ?

 

Thank you!

 

entity Doctor: managed {

}

@Capabilities.SortRestrictions.NonSortableProperties : [createdAt,createdBy,modifiedAt,modifiedBy]
    entity DoctorSet as projection on medicalcare.Doctor;
 
"targets": {
        "DoctorSetList": {
          "type": "Component",
          "id": "DoctorSetList",
          "name": "sap.fe.templates.ListReport",          
          "options": {            
            "settings": {              
              "contextPath": "/DoctorSet",
              "variantManagement": "Page",
              "navigation": {
                "DoctorSet": {
                  "detail": {
                    "route": "DoctorSetObjectPage"
                  }
                }
              },
              "requiredActions": {
                  "Create": true
              },
              "initialLoad": true,
              "controlConfiguration": {
                "@com.sap.vocabularies.UI.v1.LineItem": {
                  "tableSettings": {
                    "type": "ResponsiveTable"
                  }
                }
              }
            }
          }
        },
        "DoctorSetObjectPage": {
          "type": "Component",
          "id": "DoctorSetObjectPage",
          "name": "sap.fe.templates.ObjectPage",
          "options": {
            "settings": {
              "editableHeaderContent": false,
              "contextPath": "/DoctorSet"
            }
          }
        }
      }
View Entire Topic
YOJAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

thank you!

made draft visible solved the problem

@odata.draft.enabled