I_Supplier

DDL: I_SUPPLIER SQL: I_SUPPLIER_CDS Type: view BASIC

Supplier

I_Supplier (Basic)

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

Supplier · Database & Data Management

I_Supplier is a Basic CDS View (Dimension) that provides data about "Supplier" in SAP S/4HANA. It reads from 1 data source (lfa1). It has 25 associations to related views.

SAP Help Documentation

CategoryCDS Views for Business Partner
Data CategoryDimension
StatusReleased
Purpose
This CDS view retrieves supplier general data.

Structure
Object types This view relates to the following SAP object types: Supplier Business Partner. Main CDS parameters and filters Measures and attributes Some important measures and attributes are: Supplier Supplier Account Group Supplier Name Supplier Full Name Created By User Creation Date Address Country

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentLO-MD-BP
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Analytical Dimension, Data Source for Data Extraction
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves supplier general data.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
lfa1 lfa1 from

Associations (25)

CardinalityTargetAliasCondition
[1..1] I_SupplierToBusinessPartner _SupplierToBusinessPartner $projection.Supplier = _SupplierToBusinessPartner.Supplier
[0..1] bp1020 _FiscalData lfa1.lifnr = _FiscalData.partnr
[0..*] I_SupplierCompany _SupplierCompany $projection.Supplier = _SupplierCompany.Supplier
[0..*] I_SupplierPurchasingOrg _SupplierPurchasingOrg $projection.Supplier = _SupplierPurchasingOrg.Supplier
[0..*] I_SupplierBankDetails _SupplierBankDetails $projection.Supplier = _SupplierBankDetails.Supplier
[0..1] I_SupplierAccountGroup _SupplierAccountGroup $projection.SupplierAccountGroup = _SupplierAccountGroup.SupplierAccountGroup
[0..*] I_Industries _Industry $projection.Industry = _Industry.IndustrySector
[0..1] I_Customer _CorrespondingCustomer $projection.Customer = _CorrespondingCustomer.Customer
[0..*] I_SupplierAccountGroupText _SupplierAccountGroupText $projection.SupplierAccountGroup = _SupplierAccountGroupText.SupplierAccountGroup
[0..*] I_SupplierIndustryText _SupplierIndustryText $projection.Industry = _SupplierIndustryText.SupplierIndustry
[0..1] I_ProcurementBlock _ProcurementBlock $projection.SupplierProcurementBlock = _ProcurementBlock.ProcurementBlock
[0..1] I_QualityManagementSystem _QualityManagementSystem $projection.SuplrQualityManagementSystem = _QualityManagementSystem.QualityManagementSystem
[1..1] I_Address _StandardAddress $projection.AddressID = _StandardAddress.AddressID
[0..1] E_Supplier _SupplierExt $projection.Supplier = _SupplierExt.Supplier
[0..1] I_OrganizationAddress _AddressDefaultRepresentation $projection.AddressID = _AddressDefaultRepresentation.AddressID and _AddressDefaultRepresentation.AddressRepresentationCode is initial
[0..1] I_Address_2 _AddressRepresentation $projection.AddressID = _AddressRepresentation.AddressID and _AddressRepresentation.AddressRepresentationCode is initial and _AddressRepresentation.AddressPersonID is initial
[0..*] I_AddressEmailAddress_2 _EmailAddress _EmailAddress.AddressID = $projection.AddressID and _EmailAddress.AddressPersonID is initial
[0..1] I_AddrCurDefaultEmailAddress _CurrentDfltEmailAddress _CurrentDfltEmailAddress.AddressID = $projection.AddressID and _CurrentDfltEmailAddress.AddressPersonID is initial
[0..*] I_AddressPhoneNumber_2 _PhoneNumber _PhoneNumber.AddressID = $projection.AddressID and _PhoneNumber.AddressPersonID is initial
[0..1] I_AddrCurDfltLandlinePhoneNmbr _CurrentDfltLandlinePhoneNmbr _CurrentDfltLandlinePhoneNmbr.AddressID = $projection.AddressID and _CurrentDfltLandlinePhoneNmbr.AddressPersonID is initial
[0..1] I_AddrCurDfltMobilePhoneNumber _CurrentDfltMobilePhoneNumber _CurrentDfltMobilePhoneNumber.AddressID = $projection.AddressID and _CurrentDfltMobilePhoneNumber.AddressPersonID is initial
[0..*] I_AddressFaxNumber_2 _FaxNumber _FaxNumber.AddressID = $projection.AddressID and _FaxNumber.AddressPersonID is initial
[0..1] I_AddrCurDefaultFaxNumber _CurrentDfltFaxNumber _CurrentDfltFaxNumber.AddressID = $projection.AddressID and _CurrentDfltFaxNumber.AddressPersonID is initial
[0..*] I_AddressURI _UniformResourceIdentifier _UniformResourceIdentifier.AddressID = $projection.AddressID and _UniformResourceIdentifier.AddressPersonID is initial
[0..1] I_AddressMainWebsiteURL _MainWebsiteURL _MainWebsiteURL.AddressID = $projection.AddressID and _MainWebsiteURL.AddressPersonID is initial

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName I_SUPPLIER_CDS view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.personalData.blockingIndicator IsBusinessPurposeCompleted view
AccessControl.authorizationCheck #CHECK view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Supplier view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey Supplier view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
ObjectModel.sapObjectNodeType.name Supplier view

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_Supplier.
-- 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: I_SUPPLIER_CDS

CREATE VIEW I_Supplier AS
SELECT *  -- field list not available in parsed metadata
FROM lfa1
LEFT OUTER JOIN I_SupplierToBusinessPartner AS _SupplierToBusinessPartner ON Supplier = _SupplierToBusinessPartner.Supplier  -- association [1..1]
LEFT OUTER JOIN bp1020 AS _FiscalData ON lfa1.lifnr = _FiscalData.partnr  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON Supplier = _SupplierCompany.Supplier  -- association [0..*]
LEFT OUTER JOIN I_SupplierPurchasingOrg AS _SupplierPurchasingOrg ON Supplier = _SupplierPurchasingOrg.Supplier  -- association [0..*]
LEFT OUTER JOIN I_SupplierBankDetails AS _SupplierBankDetails ON Supplier = _SupplierBankDetails.Supplier  -- association [0..*]
LEFT OUTER JOIN I_SupplierAccountGroup AS _SupplierAccountGroup ON SupplierAccountGroup = _SupplierAccountGroup.SupplierAccountGroup  -- association [0..1]
LEFT OUTER JOIN I_Industries AS _Industry ON Industry = _Industry.IndustrySector  -- association [0..*]
LEFT OUTER JOIN I_Customer AS _CorrespondingCustomer ON Customer = _CorrespondingCustomer.Customer  -- association [0..1]
LEFT OUTER JOIN I_SupplierAccountGroupText AS _SupplierAccountGroupText ON SupplierAccountGroup = _SupplierAccountGroupText.SupplierAccountGroup  -- association [0..*]
LEFT OUTER JOIN I_SupplierIndustryText AS _SupplierIndustryText ON Industry = _SupplierIndustryText.SupplierIndustry  -- association [0..*]
LEFT OUTER JOIN I_ProcurementBlock AS _ProcurementBlock ON SupplierProcurementBlock = _ProcurementBlock.ProcurementBlock  -- association [0..1]
LEFT OUTER JOIN I_QualityManagementSystem AS _QualityManagementSystem ON SuplrQualityManagementSystem = _QualityManagementSystem.QualityManagementSystem  -- association [0..1]
LEFT OUTER JOIN I_Address AS _StandardAddress ON AddressID = _StandardAddress.AddressID  -- association [1..1]
LEFT OUTER JOIN E_Supplier AS _SupplierExt ON Supplier = _SupplierExt.Supplier  -- association [0..1]
LEFT OUTER JOIN I_OrganizationAddress AS _AddressDefaultRepresentation ON AddressID = _AddressDefaultRepresentation.AddressID AND _AddressDefaultRepresentation.AddressRepresentationCode is initial  -- association [0..1]
LEFT OUTER JOIN I_Address_2 AS _AddressRepresentation ON AddressID = _AddressRepresentation.AddressID AND _AddressRepresentation.AddressRepresentationCode is initial AND _AddressRepresentation.AddressPersonID is initial  -- association [0..1]
LEFT OUTER JOIN I_AddressEmailAddress_2 AS _EmailAddress ON _EmailAddress.AddressID = AddressID AND _EmailAddress.AddressPersonID is initial  -- association [0..*]
LEFT OUTER JOIN I_AddrCurDefaultEmailAddress AS _CurrentDfltEmailAddress ON _CurrentDfltEmailAddress.AddressID = AddressID AND _CurrentDfltEmailAddress.AddressPersonID is initial  -- association [0..1]
LEFT OUTER JOIN I_AddressPhoneNumber_2 AS _PhoneNumber ON _PhoneNumber.AddressID = AddressID AND _PhoneNumber.AddressPersonID is initial  -- association [0..*]
LEFT OUTER JOIN I_AddrCurDfltLandlinePhoneNmbr AS _CurrentDfltLandlinePhoneNmbr ON _CurrentDfltLandlinePhoneNmbr.AddressID = AddressID AND _CurrentDfltLandlinePhoneNmbr.AddressPersonID is initial  -- association [0..1]
LEFT OUTER JOIN I_AddrCurDfltMobilePhoneNumber AS _CurrentDfltMobilePhoneNumber ON _CurrentDfltMobilePhoneNumber.AddressID = AddressID AND _CurrentDfltMobilePhoneNumber.AddressPersonID is initial  -- association [0..1]
LEFT OUTER JOIN I_AddressFaxNumber_2 AS _FaxNumber ON _FaxNumber.AddressID = AddressID AND _FaxNumber.AddressPersonID is initial  -- association [0..*]
LEFT OUTER JOIN I_AddrCurDefaultFaxNumber AS _CurrentDfltFaxNumber ON _CurrentDfltFaxNumber.AddressID = AddressID AND _CurrentDfltFaxNumber.AddressPersonID is initial  -- association [0..1]
LEFT OUTER JOIN I_AddressURI AS _UniformResourceIdentifier ON _UniformResourceIdentifier.AddressID = AddressID AND _UniformResourceIdentifier.AddressPersonID is initial  -- association [0..*]
LEFT OUTER JOIN I_AddressMainWebsiteURL AS _MainWebsiteURL ON _MainWebsiteURL.AddressID = AddressID AND _MainWebsiteURL.AddressPersonID is initial  -- association [0..1]
;