ADRTOWNSHIP
Township codes
ADRTOWNSHIP is an SAP database table in S/4HANA. Township codes. It contains 5 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_BPTownshipValueHelpTmp | view | from | BASIC | Township Code |
| I_TertiaryRegion | view_entity | from | BASIC | Tertiary Region |
| I_TownshipCode | view | from | BASIC | Township Code |
Fields (5)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | client | MANDT | Client | |||
| KEY | country | LAND1 | Country/Reg. | |||
| KEY | region | REGIO | Region | |||
| KEY | county_code | CNTY_CODE | County code | |||
| KEY | township_code | TWSHP_CODE | Township code |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Township codes
-- Category TRANSPARENT · Delivery class C
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE ADRTOWNSHIP (
CLIENT, -- Client [MANDT]
COUNTRY, -- Country/Reg. [LAND1]
REGION, -- Region [REGIO]
COUNTY_CODE, -- County code [CNTY_CODE]
TOWNSHIP_CODE, -- Township code [TWSHP_CODE]
PRIMARY KEY (CLIENT, COUNTRY, REGION, COUNTY_CODE, TOWNSHIP_CODE)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA