Hi,
i am facing a problem with a SAP UI5 Cross Table.
What my json looks like:
{
"d": {
"results": [{
"__metadata": {
"uri": "http://....(Organisationseinheit='1a',Prozess='AD')",
"type": "Z_D029M_90_SRV.org_zu_planproz"
},
"Organisationseinheit": "1a",
"Prozess": "AD",
"Planbarkeit": 1
}, {
"__metadata": {
"uri": "http://...(Organisationseinheit='1a',Prozess='CB')",
"type": "Z_D029M_90_SRV.org_zu_planproz"
},
"Organisationseinheit": "1a",
"Prozess": "CB",
"Planbarkeit": 1
}, {
"__metadata": {
"uri": "http://...(Organisationseinheit='1b',Prozess='AD')",
"type": "Z_D029M_90_SRV.org_zu_planproz"
},
"Organisationseinheit": "1b",
"Prozess": "AD",
"Planbarkeit": 1
},
}]
}
}
What i would like to have is a table, with "Organisationseinheit" x "Prozess"
Organisationseinheit | AD | BB | CB |
---|---|---|---|
1a | 1 | 1 | |
1b | 1 | 1 |
There is a variable amount of values for both; "Organisationseinheit" and "Process".
Does anyone know a solution for this problem?
Thanks a lot
Glen