Skip to Content
avatar image
Former Member

Send an additional field to gateway SAPUI5

Hi, I want to send an additional information to gateway, for example, when I do a POST operation, I create de oModel object with the EKPO table information, like:

var oEkpo = { "Ebeln" : "4500000001", "inputEdit" : "this is an additional field" };

and with this I send to gateway. But my question is, in the EKPO model I don't have the "inputEdit", is there some way to send this additional information to gateway OData in order to use there ? Because when I send the object with this additional information, I got an error, that this field was not found.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 12, 2017 at 06:08 PM

    i think you have to create field for that.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 13, 2017 at 07:06 AM

    Your odata model would need to have this field if you want to avoid the error. Depending on how you plan to use the information you can add a field in your back end database table or not.

    Add comment
    10|10000 characters needed characters exceeded