Skip to Content

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

oData submitChanges for new entry with result


i'm using the oData submitChanges method in my UI5 component.

In case of a new entry i want the result back, in particular the ID of the newly created entry.

How can i get this ID ?

My code looks like :


                          // OK

                         function(oData) {

                                       // oData undefined. Which data to get the newly created entry ID ?



                         // not OK

                         function() {




Any suggestions ?

gr Hans


Hi Hans,

I think your syntax is wrong.

Please try:


  success: function(oData){;


  error: function(oError) { }


Best regards,


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question