I_SchedulingAgreementStatus

DDL: I_SCHEDULINGAGREEMENTSTATUS SQL: IMMSASTATUS Type: view COMPOSITE Package: VDM_MM_PUR_SCHD

Status of a scheduling agreement

I_SchedulingAgreementStatus is a Composite CDS View that provides data about "Status of a scheduling agreement" in SAP S/4HANA. It reads from 6 data sources and exposes 5 fields with key field SchedulingAgreement. It has 1 association to related views. Part of development package VDM_MM_PUR_SCHD.

Data Sources (6)

SourceAliasJoin Type
P_SchedgAgrmtExpired exp_doc left_outer
I_Schedgagrmthdr header from
P_SchedgAgrmtStatusOMErr om_error left_outer
P_SchedgAgrmtStatusOMApoc om_new left_outer
P_PurchaseOrderStatusOMNast om_old left_outer
P_SchedgAgrmtStatusHist pos_ekbe left_outer

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PurchasingDocumentStatusText _StatusText $projection.SchedulingAgreementStatus = _StatusText.PurchasingDocumentStatus

Annotations (12)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IMMSASTATUS view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Status of a scheduling agreement view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.semanticKey SchedulingAgreement view
ObjectModel.representativeKey SchedulingAgreement view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SchedulingAgreement I_Schedgagrmthdr SchedulingAgreement Scheduling Agreement
PurchasingDocumentType PurchasingDocumentType RFQ Type
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
_StatusText _StatusText

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_SchedulingAgreementStatus.
-- 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: IMMSASTATUS

CREATE VIEW I_SchedulingAgreementStatus AS
SELECT
  header.SchedulingAgreement AS SchedulingAgreement,
  PurchasingDocumentType,
  PurchasingOrganization,
  PurchasingGroup
FROM I_Schedgagrmthdr AS header
LEFT OUTER JOIN P_SchedgAgrmtStatusHist AS pos_ekbe ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SchedgAgrmtStatusOMApoc AS om_new ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_PurchaseOrderStatusOMNast AS om_old ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SchedgAgrmtStatusOMErr AS om_error ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SchedgAgrmtExpired AS exp_doc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PurchasingDocumentStatusText AS _StatusText ON SchedulingAgreementStatus = _StatusText.PurchasingDocumentStatus  -- association [0..*]
;