P_ABOPVariantSegmentWithDraft
ABOP Variant Segments with Draft
P_ABOPVariantSegmentWithDraft is a Composite CDS View that provides data about "ABOP Variant Segments with Draft" in SAP S/4HANA. It reads from 3 data sources (I_ABOPVariantSegment, abopvarseg_d, I_AbopVariantSegmentDraft) and exposes 22 fields with key field ABOPVariantSegmentUUID. Part of development package ATP_BOP_SETUP_VDM.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ABOPVariantSegment | ActiveDocument | from |
| abopvarseg_d | DraftDocument | left_outer |
| I_AbopVariantSegmentDraft | DraftDocument | union_all |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PABOPVARSEGWD | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ABOPVariantSegmentUUID | I_ABOPVariantSegment | ABOPVariantSegmentUUID | Variant Segment UUID |
| ABOPVariantUUID | I_ABOPVariantSegment | ABOPVariantUUID | BOP Variant UUID | |
| ABOPSegmentUUID | I_ABOPVariantSegment | ABOPSegmentUUID | BOP Segment UUID | |
| ABOPSegmentEvaluationSequence | I_ABOPVariantSegment | ABOPSegmentEvaluationSequence | Check Seq. | |
| ABOPSegmentCheckSequence | I_ABOPVariantSegment | ABOPSegmentCheckSequence | Check Seq. | |
| ABOPConfirmationStrategy | I_ABOPVariantSegment | ABOPConfirmationStrategy | Confirmation Strategy | |
| IsGlobalSegment | I_ABOPVariantSegment | IsGlobalSegment | Global Filter | |
| IsExceptionalSegment | I_ABOPVariantSegment | IsExceptionalSegment | Exc. Filter | |
| DraftAdministrativeDataUUID | BOP Variant UUID | |||
| IsActiveEntity | ||||
| HasActiveEntity | TRUE | |||
| ABOPVariantUUID | I_AbopVariantSegmentDraft | ABOPVariantUUID | BOP Variant UUID | |
| ABOPSegmentUUID | I_AbopVariantSegmentDraft | ABOPSegmentUUID | BOP Segment UUID | |
| ABOPSegmentEvaluationSequence | I_AbopVariantSegmentDraft | ABOPSegmentEvaluationSequence | Check Seq. | |
| ABOPSegmentCheckSequence | I_AbopVariantSegmentDraft | ABOPSegmentCheckSequence | Check Seq. | |
| ABOPConfirmationStrategy | I_AbopVariantSegmentDraft | ABOPConfirmationStrategy | Confirmation Strategy | |
| IsGlobalSegment | I_AbopVariantSegmentDraft | IsGlobalSegment | Global Filter | |
| IsExceptionalSegment | I_AbopVariantSegmentDraft | IsExceptionalSegment | Exc. Filter | |
| DraftAdministrativeDataUUID | I_AbopVariantSegmentDraft | ABOPVariantUUID | BOP Variant UUID | |
| IsActiveEntity | ||||
| HasActiveEntity | I_AbopVariantSegmentDraft | HasActiveEntity | TRUE | |
| HasDraftEntity |
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 P_ABOPVariantSegmentWithDraft.
-- 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: PABOPVARSEGWD
CREATE VIEW P_ABOPVariantSegmentWithDraft AS
SELECT
ActiveDocument.ABOPVariantSegmentUUID AS ABOPVariantSegmentUUID,
ActiveDocument.ABOPVariantUUID AS ABOPVariantUUID,
ActiveDocument.ABOPSegmentUUID AS ABOPSegmentUUID,
ActiveDocument.ABOPSegmentEvaluationSequence AS ABOPSegmentEvaluationSequence,
ActiveDocument.ABOPSegmentCheckSequence AS ABOPSegmentCheckSequence,
ActiveDocument.ABOPConfirmationStrategy AS ABOPConfirmationStrategy,
ActiveDocument.IsGlobalSegment AS IsGlobalSegment,
ActiveDocument.IsExceptionalSegment AS IsExceptionalSegment,
cast(hextobin('00000000000000000000000000000000') as sysuuid_x) AS DraftAdministrativeDataUUID,
cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity,
cast( ' ' as sdraft_has_active preserving type ) AS HasActiveEntity,
cast( ' ' as sdraft_has_draft preserving type ) AS HasDraftEntity
FROM I_ABOPVariantSegment AS ActiveDocument
LEFT OUTER JOIN abopvarseg_d AS DraftDocument ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_AbopVariantSegmentDraft
;
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