I_PrecedingConditionDocumentVH
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
| 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 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
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
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Sales |
| Application Component | LO-GT-CHB |
| Capabilities | Data 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 |
| Package | Sales 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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public 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 |
OData Services (12)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| 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)
| 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
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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