I_SchedgAgrmtPartner
Scheduling Agreement Partners
I_SchedgAgrmtPartner is a Composite CDS View that provides data about "Scheduling Agreement Partners" in SAP S/4HANA. It reads from 2 data sources (I_Schedgagrmthdr, I_PurgDocumentPartnerEnh) and exposes 31 fields with key fields SchedulingAgreement, SchedulingAgreementItem, PurchasingOrganization, SupplierSubrange, Plant. It has 2 associations to related views. It is exposed through 1 OData service (ASQL_F2668). Part of development package VDM_MM_PUR_SCHD.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Schedgagrmthdr | I_Schedgagrmthdr | inner |
| I_PurgDocumentPartnerEnh | Partner | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Schedgagrmthdr | _Schedgagrmthdr | _Schedgagrmthdr.SchedulingAgreement = $projection.SchedulingAgreement |
| [0..1] | I_SchedgAgrmtItm | _SchedgAgrmtItm | _SchedgAgrmtItm.SchedulingAgreement = $projection.SchedulingAgreement and _SchedgAgrmtItm.SchedulingAgreementItem = $projection.SchedulingAgreementItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISCHDGAGRMTPRTNR | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Scheduling Agreement Partners | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2668 | ASQL_F2668 | C2 | NOT_RELEASED |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SchedulingAgreement | I_PurgDocumentPartnerEnh | PurchasingDocument | Purchasing Document |
| KEY | SchedulingAgreementItem | I_PurgDocumentPartnerEnh | PurchasingDocumentItem | Purchasing Doc. Item |
| KEY | PurchasingOrganization | I_PurgDocumentPartnerEnh | PurchasingOrganization | Purchasing Organization |
| KEY | SupplierSubrange | I_PurgDocumentPartnerEnh | SupplierSubrange | Suppl. Subrange |
| KEY | Plant | I_PurgDocumentPartnerEnh | Plant | Valuation Area |
| KEY | PartnerFunction | I_PurgDocumentPartnerEnh | PartnerFunction | Partner Functn |
| KEY | PartnerCounter | I_PurgDocumentPartnerEnh | PartnerCounter | Partner counter |
| SchedgAgrmtPartner | I_PurgDocumentPartnerEnh | PurchasingDocumentPartner | Partner | |
| SchedgAgrmtPartnerName | I_PurgDocumentPartnerEnh | PurchasingDocumentPartnerName | Partner Name | |
| SchedgAgrmtCategory | I_PurgDocumentPartnerEnh | PurchasingDocumentCategory | Doc. Category | |
| SchedgAgrmtType | I_PurgDocumentPartnerEnh | PurchasingDocumentType | RFQ Type | |
| CreatedByUser | I_PurgDocumentPartnerEnh | CreatedByUser | User Name | |
| CreationDate | I_PurgDocumentPartnerEnh | CreationDate | Time Stamp | |
| Supplier | I_PurgDocumentPartnerEnh | Supplier | Supplier | |
| SupplierContact | I_PurgDocumentPartnerEnh | SupplierContact | Contact Person | |
| EmploymentInternalID | I_PurgDocumentPartnerEnh | EmploymentInternalID | WorkForce Assgmt ID | |
| PersonWorkAgreement | I_PurgDocumentPartnerEnh | PersonWorkAgreement | Personnel No. | |
| DefaultPartner | I_PurgDocumentPartnerEnh | DefaultPartner | Default Partner | |
| _PartnerFunction | I_PurgDocumentPartnerEnh | _PartnerFunction | ||
| _PartnerFunctionText | I_PurgDocumentPartnerEnh | _PartnerFunctionText | ||
| _PersonWorkAgreement | I_PurgDocumentPartnerEnh | _PersonWorkAgreement | ||
| _Plant | I_PurgDocumentPartnerEnh | _Plant | ||
| _PurchasingDocument | I_PurgDocumentPartnerEnh | _PurchasingDocument | ||
| _PurchasingDocumentItem | I_PurgDocumentPartnerEnh | _PurchasingDocumentItem | ||
| _PurchasingOrganization | I_PurgDocumentPartnerEnh | _PurchasingOrganization | ||
| _Supplier | I_PurgDocumentPartnerEnh | _Supplier | ||
| _SupplierContact | I_PurgDocumentPartnerEnh | _SupplierContact | ||
| PurchasingGroup | _Schedgagrmthdr | PurchasingGroup | Purchasing Group | |
| PurchasingDocumentType | _Schedgagrmthdr | PurchasingDocumentType | RFQ Type | |
| _Schedgagrmthdr | _Schedgagrmthdr | |||
| _SchedgAgrmtItm | _SchedgAgrmtItm |
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_SchedgAgrmtPartner.
-- 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: ISCHDGAGRMTPRTNR
CREATE VIEW I_SchedgAgrmtPartner AS
SELECT
Partner.PurchasingDocument AS SchedulingAgreement,
Partner.PurchasingDocumentItem AS SchedulingAgreementItem,
Partner.PurchasingOrganization AS PurchasingOrganization,
Partner.SupplierSubrange AS SupplierSubrange,
Partner.Plant AS Plant,
Partner.PartnerFunction AS PartnerFunction,
Partner.PartnerCounter AS PartnerCounter,
Partner.PurchasingDocumentPartner AS SchedgAgrmtPartner,
Partner.PurchasingDocumentPartnerName AS SchedgAgrmtPartnerName,
Partner.PurchasingDocumentCategory AS SchedgAgrmtCategory,
Partner.PurchasingDocumentType AS SchedgAgrmtType,
Partner.CreatedByUser AS CreatedByUser,
Partner.CreationDate AS CreationDate,
Partner.Supplier AS Supplier,
Partner.SupplierContact AS SupplierContact,
Partner.EmploymentInternalID AS EmploymentInternalID,
Partner.PersonWorkAgreement AS PersonWorkAgreement,
Partner.DefaultPartner AS DefaultPartner,
Partner._PartnerFunction AS _PartnerFunction,
Partner._PartnerFunctionText AS _PartnerFunctionText,
Partner._PersonWorkAgreement AS _PersonWorkAgreement,
Partner._Plant AS _Plant,
Partner._PurchasingDocument AS _PurchasingDocument,
Partner._PurchasingDocumentItem AS _PurchasingDocumentItem,
Partner._PurchasingOrganization AS _PurchasingOrganization,
Partner._Supplier AS _Supplier,
Partner._SupplierContact AS _SupplierContact,
_Schedgagrmthdr.PurchasingGroup AS PurchasingGroup,
_Schedgagrmthdr.PurchasingDocumentType AS PurchasingDocumentType
FROM I_PurgDocumentPartnerEnh AS Partner
INNER JOIN I_Schedgagrmthdr ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Schedgagrmthdr AS _Schedgagrmthdr ON _Schedgagrmthdr.SchedulingAgreement = SchedulingAgreement -- association [1..1]
LEFT OUTER JOIN I_SchedgAgrmtItm AS _SchedgAgrmtItm ON _SchedgAgrmtItm.SchedulingAgreement = SchedulingAgreement AND _SchedgAgrmtItm.SchedulingAgreementItem = SchedulingAgreementItem -- 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