cancel
Showing results for 
Search instead for 
Did you mean: 

New field to My Accounts

MariusStoica
Active Participant
0 Kudos

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>

Accepted Solutions (0)

Answers (1)

Answers (1)

RameshShrestha
Contributor
0 Kudos

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.