I_BPCustDeptAddrDepdntInfoTP

DDL: I_BPCUSTDEPTADDRDEPDNTINFOTP SQL: ICUSDEPADDEPTP Type: view TRANSACTIONAL

TP view for CustDep AddrDepInfo

I_BPCustDeptAddrDepdntInfoTP is a Transactional CDS View that provides data about "TP view for CustDep AddrDepInfo" in SAP S/4HANA. It reads from 1 data source (I_CustDepartmentAddrDepdntInfo) and exposes 16 fields with key fields Customer, AddressID, BusinessPartner, CustomerDepartment. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustDepartmentAddrDepdntInfo BPCustDeptAddrDepdntInfoTP from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartnerTP _BusinessPartner $projection.businesspartner = _BusinessPartner.BusinessPartner

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ICUSDEPADDEPTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeDraftPersistence IBPADDRDEP_D view
ObjectModel.writeEnabled true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label TP view for CustDep AddrDepInfo view
ObjectModel.draftEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY Customer Customer Sold-to Party
KEY AddressID AddressID Ship-to address
KEY BusinessPartner
KEY CustomerDepartment CustomerDepartment Department
AddressIDForEdit AddressID Ship-to address
CustomerForEdit Customer Sold-to Party
CustomerDepartmentForEdit CustomerDepartment Department
ReceivingPoint ReceivingPoint Recv. Point
RetailLocationSellingAreaSize RetailLocationSellingAreaSize Sales area
RetailLocationSellingAreaUnit RetailLocationSellingAreaUnit Sales area unit
DepartmentLayout DepartmentLayout Layout
DepartmentLayoutAreaSchema DepartmentLayoutAreaSchema Area schema
BusinessPartnerForEdit
FormattedAddress
_Customer _Customer
_BusinessPartner _BusinessPartner

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 I_BPCustDeptAddrDepdntInfoTP.
-- 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: ICUSDEPADDEPTP

CREATE VIEW I_BPCustDeptAddrDepdntInfoTP AS
SELECT
  Customer,
  AddressID,
  _Customer._CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  CustomerDepartment,
  AddressID AS AddressIDForEdit,
  Customer AS CustomerForEdit,
  CustomerDepartment AS CustomerDepartmentForEdit,
  ReceivingPoint,
  RetailLocationSellingAreaSize,
  RetailLocationSellingAreaUnit,
  DepartmentLayout,
  DepartmentLayoutAreaSchema,
  _Customer._CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartnerForEdit,
  cast( ' ' as abap.sstring( 260 ) ) AS FormattedAddress
FROM I_CustDepartmentAddrDepdntInfo AS BPCustDeptAddrDepdntInfoTP
LEFT OUTER JOIN I_BusinessPartnerTP AS _BusinessPartner ON businesspartner = _BusinessPartner.BusinessPartner  -- association [1..1]
;