cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Multi Edit for doesn't load fields

anamrzv
Newcomer
0 Kudos
79

Hi experts, 
I need to create mass edit functionality for my child entity. The problem is, this entity is defined as a view with joins on other entities, so it is impossible for me to implement this via just setting 

"tableSettings": {									 
   "enableMassEdit": true
}

in manifest.json for the table: I get error "UPDATE on views with join and/or union is not supported"

So I decided to try using Smart Multi Edit. I use class sap.fe.macros.Table in a XML fragment for my table, and it is the only difference from the sample from documentation, where Smart Table is used

https://ui5.sap.com//#/entity/sap.ui.comp.smartmultiedit.Container/sample/sap.ui.comp.sample.smartmu...

While debugging I see, that method

container.setContexts(myTable.getSelectedContexts());
sets selected rows to the container, and the pop up from my fragment is shown, but doesn't contain the field that I defined

anamrzv_0-1745517475135.png

When I output console.log(container.getEntitySet());

I get ParentEntity/childNavigationField, not ChildEntity

Can it be the reason? Is the problem in using not Smart Table?



Accepted Solutions (0)

Answers (0)