I_PrecedingConditionDocumentVH
Predecessor
I_PrecedingConditionDocumentVH (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private 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.
SAP Help Documentation
| Category | Condition 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 the following authorization objects assigned: F_KNA1_BED (Customer: Account Authorization) F_LFA1_BEK (Vendor: Account Authorization) W_COCO (Authorizations for Condition Contract) W_COCO_ORG (Authorizations for Condition Contract Organizational Data)
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
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 the following authorization objects assigned: F_KNA1_BED (Customer: Account Authorization) F_LFA1_BEK (Vendor: Account Authorization) W_COCO (Authorizations for Condition Contract) W_COCO_ORG (Authorizations for Condition Contract Organizational Data)
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
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sales |
| Application Component | LO-GT-CHB |
| Capabilities | Data Source for Search, Data Provider for Value Help |
| Package | Sales for SAP S/4HANA Cloud Private 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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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