C_SupplierCompanyData

DDL: C_SUPPLIERCOMPANYDATA SQL: CSUPLRCOMPDATA Type: view CONSUMPTION Package: ODATA_MASTER_DATA_SUPPLIER_FS

Supplier Company Data

C_SupplierCompanyData is a Consumption CDS View that provides data about "Supplier Company Data" in SAP S/4HANA. It reads from 1 data source (I_SupplierCompany) and exposes 10 fields with key fields Supplier, CompanyCode. It has 2 associations to related views. It is exposed through 1 OData service (ASQL_F0354). Part of development package ODATA_MASTER_DATA_SUPPLIER_FS.

Data Sources (1)

SourceAliasJoin Type
I_SupplierCompany I_SupplierCompany from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_CountryText _CountryText $projection.country = _CountryText.Country
[0..*] I_PaymentBlockingReasonText _PaymentBlockingReasonText $projection.PaymentBlockingReason = _PaymentBlockingReasonText.PaymentBlockingReason

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CSUPLRCOMPDATA view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Supplier Company Data view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Company Code view
UI.headerInfo.typeNamePlural Company Codes view
UI.headerInfo.title.label Company Code view
UI.headerInfo.title.value CompanyCodeName view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F0354 ASQL_F0354 C2 NOT_RELEASED

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Supplier I_SupplierCompany Supplier Supplier
KEY CompanyCode I_SupplierCompany CompanyCode Receiver Company Code
AuthorizationGroup I_SupplierCompany AuthorizationGroup AuthorizGroup
CompanyCodeName
CityName
Country
PaymentBlockingReason I_SupplierCompany PaymentBlockingReason Pmnt block
_CountryText _CountryText
_PaymentBlockingReasonText _PaymentBlockingReasonText
_Supplier _Supplier

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_SupplierCompanyData.
-- 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: CSUPLRCOMPDATA

CREATE VIEW C_SupplierCompanyData AS
SELECT
  I_SupplierCompany.Supplier AS Supplier,
  I_SupplierCompany.CompanyCode AS CompanyCode,
  I_SupplierCompany.AuthorizationGroup AS AuthorizationGroup,
  I_SupplierCompany._CompanyCode.CompanyCodeName AS CompanyCodeName,
  I_SupplierCompany._CompanyCode.CityName AS CityName,
  I_SupplierCompany._CompanyCode.Country AS Country,
  I_SupplierCompany.PaymentBlockingReason AS PaymentBlockingReason
FROM I_SupplierCompany
LEFT OUTER JOIN I_CountryText AS _CountryText ON country = _CountryText.Country  -- association [0..*]
LEFT OUTER JOIN I_PaymentBlockingReasonText AS _PaymentBlockingReasonText ON PaymentBlockingReason = _PaymentBlockingReasonText.PaymentBlockingReason  -- association [0..*]
;