Skip to Content
0
Jan 13, 2023 at 04:07 PM

SAP MDK add multiple entries of a child entity along with parent entity

185 Views Last edit Jan 13, 2023 at 04:09 PM 2 rev

Hello,

I have to build an offline app where I want to create a parent entity, e.g., Person with first name, last name in the first page and in a second page multiple child entities, e.g., contact numbers of the person. Please note that the parent entity is also getting created anew, i.e, the person is not an existing entity in the backend database.

1. Does 'ObjectTable' support multi-line edit? If not, which control should I use for the multiple contacts and how should the binding be? Should it be bound to @odata.editLink?

image.png

2. How should the entity data input by user on screen be stored so that it can be sent to odata create as a deep entity?

I am not sure how to use batch action or Changeset action exactly. Any example will really help.

Best regards,

Sumit

Attachments

image.png (29.0 kB)