on 01-14-2016 2:01 PM
Hi guys,
I want to add a new field to Fiori App "My Accounts" using SAP Note 2016653 and other online SAP guides.
Unfortunately I've hit a wall.
After adding the field "zbpGroup" in SEGW, to model class:
inserting the value to it in the read method of the extended service
I found out that I can't add the field to the XML view, simply because I don't know to what model does the field belongs to, or if it's the right name for it as I see it in he SEGW definition.
Any ideas?
Regards,
Marius
PS: ""ctrl+alt+shift+s"" proved to be useless, showing "No Information available"
PS: I've also tried to edit the data like this:
<form:FormContainer xmlns:form="sap.ui.layout.form" id="editzbpGroup">
<form:formElements>
<form:FormElement id="zbpGroup">
<form:label>
<Label xmlns="sap.m"
text="Grupare parteneri afaceri"
id="zbpGroupLabel"
width="100%"
visible="true"/>
</form:label>
<form:fields>
<Input xmlns="sap.m"
id="zbpGroupInput"
value="{zbpGroup}"
type="Text"
placeholder=""
enabled="true"
editable="true"
valueHelpOnly="false"
visible="true"/>
</form:fields>
</form:FormElement>
</form:formElements>
</form:FormContainer>
Hi Marius,
The field you added, is in the entity Account so if the form is bind to entity Account, then the value will be filled in your input field. The model is oData model which will be set to view level or UI level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.