2 weeks ago - last edited 2 weeks ago
Hi Community! 🙂
For a longer time we´re facing an issue with our RAP application. We are not able to do a create on a table, which is a grandchild of our root entity
Situation:
composition [0..1] of ZEHS_I_DemoTopic_Nature as _TopicNatureDemo2
composition [0..*] of ZEHS_I_Demo_LOCENVINVSP_NATURE as _InvSpNature
Location -> [0..1] Location -> [0..*] Table
Behavior Definition:
// Location
define behavior for I_Location alias Location
lock master
etag master LastChangedDateTime
with unmanaged save
{
update;
field ( readonly ) Country, LocationID, CountryText, LocationTypeText, RegionText, Region;
association _TopicNatureDemo2 { create; }
}
// Topic
define behavior for I_DemoTopic_Nature alias DemoTopicNature
lock dependent by _Location
with unmanaged save
{
update;
association _InvSpNature { create; }
// field ( readonly, numbering : managed ) LocationEnvDetTopicUUID;
field ( readonly ) EHSLocationUUID;
association _Location;
}
// Table inside Topic (_InvSpNature)
// Invasive Species
define behavior for I_Demo_LOCENVINVSP_NATURE alias DemoInvSpNature
persistent table ...
lock dependent by _Location
etag master LastChangeDateTime
{
update;
delete;
field ( readonly, numbering : managed ) LocationEnvDetInvSpeUUID;
field ( readonly ) EHSLocationUUID, LocationEnvDetTopicUUID;
association _TopicNature;
association _Location;
}
So far we see an ObjectPage with our Section Nature Topic. In this Section, there is also the table with our lineItems.
Problem:
We can navigate into the LineItems and delete them, but pressing on the create button is doing nothing. Can someone help us out? We´re struggling with that for a long time now..
Additional Information:
We also developed a Fiori App via BAS and added a custom Navigation to the manifest.json. Navigation and Delete/Update works, create button still doesnt react.
"ObjectPage|DemoInvSpNature": {
"component": {
"name": "sap.suite.ui.generic.template.ObjectPage"
},
"entitySet": "DemoInvSpNature",
"navigationProperty": "to_TopicNatureDemo2/to_InvSpNature"
}
Hi @PaulRintisch,
What does the Page Map look like? Ideally, it should have four tiers:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.