Skip to Content
0
Apr 23, 2021 at 06:30 PM

How to fill data in .csv for an entity containing 'array of'

457 Views

In openSAP course "Building Applications with SAP Cloud Application Programming Model" it is mentioned that we have to avoid over-normalization. So instead of having two entities, I have defined only one entity using the 'array of':

entity Stocks : managed {

key ID : Integer;

name : String(256);

baskets: array of { name : String(256); count: Decimal; }

}

The question is how should the data look like in the .csv file according to this entity?

ID;name

200;Lager Heidelberg

201;Lager Rauenberg