Folasaga ile ABAP CDS Views

by | Aug 1, 2021 | ABAP RAP

Upu Tomua – O lenei pou o se vaega o le SAP ABAP RAP faasologa.

faʻatomuaga

SAP ABAP CDS View o lo'o fa'aogaina mo le fa'amalamalamaina ma le fa'aogaina o fa'ata'ita'iga fa'amatalaga fa'amatalaga i luga o laulau masani po'o va'aiga lolomifefiloi. O le fa'apu'upu'u mo le CDS o le Au'aunaga Fa'amatalaga Autu. E ui lava o le SE11 lomifefiloi va'aiga ma le CDS va'aiga fa'atupu fa'amatalaga fa'amaumauga i tua, o le ABAP CDS va'ai e suitulaga i le va'aiga lolomifefiloi i le tele o auala.

Eseesega ile va'aiga lomifefiloi ma le CDS View

Va'aiga Lomifefiloi Va'aiga CDS
E mafai ona fatuina mai le SAP GUI poʻo le Eclipse. E na'o le Eclipse po'o le SAP HANA Studio e mafai ona faia.
Le mafai ona fa'amatalaina Fa'amatalaga. E tu'uina atu fa'amatalaga e fa'atamaoaigaina ai metadata.
E le mafai ona tuufaatasia. E mafai ona tuʻuina atu galuega faʻapipiʻi.
E le mafai ona fa'avasega. E mafai ona tu'u fa'atasi.
E mafai ona faʻaaogaina le soʻo. Join ma Union e mafai ona faʻaaoga uma
  E mafai ona fa'aoga Fa'amatalaga Fa'amatalaga.
  E mafai ona fa'ataga mea fa'aoga mo le fa'amamaina o fa'amaumauga ma fa'asologa o koluma
  E mafai ona faʻaaogaina tagata faʻaoga.

CDS vaaiga Ituaiga

E tolu ituaiga va'aiga VDM eseese:

  • Va'aiga fa'avae
  • Vaaiga tu'ufa'atasi
  • Va'aiga fa'atau

CDS vaaiga Ituaiga

Ata 1: Ituaiga va'aiga CDS

1. Vaaiga Autu

VDM Va'aiga fa'avae o lo'o faia ile pito i luga ole laulau DDIC po'o va'aiga. E na'o le pau lea o le va'aiga e feso'ota'i sa'o ma fa'amaumauga.

Faʻaaliga: @VDM.Viewtype : #FASIC

Meatotino mo Va'aiga Autu:

  1. E mafai ona sa'o sa'o i fa'amatalaga autu i laulau fa'amaumauga ma isi manatu fa'avae.
  2. E iai a latou feso'ota'iga ma isi manatu fa'avae.
  3. Sa'oloto mai le toe faigaluega.
  4. Latou te faʻaalia uma faʻamatalaga pisinisi.

 

2. Vaaiga tu'ufa'atasi

O le va'aiga tu'ufa'atasi e faia i luga o le VDM Basic view. E fegalegaleai ma vaaiga fa'avae mo le seti fa'ai'uga ma e le fegalegaleai sa'o ma le fa'amaumauga.

Faʻaaliga: @VDM.Viewtype : #COMPOSITE

Meatotino o Va'aiga Tu'ufa'atasi:

  1. E mafai ona latou maua isi vaaiga fa'aopoopo ae le o laulau fa'amaumauga.
  2. E mafai ona latou fa'atasi ma isi manatu tu'ufa'atasi ma manatu fa'avae.
  3. E ono mafai ona toe faigaluega.
  4. E tatau ona toe fa'aaogaina.

 

3. Fa'atauga va'aiga

O manatu fa'atau e fausia i luga o va'aiga Fa'afeso'ota'i. I le igoa Consumption, e mafai ona tatou manatu o lenei manatu e tatau ona faʻaaogaina e le SAP UI5 e ala i le OData, Analytical fesili, Transactional service models.

Faʻaaliga: @VDM.Viewtype : #CONSUMPTION

E fa'afefea ona fai ni manatu CDS ile ADT?

Ina ia fatuina se vaaiga CDS mulimuli i laasaga nei:

  1. Su'e ile New ABAP Repository.
    Faleoloa fou ABAP
  2. Filifili Fa'amatalaga Fa'amatalaga.
    Filifili Fa'amatalaga Fa'amatalaga
  3. Tuuina atu Paketi, Igoa, Faʻamatalaga o le CDS view.
  4. I le taimi nei mai filifiliga ua tuʻuina atu, filifili Faʻamatala Vaʻaiga.
    Fa'amatala Va'aiga
  5. Fa'amatala igoa fa'amatalaga, igoa SQL view, fa'amatalaga mana'omia ma isi meatotino.
    Fa'amatala igoa puna'oa
  6. Fa'amatala le filifiliga o fa'amatalaga Fesili.
    Fa'amatala le filifiliga o fa'amatalaga Fesili
  7. Fa'asaoina ma fa'agaoioi.

E fa'afefea ona va'ai fa'amatalaga mai le CDS Views?

  1. I le DDL source object, fa'afeiloa'i i lau va'aiga CDS.
  2. Kiliki taumatau ma filifili OPEN DATA PREVIEW. E le gata i lea, e mafai ona e tatalaina le CDS view ma lolomi F8 e vaʻai i faʻamatalaga.
  3. O le a fa'aali atu ia te oe fa'amaumauga na maua mai le CDS View.

0 Faamatalaga

Tuuina atu se Faamatalaga

o le a le lomia lou tuatusi imeli. fanua manaomia ua faailogaina *

O lenei 'upega tafaʻilagi e faʻaaogaina le Akismet e faʻaitiitia le spam. Aoao pe faapefea ona faʻasoa lau faʻamatalaga faʻamatalaga.