C_Supplierpurchasingorg
SupplierPurchasingOrganization
C_Supplierpurchasingorg is a Consumption CDS View that provides data about "SupplierPurchasingOrganization" in SAP S/4HANA. It reads from 1 data source (I_SupplierPurchasingOrg) and exposes 25 fields with key fields Supplier, PurchasingOrganization. It has 4 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)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplierPurchasingOrg | I_SupplierPurchasingOrg | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_PurchasingOrganization | _PurgOrganization | $projection.PurchasingOrganization = _PurgOrganization.PurchasingOrganization |
| [0..1] | C_IncotermsClassfctnTextVHTemp | _IncotermsClassfctnText | $projection.IncotermsClassification = _IncotermsClassfctnText.IncotermsClassification and _IncotermsClassfctnText.Language = $session.system_language |
| [0..1] | C_PaymentTermsTextVHTemp | _PaymentTermsDescription | $projection.PaymentTerms = _PaymentTermsDescription.PaymentTerms and _PaymentTermsDescription.Language = $session.system_language |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSUPPLPURCH | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | SupplierPurchasingOrganization | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | PurchasingOrganization | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Purchasing Organization | view | |
| UI.headerInfo.typeNamePlural | Purchasing Organizations | view | |
| UI.headerInfo.title.label | Purchasing Organization | view | |
| UI.headerInfo.title.value | PurchasingOrganizationName | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F0354 | ASQL_F0354 | C2 | NOT_RELEASED |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | Supplier | Supplier | |
| KEY | PurchasingOrganization | PurchasingOrganization | Purchasing Organization | |
| PurchasingOrganizationName | _PurgOrganization | PurchasingOrganizationName | Purch. Org. Name | |
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| MaterialPlannedDeliveryDurn | MaterialPlannedDeliveryDurn | Pl. Deliv. Time | ||
| PurchasingIsBlockedForSupplier | PurchasingIsBlockedForSupplier | Pur. block POrg | ||
| SupplierRespSalesPersonName | SupplierRespSalesPersonName | Salesperson | ||
| SupplierPhoneNumber | SupplierPhoneNumber | Telephone | ||
| PurchaseOrderCurrency | PurchaseOrderCurrency | Order currency | ||
| MinimumOrderAmount | MinimumOrderAmount | Minimum value | ||
| CalculationSchemaGroupCode | CalculationSchemaGroupCode | Schema Grp Supp | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| PaymentTermsDescription | _PaymentTermsDescription | PaymentTermsName | Description | |
| PricingDateControl | PricingDateControl | Pr. Date Cat. | ||
| SupplierABCClassificationCode | SupplierABCClassificationCode | ABC indicator | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| PurOrdAutoGenerationIsAllowed | PurOrdAutoGenerationIsAllowed | Automatic PO | ||
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | GR-Based IV | ||
| SupplierConfirmationControlKey | SupplierConfirmationControlKey | Conf. Control | ||
| IsOrderAcknRqd | IsOrderAcknRqd | Acknowl. Reqd. | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsClassificationName | _IncotermsClassfctnText | IncotermsClassificationName | Incoterms Classification Description | |
| _Supplier | _Supplier | |||
| _PurgOrganization | _PurgOrganization | |||
| _IncotermsClassfctnText | _IncotermsClassfctnText |
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_Supplierpurchasingorg.
-- 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: CSUPPLPURCH
CREATE VIEW C_Supplierpurchasingorg AS
SELECT
Supplier,
PurchasingOrganization,
_PurgOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
PurchasingGroup,
MaterialPlannedDeliveryDurn,
PurchasingIsBlockedForSupplier,
SupplierRespSalesPersonName,
SupplierPhoneNumber,
PurchaseOrderCurrency,
MinimumOrderAmount,
CalculationSchemaGroupCode,
PaymentTerms,
_PaymentTermsDescription.PaymentTermsName AS PaymentTermsDescription,
PricingDateControl,
SupplierABCClassificationCode,
ShippingCondition,
PurOrdAutoGenerationIsAllowed,
InvoiceIsGoodsReceiptBased,
SupplierConfirmationControlKey,
IsOrderAcknRqd,
IncotermsClassification,
_IncotermsClassfctnText.IncotermsClassificationName AS IncotermsClassificationName
FROM I_SupplierPurchasingOrg
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurgOrganization ON PurchasingOrganization = _PurgOrganization.PurchasingOrganization -- association [0..1]
LEFT OUTER JOIN C_IncotermsClassfctnTextVHTemp AS _IncotermsClassfctnText ON IncotermsClassification = _IncotermsClassfctnText.IncotermsClassification AND _IncotermsClassfctnText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_PaymentTermsTextVHTemp AS _PaymentTermsDescription ON PaymentTerms = _PaymentTermsDescription.PaymentTerms AND _PaymentTermsDescription.Language = $session.system_language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA