Skip to Content
0
Sep 06, 2023 at 10:30 PM

Defining Multiple Views on a List Report via adaption project

98 Views Last edit Sep 06, 2023 at 10:34 PM 2 rev

I am currently attempting to adapt a standard SAP Fiori list report and I'm running into some rendering issues. On my List report adaption project I want to create a couple of tabs (multiple views). I have found an SAP delivered variant that actually does this: My Maintenance Requests.

I attempted to do something similar in my manifest, but when I launch the app preview nothing renders and I don't get any concerning errors in the console.

{
      "changeType": "appdescr_ui_generic_app_setMainPage",
      "content": {
        "page": {
          "customer.ListReport|C_MaintWorkRequestOverviewTP": {
            "entitySet": "C_MaintWorkRequestOverviewTP",
            "component": {
              "name": "sap.suite.ui.generic.template.ListReport",
              "list": true,
              "settings": {
                "condensedTableLayout": true,
                "variantManagementHidden": false,
                "enableTableFilterInPageVariant": false,
                "isWorklist": true,
                "quickVariantSelectionX": {
                  "enableAutoBinding": true,
                  "showCounts": true,
                  "variants": {
                    "10": {
                      "key": "_tabDraftTest",
                      "annotationPath": "com.sap.vocabularies.UI.v1.SelectionPresentationVariant#CreateDrafts"
                    }
                  }
                }
              }
            }
          }
        }
      }
      <br>
Does anyone have any experience with this?

References I used: https://help.sap.com/docs/ABAP_PLATFORM_NEW/468a97775123488ab3345a0c48cadd8f/a2b24a69baef4b91af2293ccc6b5871f.html