Skip to Content
avatar image
Former Member

Add Row Problem with

Hello Community,

while developing a solution for a customer we encountered a strange behavior with the new responsive UI.

The situation

I created a Custom Business Object where I want to store some data wich is associated to the customer. In the Account.TI I have added an Embedded Component with a ListPane where you can add new Items for a Custom Business Object.
The Problem is that it is only working flawlessy in HTML5.

In Html5 (The old ui) You can add rows and edit the rows in any way you want.
You can add 5 rows first and then edit the other fields or you can add rows, edit the other fields of that row and create a new one and edit the fields after that without problems.

When I klick on the Add Row button the following Operations are processed in the Eventhandler:

The only working scenario in the new client is to add all the rows you need at first and then edit the data.(I load a default value in "Produktkategorie" after you make a new row with the Help of the BOAction you can see in the first Screenshot.).

For example, you want 5 new items in that list you need to add 5 new rows at first and then you can edit the data (like "Umsatzpotenzial" or "Umsatz Wettbewerber" these are Revenue values) and my Operations from the Embedded Component are triggered.

But you can't add a new row, edit the data and add a new row.
In this case you can't change the values of for example "Umsatzpotenzial" or "Umsatz Wettbewerber".

After the I typed in some values for the revenue (Umsatz) I added the new row the UI is unable to "focus" on the new row.
With focus I mean that all my operations in the AddRow Event of the Embedded Component are not triggered anymore except for the List Operation Add Row.
This means that the default value was not written in "Produktkategorie".

This only happens in the new client and I am thinking that this is no fault on our side but just a bug in the new responsive Fiori Ui provided in C4C.

The functionality where thoroughly tested in HTML5 and in the NewClient. In HTML5 everything works as it should and there is no bug in the code which would lead to such a strange behavior

The HTML 5 is working just fine but it is not an option to use ist for the customer.

Did anybody encountered the same problem?

A QuickCreate is not an option as it would defeat the purpose of this Embedded Component.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 18, 2017 at 10:23 PM

    Probably need a ticket... I have found several little things with the new UIs.

    On a side note.. Why not just have your "Add Row" action call a Script on your BO that does all Row Adding and defaulting in the backend? (it will be a lot easier to manage also)

    Add comment
    10|10000 characters needed characters exceeded