I_SupplierCompanyByPlant

DDL: I_SUPPLIERCOMPANYBYPLANT Type: view_entity COMPOSITE

Supplier Company by Plant

I_SupplierCompanyByPlant (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Supply Chain

I_SupplierCompanyByPlant is a Composite CDS View that provides data about "Supplier Company by Plant" in SAP S/4HANA. It reads from 3 data sources (I_SupplierCompany, I_Plant, I_Purreqvaluationarea) and exposes 7 fields with key fields Plant, Supplier.

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentMM-IM-GF
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageSupply Chain for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering the following business question:</p> <ul> <li><p>Which plant is assigned to which company code for a certain supplier?</p></li> </ul>

Documentation

Data Sources (3)

SourceAliasJoin Type
I_SupplierCompany I_SupplierCompany inner
I_Plant plant from
I_Purreqvaluationarea val inner

Annotations (9)

NameValueLevelField
EndUserText.label Supplier Company by Plant view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Plant I_Plant Plant Valuation Area
KEY Supplier I_SupplierCompany Supplier Account Number of Supplier
ValuationArea I_Purreqvaluationarea ValuationArea Valuation Area
CompanyCode I_Purreqvaluationarea CompanyCode Receiver Company Code
AuthorizationGroup I_SupplierCompany AuthorizationGroup Authorization Group
IsBusinessPurposeCompleted Business Purpose Completed Flag
_Supplier I_SupplierCompany _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 I_SupplierCompanyByPlant.
-- 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_SupplierCompanyByPlant AS
SELECT
  plant.Plant AS Plant,
  I_SupplierCompany.Supplier AS Supplier,
  val.ValuationArea AS ValuationArea,
  val.CompanyCode AS CompanyCode,
  I_SupplierCompany.AuthorizationGroup AS AuthorizationGroup,
  I_SupplierCompany._Supplier AS _Supplier
FROM I_Plant AS plant
INNER JOIN I_Purreqvaluationarea AS val ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupplierCompany ON /* join condition not captured in parsed metadata */
;