P_SOURCESOFSUPPLY
Collection of all individual SOS records
P_SOURCESOFSUPPLY is a CDS View in S/4HANA. Collection of all individual SOS records. It contains 19 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_Sourceofsupplymanage | view | from | COMPOSITE | Manage Sources Of supply |
| P_SourcesOfSupplyTypeAgg | view | from | COMPOSITE | Aggregation of sources of supply on type level |
Fields (19)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | Material | Material | 1 |
| KEY | Plant | Plant | 1 |
| KEY | PurchasingOrganization | PurchasingOrganization | 1 |
| KEY | PurchasingSourceType | PurchasingSourceType | 1 |
| KEY | PurInfoRecordCat | PurchasingInfoRecordCategory | 1 |
| KEY | SourceDocument | SourceDocument | 1 |
| KEY | SourceDocumentItem | SourceDocumentItem | 1 |
| KEY | SourceListRecord | SourceListRecord | 1 |
| MaterialGroup | MaterialGroup | 1 | |
| MaterialName | MaterialName | 1 | |
| PurchasingDocumentCategory | PurchasingDocumentCategory | 1 | |
| PurchasingDocumentType | PurchasingDocumentType | 1 | |
| PurchasingGroup | PurchasingGroup | 1 | |
| QuotaInPercent | QuotaInPercent | 1 | |
| SourceOfSupplyIsBlocked | SourceOfSupplyIsBlocked | 1 | |
| SourceOfSupplyIsFixed | SourceOfSupplyIsFixed | 1 | |
| Supplier | Supplier | 1 | |
| ValidityEndDate | ValidityEndDate | 1 | |
| ValidityStartDate | ValidityStartDate | 1 |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Collection of all individual SOS records
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE P_SOURCESOFSUPPLY (
MATERIAL,
PLANT,
PURCHASINGORGANIZATION,
PURCHASINGSOURCETYPE,
PURINFORECORDCAT,
SOURCEDOCUMENT,
SOURCEDOCUMENTITEM,
SOURCELISTRECORD,
MATERIALGROUP,
MATERIALNAME,
PURCHASINGDOCUMENTCATEGORY,
PURCHASINGDOCUMENTTYPE,
PURCHASINGGROUP,
QUOTAINPERCENT,
SOURCEOFSUPPLYISBLOCKED,
SOURCEOFSUPPLYISFIXED,
SUPPLIER,
VALIDITYENDDATE,
VALIDITYSTARTDATE,
PRIMARY KEY (MATERIAL, PLANT, PURCHASINGORGANIZATION, PURCHASINGSOURCETYPE, PURINFORECORDCAT, SOURCEDOCUMENT, SOURCEDOCUMENTITEM, SOURCELISTRECORD)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- 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
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA