C_CollCustDsputCoCodeAssgmt

DDL: C_COLLCUSTDSPUTCOCODEASSGMT Type: view_entity CONSUMPTION

Company Code assignment

C_CollCustDsputCoCodeAssgmt is a Consumption CDS View that provides data about "Company Code assignment" in SAP S/4HANA. It reads from 1 data source (I_CollCustDsputCoCodeAssgmt) and exposes 8 fields with key fields Customer, CollectionSegment, CompanyCode. It has 1 association to related views. It is exposed through 1 OData service (UI_PROCESSRECEIVABLES_MANAGE).

Data Sources (1)

SourceAliasJoin Type
I_CollCustDsputCoCodeAssgmt I_CollCustDsputCoCodeAssgmt projection

Associations (1)

CardinalityTargetAliasCondition
[0..1] C_CollsMgmtCompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (8)

NameValueLevelField
EndUserText.label Company Code assignment view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey CompanyCode view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PROCESSRECEIVABLES_MANAGE UI_PROCESSRECEIVABLES_MAN V2 C1 NOT_TO_BE_RELEASED_STABLE

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Customer Customer Sold-to Party
KEY CollectionSegment CollectionSegment Segment
KEY CompanyCode CompanyCode Receiver Company Code
BusinessPartner BusinessPartner Issuing Authority
_BusinessPartner _BusinessPartner
_CollectionSegment _CollectionSegment
_CompanyCode _CompanyCode
_Customer _Customer

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 C_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 C_CollCustDsputCoCodeAssgmt AS
SELECT
  Customer,
  CollectionSegment,
  CompanyCode,
  BusinessPartner
FROM I_CollCustDsputCoCodeAssgmt
LEFT OUTER JOIN C_CollsMgmtCompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
;