Yini i-SAP OData

Isingeniso

Uma uhlela ukudalula Idatha yakho ye-SAP (Ithebula noma Idatha Yombuzo) endaweni yangaphandle efana ne-UI5/Fiori noma i-HANA, kuzomele uphushe idatha yakho ngohlobo lwe-API. Ngu API siqonde ukuthi, sisebenzisa i-OData sizokhiqiza i- service isixhumanisi esingafinyeleleka nge-inthanethi futhi singasetshenziswa ukwenza imisebenzi ye-CRUD. I-SAP OData endaweni ye-SAP ABAP ifana nelinye Ikilasi le-ABAP. Singafinyelela izindlela zaleli klasi sisebenzisa ukuthengiselana kwe-SEGW. Singabhala ikhodi yethu edingekayo lapha ukuze kusetshenziswe idatha futhi uma sesenze ikilasi lisebenze, isixhumanisi sesevisi esisikhiqizayo sizokwenza ngokufanele.

Incazelo

I-SAP OData iyiphrothokholi yeWebhu evamile esetshenziselwa ukubuza nokubuyekeza idatha ekhona ku-SAP kusetshenziswa i-ABAP, ukusebenzisa nokwakha kubuchwepheshe beWebhu obufana ne-HTTP ukuze kunikeze ukufinyelela olwazini oluvela ezinhlobonhlobo zezinhlelo zokusebenza zangaphandle, izinkundla namadivayisi.

Ku-SAP, sisebenzisa I-SEGW ikhodi yokwenziwayo ukuze udale Isevisi ye-OData. I-SEGW imele i-Service Gateway.

I-Architecture ye-SAP OData

Lapha, sizoxoxa mayelana nokwakhiwa kwezinga eliphezulu le-SAP OData.

I-SAP OData High Level Architecture
I-SAP OData High Level Architecture

Kungani sidinga i-ODATA

I-SAP OData iza nezinzuzo eziningi. Akusisizi kuphela ukuthi sidalule idatha kodwa futhi kusiza ikhasimende ukuthi lifinyelele idatha ukusuka noma yikuphi nanoma iyiphi idivayisi. Uma zingeke zibe khona izinsiza ze-OData, khona-ke idatha izohlala endaweni futhi uma umsebenzisi edinga ukufinyelela idatha yakhe, kungase kudingeke ukuthi avakashele indawo yedatha, okuyinto engakhululekile emhlabeni wedijithali.

Izinzuzo ze-ODATA

Ukusebenzisa i-SAP OData kusinikeza izinzuzo ezilandelayo:

  • Kuyasiza ukuthola imiphumela efundekayo yomuntu okungukuthi ungasebenzisa isiphequluli sakho ukuze ubone idatha yokuphumayo
  • Kulula kakhulu futhi kuyashesha ukufinyelela idatha
  • Isebenzisa zonke izimiso zewebhu okuyi-GET, PUT, POST, DELETE, kanye ne-QUERY
  • Isebenzisa Izicelo Ezingenasimo Sezwe: Kusho ukuthi Iseva ayilondolozi noma iyiphi idatha Yeklayenti (isb. Isicelo se-UI5) futhi iphatha yonke ikholi ye-OData njengocingo olusha.
  • Ithola idatha ngohlobo lwezingxenye ezihlobene zolwazi, enye eholela kwenye: Kuyiphethini yokusebenzisana eyaziwa ngokuthi “isenzo sokuhlaziya”, “buka-hlola-isenzo”, noma “hlola futhi yenza”. Ngokwale phethini akuyona yonke idatha elayishwa ndawonye, ​​futhi umsebenzisi uhlaziya idatha futhi afinyelele ulwazi lwayo oludingekayo ngemva kokuzulazula. Ngale ndlela idatha ilayisha ngokushesha futhi ngendlela efanele.

I-SAP OData V2 (Inguqulo 2)

I-OData v2 iyisethi yamazinga amasha okuyizengezo ku-SAP OData V1, futhi lezi zimi kanje:

  • Ukuhlunga nokuhlunga ohlangothini lweklayenti
  • Zonke izicelo zingahlanganiswa
  • Yonke idatha ifakwe kunqolobane kumodeli
  • Ukuphathwa komlayezo okuzenzakalelayo

Ungafunda kabanzi mayelana ne-SAP OData v2 vs OData v1 lapha.

I-SAP OData V4 (Inguqulo 4)

I-OData v4 iwukuthuthukela kwakamuva ezinsizeni ze-SAP OData eza nokwengezwa okuthile nokuncishiswa okuthile kwezici, njenge:

  • Inguqulo entsha iletha ukwenziwa lula mayelana nokubopha idatha. Imodeli entsha ye-OData V4 yenza kube lula ukwakheka kwepharamitha ebophezela idatha.
  • I-OData v4 idinga ukubuyiswa kwedatha okuvumelanayo kuphela.
  • Amaqembu eqoqo achazwa kuphela ngamapharamitha abophayo kumakholi amasha we-OData v4 namapharamitha ahambisanayo kumodeli njengokuzenzakalelayo.
  • Isekela ukusetshenziswa kokubophezela komsebenzi. Futhi manje sekulula kakhulu ukuhlanganisa imiphumela yokusebenza kuzilawuli.
  • Dala, Funda, Buyekeza futhi Susa (Susa) imisebenzi itholakala ngokungagunci ngokusebenzisa izibopho
  • Ku-OData v4, i-Metadata ifinyelelwa kuphela nge-ODataMetaModel

Ungafunda kabanzi mayelana ne-SAP OData v4 vs OData v2 lapha.

Amazwana: 2

Shiya amazwana

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.