C_SchedAgrmtMassUpdtValdtySts

DDL: C_SCHEDAGRMTMASSUPDTVALDTYSTS SQL: CVALSTATUS Type: view CONSUMPTION

Validity Status

C_SchedAgrmtMassUpdtValdtySts is a Consumption CDS View that provides data about "Validity Status" in SAP S/4HANA. It reads from 1 data source (P_SchedulingAgmtValidity) and exposes 8 fields with key field SchedulingAgreement.

Data Sources (1)

SourceAliasJoin Type
P_SchedulingAgmtValidity SchedStatus from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CVALSTATUS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Validity Status view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SchedulingAgreement P_SchedulingAgmtValidity SchedulingAgreement Scheduling Agreement
PurchaseContractValidityStatus P_SchedulingAgmtValidity PurchaseContractValidityStatus Validity Status
ValidityEndDate P_SchedulingAgmtValidity ValidityEndDate ValidTo
ValidityStartDate P_SchedulingAgmtValidity ValidityStartDate Validity Start Date
PurContrValidityStatusName
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingDocumentType PurchasingDocumentType RFQ Type

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_SchedAgrmtMassUpdtValdtySts.
-- 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: CVALSTATUS

CREATE VIEW C_SchedAgrmtMassUpdtValdtySts AS
SELECT
  SchedStatus.SchedulingAgreement AS SchedulingAgreement,
  SchedStatus.PurchaseContractValidityStatus AS PurchaseContractValidityStatus,
  SchedStatus.ValidityEndDate AS ValidityEndDate,
  SchedStatus.ValidityStartDate AS ValidityStartDate,
  _ValidityText[1: Language = $session.system_language].PurContrValidityStatusName AS PurContrValidityStatusName,
  PurchasingGroup,
  PurchasingOrganization,
  PurchasingDocumentType
FROM P_SchedulingAgmtValidity AS SchedStatus
;