Odata + UI5
Odata + UI5
https://api.covid19api.com/?$metadata
https://www.odata.org/documentation/odata-version-2-0/uri-conventions/
Tcode
/IWFND/MAINT_SERVICE
1- Uniform Interface
2- Stateless
3- Cacheable
4- Client- Server
5- Layered system
6- Code on Demand(optional)
REST Vs SOAP
Resources Action
JSON is very light weight so it very popular in web programming.(30-40% lighter than XML file).
Getting the representation of the resource(copy of resource not the reference to the resource).
we use http method in OData API
OData Trace ‘/IWFND/TRACES’
1- Content-Type
2- Slug
In the post command you need to add the headers “Content-Type” and “slug”. For example for PDFs
content type should be “application/pdf” and slug needs to contain the key – in my case filename.
Note that if you use Gateway client tool you don’t have to supply content type parameter.
Query URL
https://www.odata.org/documentation/odata-version-2-0/uri-conventions/
UI5
Aggregation
Event Object
Hooker Methods
Formatter:
Resource Model
Fiori App---
Accessing this pointer in asysn call.
Component.JS
Ques
SEPM_DG --- Regenerate the EPM data
Bapi_epm_product_get_list
S_nwdemo_model_ddic