Skip to content

Commit fb439d7

Browse files
Merge pull request #2589 from MatthaeusSchuele/main
Extend Released Data Sources by Database Fields That Are Not Exposed
2 parents 904a33a + 96328d3 commit fb439d7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tutorials/abap-env-ddls-extend/abap-env-ddls-extend.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,18 @@ A data source can be:
159159
>For more information, see also the documentation: [SAP - ABAP RESTful Application Programming Model > Extensibility Architecture Overview](https://help.sap.com/docs/abap-cloud/abap-rap/extensibility-architecture-overview?version=s4_hana)
160160
161161
162+
**Wrap-Up**
163+
164+
If a C1-released SAP Data Source (CDS View) does not include a standard field (delivered by SAP) but is required in tier 1, then you have the following options to add the field (in order of recommendation).
165+
166+
| Characteristic of the data source | Recommended Extension Technique |
167+
| -------- | -------- |
168+
| The data source is enabled for data source extensibility. You can see this in the Custom Fields app. You cannot see in ADT if the data source is enabled for data source extensibility. | Use the Custom Fields app to create a data source extension in Tier 1.
169+
| The data source is enabled for custom field extensibility. You can see this in ADT on the API State tab: the data source needs to be released for Extend (Contract C0) for use in cloud development or use in key user apps | In Tier 2, extend the extension data source (E_) by creating a view extension and add the missing standard field. In Tier 2, create a view extension for the extensible data source and expose the new field that was added to the "Extension data source (E_)". |
170+
The data source is neither enabled for data source nor custom field extensibility | In Tier 2, create a wrapper for the data source that contains the missing field and release it for usage In Tier 1, create a new data source combining the non-extensible data source with the wrapper. |
171+
172+
173+
162174
### Case 1 - The Data Source is Key User Data Source Extensible (Tier 1)
163175
164176
In this example the data source `I_GLAccountingLineItem` is extended by the company's country code.

0 commit comments

Comments
 (0)