Skip to Content
0

Send an additional field to gateway SAPUI5

Apr 12, 2017 at 05:39 PM

54

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jun Wu Apr 12, 2017 at 06:08 PM
0

i think you have to create field for that.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 13, 2017 at 07:06 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded