A_SchAgrmtPartner_2

DDL: A_SCHAGRMTPARTNER_2 Type: view_entity CONSUMPTION Package: ODATA_MM_PUR_SCHD_API

Scheduling Agreement Partner

A_SchAgrmtPartner_2 is a Consumption CDS View that provides data about "Scheduling Agreement Partner" in SAP S/4HANA. It reads from 1 data source (R_SchedgAgrmtPartnerTP) and exposes 20 fields with key fields SchedulingAgreement, SchedulingAgreementItem, PurchasingOrganization, SupplierSubrange, Plant. It is exposed through 1 OData service (API_SCHED_AGRMT_PROCESS_2). Part of development package ODATA_MM_PUR_SCHD_API.

Data Sources (1)

SourceAliasJoin Type
R_SchedgAgrmtPartnerTP R_SchedgAgrmtPartnerTP projection

Annotations (11)

NameValueLevelField
EndUserText.label Scheduling Agreement Partner view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
ObjectModel.modelingPattern #TRANSACTIONAL_INTERFACE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name SchedulingAgreementPartner_Type view

OData Services (1)

ServiceBindingVersionContractRelease
API_SCHED_AGRMT_PROCESS_2 API_SCHED_AGRMT_PROCESS_2 V4 C2 NOT_RELEASED

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY SchedulingAgreement SchedulingAgreement Scheduling Agreement
KEY SchedulingAgreementItem SchedulingAgreementItem Schedule Item Number
KEY PurchasingOrganization PurchasingOrganization Purchasing Organization
KEY SupplierSubrange SupplierSubrange Suppl. Subrange
KEY Plant Plant Valuation Area
KEY PartnerFunction PartnerFunction Partner Functn
KEY PartnerCounter PartnerCounter Partner counter
SchedgAgrmtPartner SchedgAgrmtPartner
SchedgAgrmtPartnerName SchedgAgrmtPartnerName
SchedgAgrmtType SchedgAgrmtType
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
Supplier Supplier Supplier
SupplierContact SupplierContact Contact Person
EmploymentInternalID EmploymentInternalID WorkForce Assgmt ID
PersonWorkAgreement PersonWorkAgreement Personnel No.
DefaultPartner DefaultPartner Default Partner
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingDocumentType PurchasingDocumentType RFQ Type
LastChangeDateTime LastChangeDateTime Timestamp

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 A_SchAgrmtPartner_2.
-- 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 A_SchAgrmtPartner_2 AS
SELECT
  SchedulingAgreement,
  SchedulingAgreementItem,
  PurchasingOrganization,
  SupplierSubrange,
  Plant,
  PartnerFunction,
  PartnerCounter,
  SchedgAgrmtPartner,
  SchedgAgrmtPartnerName,
  SchedgAgrmtType,
  CreatedByUser,
  CreationDate,
  Supplier,
  SupplierContact,
  EmploymentInternalID,
  PersonWorkAgreement,
  DefaultPartner,
  PurchasingGroup,
  PurchasingDocumentType,
  LastChangeDateTime
FROM R_SchedgAgrmtPartnerTP
;