I_PrecedingConditionDocumentVH

DDL: I_PRECEDINGCONDITIONDOCUMENTVH Type: view_entity COMPOSITE Package: WCB_CC_PERS

Predecessor

I_PrecedingConditionDocumentVH (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Sales

I_PrecedingConditionDocumentVH is a Composite CDS View that provides data about "Predecessor" in SAP S/4HANA. It is exposed through 12 OData services (ASQL_F3480, ASQL_F3594A, ASQL_F5413, ...). Part of development package WCB_CC_PERS.

SAP Help Documentation

CategoryCondition Contract
Purpose
This CDS view exposes the values of the predecessors of documents such as condition contracts. This CDS view provides the data to answer the following business questions: Which predecessors exist? What is the condition contract type of the predecessor? What is the validity period of the predecessor? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRU_KNA1 (Authorization Group for Customers) BEGRU_LFA1 (Authorization Group for Suppliers) ORG_AREA (Organizational Area) CONTR_TYP (Condition Contract Type) BEGRU_BUPA_GRP (Authorization Group for Business Partners) BUKRS_KOSTL (Company Code/Cost Center) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description PrecedingConditionDocument Predecessor CndnContrType Condition Contract Type CndnContrTypeDesc Condition Contract Type Description ConditionDocumentValidFromDate Valid From ConditionDocumentValidToDate Valid To

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessSales
Application ComponentLO-GT-CHB
CapabilitiesData Source for Search,Data Provider for Value Help
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageSales for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view exposes the values of the predecessors of documents such as condition contracts.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li> <p>Which predecessors exist?</p> </li> <li> <p>What is the condition contract type of the predecessor?</p> </li> <li> <p>What is the validity period of the predecessor?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Annotations (15)

NameValueLevelField
EndUserText.label Predecessor view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey PrecedingConditionDocument view
ObjectModel.modelingPattern #VALUE_HELP_PROVIDER view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.technicalName IPREDCDVH view
Search.searchable true view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions false view

OData Services (12)

ServiceBindingVersionContractRelease
ASQL_F3480 ASQL_F3480 C2 NOT_RELEASED
ASQL_F3594A ASQL_F3594A C2 NOT_RELEASED
ASQL_F5413 ASQL_F5413 C2 NOT_RELEASED
ASQL_F5414 ASQL_F5414 C2 NOT_RELEASED
ASQL_F5677 ASQL_F5677 C2 NOT_RELEASED
ASQL_F5989 ASQL_F5989 C2 NOT_RELEASED
ASQL_F6739 ASQL_F6739 C2 NOT_RELEASED
ASQL_F6740 ASQL_F6740 C2 NOT_RELEASED
ASQL_F6883 ASQL_F6883 C2 NOT_RELEASED
ASQL_F6884 ASQL_F6884 C2 NOT_RELEASED
ASQL_F7263 ASQL_F7263 C2 NOT_RELEASED
ASQL_F7264 ASQL_F7264 C2 NOT_RELEASED

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY PrecedingConditionDocument PrecedingConditionDocument Predecessor Condition Contract
CndnContrType _PrecedingConditionDocument CndnContrType Condition Contract Type
CndnContrTypeDesc Condition Contract Type Description
ConditionDocumentValidFromDate _PrecedingConditionDocument ConditionDocumentValidFromDate Valid From
ConditionDocumentValidToDate _PrecedingConditionDocument ConditionDocumentValidToDate Valid To
Customer _PrecedingConditionDocument Customer Customer as Partner of a Condition Contract
PriorSupplier _PrecedingConditionDocument PriorSupplier Prior Supplier
Supplier _PrecedingConditionDocument Supplier Supplier as Partner of a Condition Contract
PersonWorkAgreement _PrecedingConditionDocument PersonWorkAgreement Worker as Partner of a Condition Contract
DistributionChannel _PrecedingConditionDocument DistributionChannel Distribution Channel
Division _PrecedingConditionDocument Division Internal Division ID
PurchasingGroup _PrecedingConditionDocument PurchasingGroup Purchasing Group
PurchasingOrganization _PrecedingConditionDocument PurchasingOrganization Purchasing Organization
SalesOrganization _PrecedingConditionDocument SalesOrganization Sales Organization
CompanyCode _PrecedingConditionDocument CompanyCode Receiver Company Code
CndnDocWorkerCostCenter _PrecedingConditionDocument CndnDocWorkerCostCenter Worker Cost Center
_Customer _PrecedingConditionDocument _Customer
_PriorSupplier _PrecedingConditionDocument _PriorSupplier
_Supplier _PrecedingConditionDocument _Supplier
_PersonWorkAgreement _PrecedingConditionDocument _PersonWorkAgreement

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_PrecedingConditionDocumentVH.
-- 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 I_PrecedingConditionDocumentVH AS
SELECT
  PrecedingConditionDocument,
  _PrecedingConditionDocument.CndnContrType AS CndnContrType,
  _PrecedingConditionDocument._CndnContrType._Text[1: Language = $session.system_language ].CndnContrTypeDesc AS CndnContrTypeDesc,
  _PrecedingConditionDocument.ConditionDocumentValidFromDate AS ConditionDocumentValidFromDate,
  _PrecedingConditionDocument.ConditionDocumentValidToDate AS ConditionDocumentValidToDate,
  _PrecedingConditionDocument.Customer AS Customer,
  _PrecedingConditionDocument.PriorSupplier AS PriorSupplier,
  _PrecedingConditionDocument.Supplier AS Supplier,
  _PrecedingConditionDocument.PersonWorkAgreement AS PersonWorkAgreement,
  _PrecedingConditionDocument.DistributionChannel AS DistributionChannel,
  _PrecedingConditionDocument.Division AS Division,
  _PrecedingConditionDocument.PurchasingGroup AS PurchasingGroup,
  _PrecedingConditionDocument.PurchasingOrganization AS PurchasingOrganization,
  _PrecedingConditionDocument.SalesOrganization AS SalesOrganization,
  _PrecedingConditionDocument.CompanyCode AS CompanyCode,
  _PrecedingConditionDocument.CndnDocWorkerCostCenter AS CndnDocWorkerCostCenter,
  _PrecedingConditionDocument._Customer AS _Customer,
  _PrecedingConditionDocument._PriorSupplier AS _PriorSupplier,
  _PrecedingConditionDocument._Supplier AS _Supplier,
  _PrecedingConditionDocument._PersonWorkAgreement AS _PersonWorkAgreement
;