I_TOWNSHIPCODE is the Basic CDS view, which provides access to the Township Code data in SAP S/HANA system. Core Data Services (CDS) views are semantically rich data models that provide efficient in-built functions such as aggregations, annotations, and conceptual associations.
This CDS view is found in the VDM Master Data BP: basic Views (VDM_MD_BP_BASE) package and is part of the SAP Business Partner (AP-MD-BP) module.
CDS View | I_TOWNSHIPCODE |
---|---|
DDL SQL View | ITOWNSHIPCODE |
Status | Released |
CDS View Type | Basic |
Package | VDM_MD_BP_BASE |
Technical Component | AP-MD-BP |
You can create custom CDS views for released views and expose them as a read-only OData service that delivers data tailored to the needs of your external application.
Tables Used
The following are the SAP HANA table(s) used to develop this CDS view
Table Name | Table Description |
---|---|
ADRTOWNSHIP | Township codes |
CDS View Fields
The following is the list of fields available in the CDS view and key fields are highlighted in color:
CDS View Field | Text | SQL View/Table | Table Field | Data Type | Length |
---|---|---|---|---|---|
MANDT | Client | ADRTOWNSHIP | CLIENT | CLNT | 3 |
COUNTRY | Country/Region Key | ADRTOWNSHIP | COUNTRY | CHAR | 3 |
REGION | Region (State, Province, County) | ADRTOWNSHIP | REGION | CHAR | 3 |
COUNTY | County code for county | ADRTOWNSHIP | COUNTY_CODE | CHAR | 8 |
TOWNSHIP | Township code for Township | ADRTOWNSHIP | TOWNSHIP_CODE | CHAR | 8 |
CDS View Annotaions
The following are the CDS View Annotations used in this CDS view:
CDS Annotation Name | CDS Annotation Value |
---|---|
OBJECTMODEL.USAGETYPE.SERVICEQUALITY | #A |
OBJECTMODEL.USAGETYPE.SIZECATEGORY | #M |
OBJECTMODEL.USAGETYPE.DATACLASS | #CUSTOMIZING |
ABAPCATALOG.SQLVIEWNAME | ‘ITOWNSHIPCODE’ |
CLIENTHANDLING.ALGORITHM | #SESSION_VARIABLE |
VDM.VIEWTYPE | #BASIC |
OBJECTMODEL.REPRESENTATIVEKEY | ‘Township’ |
ABAPCATALOG.COMPILER.COMPAREFILTER | true |
ENDUSERTEXT.LABEL | ‘Township Code’ |
ACCESSCONTROL.AUTHORIZATIONCHECK | #NOT_REQUIRED |
ABAPCATALOG.PRESERVEKEY | true |
Availability
The CDS view I_TOWNSHIPCODE is available within SAP S/4HANA On-premise and SAP S/4HANA Cloud systems depending on the version and release level.
SAP S/4HANA Version | Released |
---|---|
1909 | Yes |
2020 | Yes |
2021 | Yes |
2022 | Yes |
2023 | Yes |
Supported Capabilities
It is possible for a single CDS view to provide many capabilities such as a data source, association target, or analytical provider. Supported Capabilities indicates clear use cases for CDS views and provides an idea of the most efficient ways to use a CDS view. Each CDS view can have multiple supported capabilities.
Supported Capabilities are not defined for this CDS view.
Extensibility
Coming Soon!!
Related CDS Views
Coming Soon!!