I_CollCustDsputCoCodeAssgmt

DDL: I_COLLCUSTDSPUTCOCODEASSGMT Type: view COMPOSITE

Customers Company Code Assignment

I_CollCustDsputCoCodeAssgmt is a Composite CDS View that provides data about "Customers Company Code Assignment" in SAP S/4HANA. It reads from 3 data sources (I_CollsSgmtCompanyCodeAssgmt, I_CustomerCompany, I_DsputCaseCompanyCodeDfltVal) and exposes 8 fields with key fields Customer, CollectionSegment, CompanyCode. It has 4 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_CollsSgmtCompanyCodeAssgmt I_CollsSgmtCompanyCodeAssgmt inner
I_CustomerCompany I_CustomerCompany inner
I_DsputCaseCompanyCodeDfltVal I_DsputCaseCompanyCodeDfltVal inner

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_CollectionSegment _CollectionSegment $projection.CollectionSegment = _CollectionSegment.CollectionSegment

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ICLSCSTDSPCMPCD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Customers Company Code Assignment view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey CompanyCode view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Customer P_CollsAccountCollsSegment Customer Sold-to Party
KEY CollectionSegment P_CollsAccountCollsSegment CollectionSegment Segment
KEY CompanyCode I_DsputCaseCompanyCodeDfltVal CompanyCode Receiver Company Code
BusinessPartner P_CollsAccountCollsSegment BusinessPartner Issuing Authority
_Customer _Customer
_CompanyCode _CompanyCode
_CollectionSegment _CollectionSegment
_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_CollCustDsputCoCodeAssgmt.
-- 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.

CREATE VIEW I_CollCustDsputCoCodeAssgmt AS
SELECT
  P_CollsAccountCollsSegment.Customer AS Customer,
  P_CollsAccountCollsSegment.CollectionSegment AS CollectionSegment,
  I_DsputCaseCompanyCodeDfltVal.CompanyCode AS CompanyCode,
  P_CollsAccountCollsSegment.BusinessPartner AS BusinessPartner
INNER JOIN I_CollsSgmtCompanyCodeAssgmt ON /* join condition not captured in parsed metadata */
INNER JOIN I_CustomerCompany ON /* join condition not captured in parsed metadata */
INNER JOIN I_DsputCaseCompanyCodeDfltVal ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_CollectionSegment AS _CollectionSegment ON CollectionSegment = _CollectionSegment.CollectionSegment  -- association [0..1]
;