diff --git a/src/1ad3ed7d9603bc0a8e4e5f5956bb10ht.sush.xml b/src/1ad3ed7d9603bc0a8e4e5f5956bb10ht.sush.xml
new file mode 100644
index 0000000..6be5836
--- /dev/null
+++ b/src/1ad3ed7d9603bc0a8e4e5f5956bb10ht.sush.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+ 1AD3ED7D9603BC0A8E4E5F5956BB10
+ HT
+ R3TR IWSV ZHS_UI_SIMPLE_PARTNER_O2 0001
+ ZHS_SOFTWAREHEROES
+ 5
+
+
+
+ 1AD3ED7D9603BC0A8E4E5F5956BB10
+ HT
+
+ X
+
+
+
+ -
+
+ Check at Start of External Services
+ AAAB
+ X
+ S_PROFGEN
+ BC-SEC-AUT-PFC
+ Check
+ Check
+ No
+ 3
+ Okay
+ @08@
+
+
+
+
+
diff --git a/src/ee566f319ecabe8ed3191480f35c18ht.sush.xml b/src/ee566f319ecabe8ed3191480f35c18ht.sush.xml
new file mode 100644
index 0000000..cf8f42b
--- /dev/null
+++ b/src/ee566f319ecabe8ed3191480f35c18ht.sush.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+ EE566F319ECABE8ED3191480F35C18
+ HT
+ R3TR IWSG ZHS_UI_SIMPLE_PARTNER_O2_0001
+ ZHS_SOFTWAREHEROES
+ 5
+
+
+
+ EE566F319ECABE8ED3191480F35C18
+ HT
+
+ X
+
+
+
+ -
+
+ Check at Start of External Services
+ AAAB
+ X
+ S_PROFGEN
+ BC-SEC-AUT-PFC
+ Check
+ Check
+ No
+ 3
+ Okay
+ @08@
+
+
+
+
+
diff --git a/src/zhs_c_rappartner.bdef.asbdef b/src/zhs_c_rappartner.bdef.asbdef
new file mode 100644
index 0000000..b0a6ff3
--- /dev/null
+++ b/src/zhs_c_rappartner.bdef.asbdef
@@ -0,0 +1,9 @@
+projection;
+strict;
+
+define behavior for ZHS_C_RAPPartner alias Partner
+{
+ use create;
+ use update;
+ use delete;
+}
\ No newline at end of file
diff --git a/src/zhs_c_rappartner.bdef.xml b/src/zhs_c_rappartner.bdef.xml
new file mode 100644
index 0000000..364d1cf
--- /dev/null
+++ b/src/zhs_c_rappartner.bdef.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+ ZHS_C_RAPPARTNER
+ BDEF/BDO
+ RAP consumption for partner
+ 60
+ EN
+
+ -
+ ./zhs_c_rappartner/source/main/versions
+ http://www.sap.com/adt/relations/versions
+ Historic versions
+
+ -
+ ./zhs_c_rappartner/source/main
+ http://www.sap.com/adt/relations/source
+ text/plain
+ Source Content
+
+ -
+ ./zhs_c_rappartner/source/main
+ http://www.sap.com/adt/relations/source
+ text/html
+ Source Content (HTML)
+
+
+ EN
+ 5
+ ./zhs_c_rappartner/source/main
+ ABAP_SOURCE
+ true
+ true
+
+
+
+
diff --git a/src/zhs_c_rappartner.ddls.asddls b/src/zhs_c_rappartner.ddls.asddls
new file mode 100644
index 0000000..8f8937a
--- /dev/null
+++ b/src/zhs_c_rappartner.ddls.asddls
@@ -0,0 +1,14 @@
+@AccessControl.authorizationCheck: #NOT_REQUIRED
+@EndUserText.label: 'RAP consumption for partner'
+@Metadata.allowExtensions: true
+define root view entity ZHS_C_RAPPartner
+ provider contract transactional_query
+ as projection on ZHS_I_RAPPartner
+{
+ key PartnerNumber,
+ PartnerName,
+ Street,
+ City,
+ Country,
+ PaymentCurrency
+}
diff --git a/src/zhs_c_rappartner.ddls.baseinfo b/src/zhs_c_rappartner.ddls.baseinfo
new file mode 100644
index 0000000..7fd47c0
--- /dev/null
+++ b/src/zhs_c_rappartner.ddls.baseinfo
@@ -0,0 +1,19 @@
+{
+"BASEINFO":
+{
+"FROM":
+[
+"ZHS_I_RAPPARTNER"
+],
+"ASSOCIATED":
+[],
+"BASE":
+[],
+"ANNO_REF":
+[],
+"SCALAR_FUNCTION":
+[],
+"VERSION":0,
+"ANNOREF_EVALUATION_ERROR":""
+}
+}
\ No newline at end of file
diff --git a/src/zhs_c_rappartner.ddls.xml b/src/zhs_c_rappartner.ddls.xml
new file mode 100644
index 0000000..07844e7
--- /dev/null
+++ b/src/zhs_c_rappartner.ddls.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+ ZHS_C_RAPPARTNER
+ E
+ RAP consumption for partner
+ P
+
+
+
+
diff --git a/src/zhs_c_rappartner.ddlx.asddlxs b/src/zhs_c_rappartner.ddlx.asddlxs
new file mode 100644
index 0000000..8dc7dc2
--- /dev/null
+++ b/src/zhs_c_rappartner.ddlx.asddlxs
@@ -0,0 +1,71 @@
+@Metadata.layer: #CUSTOMER
+
+@UI: {
+ headerInfo: {
+ typeName: 'Partner',
+ typeNamePlural: 'Partners'
+ }
+}
+
+annotate entity ZHS_C_RAPPartner with
+{
+
+ @UI.facet : [
+ {
+ id : 'FacetCollection',
+ type : #COLLECTION,
+ label : 'Partner Collection'
+ },
+ {
+ id : 'FacetPartnerAddress',
+ parentId : 'FacetCollection',
+ label : 'Address',
+ type : #IDENTIFICATION_REFERENCE,
+ targetQualifier: 'PARTNER_ADDRESS'
+ },
+ {
+ id : 'FacetPartnerFields',
+ parentId : 'FacetCollection',
+ label : 'Information',
+ type : #IDENTIFICATION_REFERENCE,
+ targetQualifier: 'PARTNER_INFO'
+ }
+
+ ]
+ @UI.selectionField: [{ position: 10 }]
+ @UI.lineItem: [{ position: 20, importance: #MEDIUM }]
+ @UI.identification: [{ position: 20, qualifier: 'PARTNER_INFO' }]
+ @EndUserText.label: 'Partner'
+ @EndUserText.quickInfo: 'Identifier of the partner'
+ PartnerNumber;
+
+ @UI.selectionField: [{ position: 20 }]
+ @UI.lineItem: [{ position: 10, importance: #MEDIUM }]
+ @UI.identification: [{ position: 30, qualifier: 'PARTNER_INFO' }]
+ @EndUserText.label: 'Name'
+ @EndUserText.quickInfo: 'Partner name'
+ PartnerName;
+
+ @UI.lineItem: [{ position: 40, importance: #MEDIUM }]
+ @UI.identification: [{ position: 40, qualifier: 'PARTNER_ADDRESS' }]
+ @EndUserText.label: 'Street'
+ @EndUserText.quickInfo: 'Street and Housenumber'
+ Street;
+
+ @UI.lineItem: [{ position: 30, importance: #MEDIUM }]
+ @UI.identification: [{ position: 50, qualifier: 'PARTNER_ADDRESS' }]
+ @EndUserText.label: 'City'
+ @EndUserText.quickInfo: 'City of the partner'
+ City;
+
+ @UI.lineItem: [{ position: 50, importance: #HIGH}]
+ @UI.identification: [{ position: 60, qualifier: 'PARTNER_ADDRESS' }]
+ @EndUserText.label: 'Ctry'
+ @EndUserText.quickInfo: 'Country'
+ Country;
+
+ @UI.identification: [{ position: 70, qualifier: 'PARTNER_INFO' }]
+ @EndUserText.label: 'PayCurr'
+ @EndUserText.quickInfo: 'Payment Currency'
+ PaymentCurrency;
+}
\ No newline at end of file
diff --git a/src/zhs_i_rappartner.ddlx.xml b/src/zhs_c_rappartner.ddlx.xml
similarity index 91%
rename from src/zhs_i_rappartner.ddlx.xml
rename to src/zhs_c_rappartner.ddlx.xml
index 9afb4b2..d69d7e5 100644
--- a/src/zhs_i_rappartner.ddlx.xml
+++ b/src/zhs_c_rappartner.ddlx.xml
@@ -4,7 +4,7 @@
- ZHS_I_RAPPARTNER
+ ZHS_C_RAPPARTNER
Metdata extension
EN
diff --git a/src/zhs_i_rappartner.ddls.asddls b/src/zhs_i_rappartner.ddls.asddls
index fce31f4..0e232f5 100644
--- a/src/zhs_i_rappartner.ddls.asddls
+++ b/src/zhs_i_rappartner.ddls.asddls
@@ -1,6 +1,5 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'RAP Interface for Partner'
-@Metadata.allowExtensions: true
define root view entity ZHS_I_RAPPartner
as select from zhs_dmo_partner
diff --git a/src/zhs_i_rappartner.ddlx.asddlxs b/src/zhs_i_rappartner.ddlx.asddlxs
deleted file mode 100644
index 7332ea4..0000000
--- a/src/zhs_i_rappartner.ddlx.asddlxs
+++ /dev/null
@@ -1,63 +0,0 @@
-@Metadata.layer: #CUSTOMER
-annotate entity ZHS_I_RAPPartner
- with
-{
-@UI.facet : [
- {
- id : 'FacetCollection',
- type : #COLLECTION,
- label : 'Partner Collection'
- },
- {
- id : 'FacetPartnerAddress',
- parentId : 'FacetCollection',
- label : 'Address',
- type : #IDENTIFICATION_REFERENCE,
- targetQualifier: 'PARTNER_ADDRESS'
- },
- {
- id : 'FacetPartnerFields',
- parentId : 'FacetCollection',
- label : 'Information',
- type : #IDENTIFICATION_REFERENCE,
- targetQualifier: 'PARTNER_INFO'
- }
-
- ]
- @UI.selectionField: [{ position: 10 }]
- @UI.lineItem: [{ position: 20, importance: #MEDIUM }]
- @UI.identification: [{ position: 20, qualifier: 'PARTNER_INFO' }]
- @EndUserText.label: 'Partner'
- @EndUserText.quickInfo: 'Identifier of the partner'
- PartnerNumber;
-
- @UI.selectionField: [{ position: 20 }]
- @UI.lineItem: [{ position: 10, importance: #MEDIUM }]
- @UI.identification: [{ position: 30, qualifier: 'PARTNER_INFO' }]
- @EndUserText.label: 'Name'
- @EndUserText.quickInfo: 'Partner name'
- PartnerName;
-
- @UI.lineItem: [{ position: 40, importance: #MEDIUM }]
- @UI.identification: [{ position: 40, qualifier: 'PARTNER_ADDRESS' }]
- @EndUserText.label: 'Street'
- @EndUserText.quickInfo: 'Street and Housenumber'
- Street;
-
- @UI.lineItem: [{ position: 30, importance: #MEDIUM }]
- @UI.identification: [{ position: 50, qualifier: 'PARTNER_ADDRESS' }]
- @EndUserText.label: 'City'
- @EndUserText.quickInfo: 'City of the partner'
- City;
-
- @UI.lineItem: [{ position: 50, importance: #HIGH}]
- @UI.identification: [{ position: 60, qualifier: 'PARTNER_ADDRESS' }]
- @EndUserText.label: 'Ctry'
- @EndUserText.quickInfo: 'Country'
- Country;
-
- @UI.identification: [{ position: 70, qualifier: 'PARTNER_INFO' }]
- @EndUserText.label: 'PayCurr'
- @EndUserText.quickInfo: 'Payment Currency'
- PaymentCurrency;
-}
\ No newline at end of file
diff --git a/src/zhs_simple_partner.srvd.srvdsrv b/src/zhs_simple_partner.srvd.srvdsrv
index 5cd27a9..4a2805a 100644
--- a/src/zhs_simple_partner.srvd.srvdsrv
+++ b/src/zhs_simple_partner.srvd.srvdsrv
@@ -1,4 +1,4 @@
@EndUserText.label: 'Simple Partner Service'
define service ZHS_SIMPLE_PARTNER {
- expose ZHS_I_RAPPartner as Partner;
+ expose ZHS_C_RAPPartner as Partner;
}
\ No newline at end of file
diff --git a/src/zhs_ui_simple_partner_o2.srvb.xml b/src/zhs_ui_simple_partner_o2.srvb.xml
new file mode 100644
index 0000000..73ba417
--- /dev/null
+++ b/src/zhs_ui_simple_partner_o2.srvb.xml
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+ ZHS_UI_SIMPLE_PARTNER_O2
+ SRVB/SVB
+ Simple UI Service O2
+ EN
+ EN
+ 5
+
+
+
+ ZHS_UI_SIMPLE_PARTNER_O2
+
+ ODATA
+ V2
+
+ -
+ ZHS_UI_SIMPLE_PARTNER_O2
+
+
-
+ 0001
+ NOT_RELEASED
+
+ /sap/bc/adt/ddic/srvd/sources/zhs_simple_partner
+ SRVD/SRV
+ ZHS_SIMPLE_PARTNER
+
+
+
+ base64
+
+
+
+
+
+
+
+ C1
+ true
+ true
+ true
+
+
+
+
diff --git a/src/zhs_ui_simple_partner_o2_iwsg.sco2.xml b/src/zhs_ui_simple_partner_o2_iwsg.sco2.xml
new file mode 100644
index 0000000..548820d
--- /dev/null
+++ b/src/zhs_ui_simple_partner_o2_iwsg.sco2.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+ ZHS_UI_SIMPLE_PARTNER_O2_IWSG
+ IWSG
+ ZHS_UI_SIMPLE_PARTNER_O2_0001
+ X
+ 5
+ ZHS_UI_SIMPLE_PARTNER_O2_IWSG
+ ZHS_UI_SIMPLE_PARTNER_O2
+ 5
+
+
+
+