Skip to Content
avatar image
Former Member

onApprove - > Write to Database

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers