I_PeggingAssignmentConversion
Pegging Assignment from Conversions
I_PeggingAssignmentConversion is a Basic CDS View that provides data about "Pegging Assignment from Conversions" in SAP S/4HANA. It reads from 1 data source (pmmo_assign_conv) and exposes 33 fields with key fields MRPArea, MatlStkOwnrGrpgWBSElmntIntID, ReplenishmentElement, ReplenishmentDate, RequirementDate.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pmmo_assign_conv | pmmo_assign_conv | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Pegging Assignment from Conversions | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MRPArea | berid | Single-Character Flag | |
| KEY | MatlStkOwnrGrpgWBSElmntIntID | Ownr Grouping WBS El | ||
| KEY | ReplenishmentElement | repobj | Replenishm. El. | |
| KEY | ReplenishmentDate | repobj_date | Replenishment Date | |
| KEY | RequirementDate | rqmt_date | Requirement Date | |
| KEY | AssignedWBSElementInternalID | Assigned WBS Element | ||
| KEY | MaterialStockAndConsumptionSts | instk | In Stock | |
| KEY | AlternateCostAssignmentObject | objnr_brk | Breakpoint | |
| KEY | NextHigherAssemblyObject | repobj_nha | NHA Repl. Elem. | |
| KEY | TopLevelRequirementObject | rqmtobj_top | Top Level Rqmt | |
| Material | matnr | Vehicle Model | ||
| AcctAsgtGroupingWBSElmntIntID | Asgt Grouping WBS El | |||
| Plant | werks | Receiving Plant | ||
| WBSElmntAssgdMatlQuantity | assgdqty | Allocated Qty | ||
| WBSElmntAssgdMatlExssQuantity | xssqty | Excess Quantity | ||
| WBSElmntAssgdMatlScrapQuantity | scpqty | Scrap Quantity | ||
| WBSElmntAssgdMatlLossQuantity | lqty | Loss Quantity | ||
| WBSElmntMatlCarryFwdQuantity | undqty | |||
| MaterialBaseUnit | meins | Valuation Unit | ||
| MaterialExcessAssgmtMethod | excess_assgmt_method | Excess Method | ||
| MaterialLossAssgmtMethod | lost_assgmt_method | Loss Method | ||
| MaterialScrapAssgmtMethod | scrap_assgmt_method | Scrap Method | ||
| ReplnmtElmntTotalOrderQuantity | totalreplqty | Totl. Order Qty | ||
| TopLevelRequirementObjQuantity | rqmtqty_top | Requirement Quantity | ||
| TopLevelRqmtObjQuantityUnit | rqmtqty_top_uom | Base Unit | ||
| TopLevelRequirementObjRqmtDate | top_rqmt_date | Top Requirement Date | ||
| LeadingOrderOfCollectiveOrder | leading_coll_order | Leading Order | ||
| OriginOfPeggingAssignment | conversion_type | Assignment Source | ||
| ReplnmtElmntIsStockGain | sgind | Stock Gain Indicator | ||
| CreationDateTime | Timestamp | |||
| LastChangeDateTime | Timestamp | |||
| SourceReplenishmentElement | source_repobj | Source Repobj | ||
| ShippingNotice | shipping_notice | Ship.Notif.Seq. |
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_PeggingAssignmentConversion.
-- 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_PeggingAssignmentConversion AS
SELECT
berid AS MRPArea,
cast(grpnr_stk as ps_s4_pspnr preserving type ) AS MatlStkOwnrGrpgWBSElmntIntID,
repobj AS ReplenishmentElement,
repobj_date AS ReplenishmentDate,
rqmt_date AS RequirementDate,
cast(pspnr_assgd as ps_s4_pspnr preserving type ) AS AssignedWBSElementInternalID,
instk AS MaterialStockAndConsumptionSts,
objnr_brk AS AlternateCostAssignmentObject,
repobj_nha AS NextHigherAssemblyObject,
rqmtobj_top AS TopLevelRequirementObject,
matnr AS Material,
cast(grpnr_aa as ps_s4_pspnr preserving type ) AS AcctAsgtGroupingWBSElmntIntID,
werks AS Plant,
assgdqty AS WBSElmntAssgdMatlQuantity,
xssqty AS WBSElmntAssgdMatlExssQuantity,
scpqty AS WBSElmntAssgdMatlScrapQuantity,
lqty AS WBSElmntAssgdMatlLossQuantity,
undqty AS WBSElmntMatlCarryFwdQuantity,
meins AS MaterialBaseUnit,
excess_assgmt_method AS MaterialExcessAssgmtMethod,
lost_assgmt_method AS MaterialLossAssgmtMethod,
scrap_assgmt_method AS MaterialScrapAssgmtMethod,
totalreplqty AS ReplnmtElmntTotalOrderQuantity,
rqmtqty_top AS TopLevelRequirementObjQuantity,
rqmtqty_top_uom AS TopLevelRqmtObjQuantityUnit,
top_rqmt_date AS TopLevelRequirementObjRqmtDate,
leading_coll_order AS LeadingOrderOfCollectiveOrder,
conversion_type AS OriginOfPeggingAssignment,
sgind AS ReplnmtElmntIsStockGain,
cast(creationdatetime as timestampl) AS CreationDateTime,
cast(lastchangedatetime as timestampl) AS LastChangeDateTime,
source_repobj AS SourceReplenishmentElement,
shipping_notice AS ShippingNotice
FROM pmmo_assign_conv
;
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