CRMS4_IU_P_PODADDR

DDL: CRMS4_IU_P_PODADDR SQL: CRMS4IUVPPODADDR Type: view

Point of Delivery by Address

CRMS4_IU_P_PODADDR is a CDS View that provides data about "Point of Delivery by Address" in SAP S/4HANA. It reads from 3 data sources (CRMS4_IU_I_CON, CRMS4_IU_I_POD, CRMS4_IU_I_PRM) and exposes 56 fields with key fields UtilsInternalPointOfDelivery, AddressID.

Data Sources (3)

SourceAliasJoin Type
CRMS4_IU_I_CON ConnectionObject inner
CRMS4_IU_I_POD PointOfDelivery from
CRMS4_IU_I_PRM Premise inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CRMS4IUVPPODADDR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Point of Delivery by Address view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey AddressID view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY UtilsInternalPointOfDelivery CRMS4_IU_I_POD UtilsInternalPointOfDelivery PoD
KEY AddressID CRMS4_IU_I_CON AddressID Ship-to address
PD_VALID_FROM CRMS4_IU_I_POD UtilsPtOfDeliveryValidFrom
PD_VALID_TO CRMS4_IU_I_POD UtilsPtOfDeliveryValidTo
PD_AEDAT CRMS4_IU_I_POD UtilsPoDLastChangeDate Obsolete
PD_AENAM CRMS4_IU_I_POD UtilsPoDLastChangedByUser User Name
PD_BEGRU CRMS4_IU_I_POD AuthorizationGroup AuthorizGroup
PD_ERDAT CRMS4_IU_I_POD UtilsPtOfDeliveryCreationDate Entered On
PD_ERNAM CRMS4_IU_I_POD UtilsPtOfDeliveryCreatedByUser User Name
PD_EUIROLED CRMS4_IU_I_POD UtilsPtOfDeliveryIsDeregulated Dereg. PoD
PD_EUIROLET CRMS4_IU_I_POD UtilsPtOfDeliveryIsTechnical Technical PoD
PD_EXT_UI CRMS4_IU_I_POD UtilsExternalPointOfDelivery
PD_INT_UI CRMS4_IU_I_POD UtilsInternalPointOfDelivery PoD
PD_LOEVM CRMS4_IU_I_POD DeletionIndicator Deletion Ind.
PD_SPARTE CRMS4_IU_I_POD Division Internal Division ID
PD_SPARTE_DESC CRMS4_IU_I_POD DivisionName Division Description
PD_UICAT CRMS4_IU_I_POD UtilsPointOfDeliveryCategory PoD Category
PD_UITYPE CRMS4_IU_I_POD UtilitiesPointOfDeliveryType PoD Type
PD_UITYPE_DESC CRMS4_IU_I_POD UtilitiesPtOfDeliveryTypeName PoD type desc.
PD_GRID_LTYP CRMS4_IU_I_POD UtilitiesGridLevelType
PD_GRID_LTYP_DESC CRMS4_IU_I_POD UtilitiesGridLevelTypeName
PD_GRID_LEVL CRMS4_IU_I_POD UtilitiesGridLevel
PD_GRID_LEVL_DESC CRMS4_IU_I_POD UtilitiesVoltageLevelName
PD_GRID_ID CRMS4_IU_I_POD UtilitiesGrid
PD_GRID_ID_DESC CRMS4_IU_I_POD UtilitiesGridName
PD_OUTL_CONT CRMS4_IU_I_POD UtilitiesIsOutlineContract Outline Contr.
PD_INST_ALLOC_FROM CRMS4_IU_I_POD UtilsInstToPoDAllocFromDteTme
PD_INST_ALLOC_TO CRMS4_IU_I_POD UtilsInstToPoDAllocToDteTme
PD_ANLAGE CRMS4_IU_I_POD UtilitiesInstallation
VSTELLE CRMS4_IU_I_POD UtilitiesPremise Premise
NAME1 CRMS4_IU_I_CON OrganizationName1 Name
NAME2 CRMS4_IU_I_CON OrganizationName2 Name 2
CITY1 CRMS4_IU_I_CON CityName Name
CITY2 CRMS4_IU_I_CON DistrictName District
POST_CODE1 CRMS4_IU_I_CON PostalCode Postal Code
POST_CODE2 CRMS4_IU_I_CON POBoxPostalCode PO Box Postal Code
POST_CODE3 CRMS4_IU_I_CON CompanyPostalCode Company Post Cd
PO_BOX_LOC CRMS4_IU_I_CON POBoxDeviatingCityName PO Box City
STREET CRMS4_IU_I_CON StreetName Text
STR_SUPPL1 CRMS4_IU_I_CON StreetPrefixName1 Street 2
STR_SUPPL2 CRMS4_IU_I_CON StreetPrefixName2 Street 3
STR_SUPPL3 CRMS4_IU_I_CON StreetSuffixName1 Street 4
HOUSE_NUM1 CRMS4_IU_I_CON HouseNumber House Number
HOUSE_NUM2 CRMS4_IU_I_CON HouseNumberSupplementText Supplement
COUNTRY CRMS4_IU_I_CON Country Venue: Ctry/Reg
REGION CRMS4_IU_I_CON Region Venue Region
SORT1 CRMS4_IU_I_CON AddressSearchTerm1 Search Term 1
SORT2 CRMS4_IU_I_CON AddressSearchTerm2 Search Term 2
ADDRNUMBER CRMS4_IU_I_CON AddressID Ship-to address
PO_BOX_LOBBY CRMS4_IU_I_CON POBoxLobbyName PO Box Lobby
DELI_SERV_TYPE CRMS4_IU_I_CON DeliveryServiceNumber Delivery Service No.
DELI_SERV_NUMBER CRMS4_IU_I_CON DeliveryServiceTypeCode Delvry Serv Type
COUNTY CRMS4_IU_I_CON SecondaryRegionName County
TOWNSHIP CRMS4_IU_I_CON TertiaryRegionName Township
_PointOfDelivery _PointOfDelivery
_Address2 CRMS4_IU_I_CON _Address2

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view CRMS4_IU_P_PODADDR.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CRMS4IUVPPODADDR

CREATE VIEW CRMS4_IU_P_PODADDR AS
SELECT
  PointOfDelivery.UtilsInternalPointOfDelivery AS UtilsInternalPointOfDelivery,
  ConnectionObject.AddressID AS AddressID,
  PointOfDelivery.UtilsPtOfDeliveryValidFrom AS PD_VALID_FROM,
  PointOfDelivery.UtilsPtOfDeliveryValidTo AS PD_VALID_TO,
  PointOfDelivery.UtilsPoDLastChangeDate AS PD_AEDAT,
  PointOfDelivery.UtilsPoDLastChangedByUser AS PD_AENAM,
  PointOfDelivery.AuthorizationGroup AS PD_BEGRU,
  PointOfDelivery.UtilsPtOfDeliveryCreationDate AS PD_ERDAT,
  PointOfDelivery.UtilsPtOfDeliveryCreatedByUser AS PD_ERNAM,
  PointOfDelivery.UtilsPtOfDeliveryIsDeregulated AS PD_EUIROLED,
  PointOfDelivery.UtilsPtOfDeliveryIsTechnical AS PD_EUIROLET,
  PointOfDelivery.UtilsExternalPointOfDelivery AS PD_EXT_UI,
  PointOfDelivery.UtilsInternalPointOfDelivery AS PD_INT_UI,
  PointOfDelivery.DeletionIndicator AS PD_LOEVM,
  PointOfDelivery.Division AS PD_SPARTE,
  PointOfDelivery.DivisionName AS PD_SPARTE_DESC,
  PointOfDelivery.UtilsPointOfDeliveryCategory AS PD_UICAT,
  PointOfDelivery.UtilitiesPointOfDeliveryType AS PD_UITYPE,
  PointOfDelivery.UtilitiesPtOfDeliveryTypeName AS PD_UITYPE_DESC,
  PointOfDelivery.UtilitiesGridLevelType AS PD_GRID_LTYP,
  PointOfDelivery.UtilitiesGridLevelTypeName AS PD_GRID_LTYP_DESC,
  PointOfDelivery.UtilitiesGridLevel AS PD_GRID_LEVL,
  PointOfDelivery.UtilitiesVoltageLevelName AS PD_GRID_LEVL_DESC,
  PointOfDelivery.UtilitiesGrid AS PD_GRID_ID,
  PointOfDelivery.UtilitiesGridName AS PD_GRID_ID_DESC,
  PointOfDelivery.UtilitiesIsOutlineContract AS PD_OUTL_CONT,
  PointOfDelivery.UtilsInstToPoDAllocFromDteTme AS PD_INST_ALLOC_FROM,
  PointOfDelivery.UtilsInstToPoDAllocToDteTme AS PD_INST_ALLOC_TO,
  PointOfDelivery.UtilitiesInstallation AS PD_ANLAGE,
  PointOfDelivery.UtilitiesPremise AS VSTELLE,
  ConnectionObject.OrganizationName1 AS NAME1,
  ConnectionObject.OrganizationName2 AS NAME2,
  ConnectionObject.CityName AS CITY1,
  ConnectionObject.DistrictName AS CITY2,
  ConnectionObject.PostalCode AS POST_CODE1,
  ConnectionObject.POBoxPostalCode AS POST_CODE2,
  ConnectionObject.CompanyPostalCode AS POST_CODE3,
  ConnectionObject.POBoxDeviatingCityName AS PO_BOX_LOC,
  ConnectionObject.StreetName AS STREET,
  ConnectionObject.StreetPrefixName1 AS STR_SUPPL1,
  ConnectionObject.StreetPrefixName2 AS STR_SUPPL2,
  ConnectionObject.StreetSuffixName1 AS STR_SUPPL3,
  ConnectionObject.HouseNumber AS HOUSE_NUM1,
  ConnectionObject.HouseNumberSupplementText AS HOUSE_NUM2,
  ConnectionObject.Country AS COUNTRY,
  ConnectionObject.Region AS REGION,
  ConnectionObject.AddressSearchTerm1 AS SORT1,
  ConnectionObject.AddressSearchTerm2 AS SORT2,
  ConnectionObject.AddressID AS ADDRNUMBER,
  ConnectionObject.POBoxLobbyName AS PO_BOX_LOBBY,
  ConnectionObject.DeliveryServiceNumber AS DELI_SERV_TYPE,
  ConnectionObject.DeliveryServiceTypeCode AS DELI_SERV_NUMBER,
  ConnectionObject.SecondaryRegionName AS COUNTY,
  ConnectionObject.TertiaryRegionName AS TOWNSHIP,
  ConnectionObject._Address2 AS _Address2
FROM CRMS4_IU_I_POD AS PointOfDelivery
INNER JOIN CRMS4_IU_I_PRM AS Premise ON /* join condition not captured in parsed metadata */
INNER JOIN CRMS4_IU_I_CON AS ConnectionObject ON /* join condition not captured in parsed metadata */
;