on 2016 May 06 11:32 AM
Hi ,
I started to work on the SAPUI5 Update operation. In My application i am keeping the list in the master section, on the detail page, I need to press the approve button to update the service.Approve button opens a dialogue with text area. while submittib the approve operation i need to post the two values ,which listed over in the master page.
List URL : /sap/opu/odata/sap/YBUSI_PROCESS_SRV/ParentSet
Update URL: /sap/opu/odata/sap/YBUSI_PROCESS_SRV/Update?DescnId='1'&DescnCmt='JK'
In dialogue confirm action :
beginButton: new Button({
text: 'Submit',
press: function () {
var sText = sap.ui.getCore().byId('confirmDialogTextarea').getValue();
MessageToast.show("Note is: " +sText+"\nKey is: "+key+"\nId is: "+Id); //able to view the DescnId ,DescnAmt and User Comments.
dialog.close();
}
}),
I am trying to compare the Standard Purchase order code, they used like oModel.callFunction. i am geeting confused here.
How to call the update method.
Thank you,
Regards,
JK
did u know sap gateway?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.