Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adding elements to arrays in OData model in SAPUI5

Hi,

I have a question concernig the adding of an element to an array within an OData Model in SAPUI5.

Is there any standard functionality to add an element where only the necessary attributes of the element have to specified? Or do I have to rebuild the whole object with its structure (like the PositionSet structure in the attached screenshot) and use the push() method to append the new element?

Thanks a lot for any response! :-)

Best,

Flo

Test.jpg (166525 B)
Former Member
Not what you were looking for? View more on this topic or Ask a question