xxxxxxxxxx
chartData.map((key, index) => {
return Object.keys(key)
.filter(dataKey => dataKey !== "multiple") // Exclude "multiple"
.map((dataKey, innerIndex) => (
<Radar
key={`${index}-${innerIndex}`} // Provide a unique key for each element
dataKey={dataKey}
fill="var(--color-key)"
fillOpacity={0.6}
/>
));
});
xxxxxxxxxx
"This article explains field symbol. Click on Source to view the article.
xxxxxxxxxx
You can use FIELD-SYMBOL to update internal table records from inside the LOOP.
LOOP AT itab ASSIGNING FIELD-SYMBOL(<FS>).
<FS>-field1 = 'TEST'.
ENDLOOP.
By using FIELD-SYMBOL, the updating process will become faster because FIELD-SYMBOL copied
the location of the record in the memory.