Skip to Content

New field to My Accounts

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>

SEGW.JPG (60.3 kB)
CED.JPG (37.3 kB)
WEBIDE.JPG (98.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 14, 2016 at 04:40 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.