Skip to Content
0

onApprove - > Write to Database

Aug 03, 2017 at 08:18 AM

33

avatar image
Former Member

Hi,

I have a Scenario where i want an Approval App to write Data back into a Hana MDC Database on the Cloud.

Now the Code looks like this

onApprove: function() { 

   MessageToast.show(this.getResourceBundle().getText("xbut.approve"))

   this._onOpenApprovalDialog(true);

 }


I am connected to the MDC using OData Services, from that i can show values of Tables on my Approval App.

What should i do to insert them when I press Approve ?

Say I have Table1, with columns C1 C2 and C3, and i want to write an Integer on C3, like: SET Table1.C3 = 1 WHERE .... .

Thanks.

Gzim

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

0 Answers