on 06-08-2017 11:26 AM
Hi All,
I have used "create operation" in my controller where I am passing oEntry to the ECC system.
oModel.create("/objidSet", oEntry, { method: "POST", success:function(){ sap.ui.getCore().byId("Dialog2").close(); },
I have done the mapping as per the below screenshot -
Now when the "create method" in DPC class is hit, which is the parameter where I will get the value ? I could not find a lv_objid or objid variable in my "OBJIDSET_CREATE_ENTITY" method.
Please suggest.
Thanks
Meenakshi
Hi ,
If I understood your question correctly, the requirement is to create an entry in table using OData service which you have already created and have made call to it.. Please find below steps :
First you need to redefine method CREATE_ENTITY. ER_ENTITY is an exporting parameter which you need to fill with the data you are sending.
io_data_provider->read_entry_data( IMPORTING es_data = ls_request_input_data ).
Where ls_request_input_data parameter will be of same type which you used to send data. We are just capturing data which was passed.
once you have all data available in 'ls_request_input_data' you can perform what ever operation needed...
Hope this will help..
Thanks-
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.