P_ActyTypeDIPSourceMatlDetnRef
Sources and Material Determination Activity Type References
P_ActyTypeDIPSourceMatlDetnRef is a Basic CDS View that provides data about "Sources and Material Determination Activity Type References" in SAP S/4HANA. It reads from 7 data sources and exposes 29 fields with key fields DynItemProcessorPrfl, RRBDynItmProfileUsage, DIPProfileMaterialDetnLineNmbr, DIPProfileItemSelSrceLineNmbr, ActivityTypeFieldName. Part of development package ODATA_WHERE_USED_ACTIVITY_TYPE.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_ActyTypeDIPProfileUsage | _ActyTypeDipUsage | left_outer |
| I_ActyTypeDIPProfileUsage | _ActyTypeDipUsage | left_outer |
| ad01c_mata | ad01c_mata | from |
| ad01c_prtx | ad01c_prtx | left_outer |
| ad01c_prtx | ad01c_prtx | left_outer |
| ad01c_sela | ad01c_sela | union |
| ad01srctxt | ad01srctxt | left_outer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PATDSMDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DynItemProcessorPrfl | ad01c_mata | profnr | DIP Profile |
| KEY | RRBDynItmProfileUsage | ad01c_mata | dpus | DI usage |
| KEY | DIPProfileMaterialDetnLineNmbr | ad01c_mata | linenr | Source Select. Index |
| KEY | DIPProfileItemSelSrceLineNmbr | Source Select. Index | ||
| KEY | ActivityTypeFieldName | ad01c_mata | fieldname | UI Group FieldName |
| DIPProfileUsageText | I_ActyTypeDIPProfileUsage | DIPProfileUsageText | Short text | |
| DIPProfileText | ad01c_prtx | text | User Group | |
| Material | ad01c_mat | inv_mat | ||
| DIPProfileSource | ||||
| AllocationSetId | ad01c_mata | setnr | Set ID | |
| CostCtrActivityTypeRangeFrom | ad01c_mata | val_from | Value from | |
| CostCtrActivityTypeRangeTo | ad01c_mata | val_to | Value to | |
| CostCtrActivityType | ad01c_mata | val_sngl | Value | |
| DIPProfileSelectionSrceText | User Group | |||
| profnrasDynItemProcessorPrfl | ||||
| KEY | RRBDynItmProfileUsage | ad01c_sela | dpus | DI usage |
| KEY | DIPProfileMaterialDetnLineNmbr | Source Select. Index | ||
| KEY | DIPProfileItemSelSrceLineNmbr | ad01c_sela | linenr | Source Select. Index |
| KEY | ActivityTypeFieldName | ad01c_sela | fieldname | UI Group FieldName |
| DIPProfileUsageText | I_ActyTypeDIPProfileUsage | DIPProfileUsageText | Short text | |
| DIPProfileText | ad01c_prtx | text | User Group | |
| Material | ||||
| DIPProfileSource | ||||
| AllocationSetId | ad01c_sela | setnr | Set ID | |
| CostCtrActivityTypeRangeFrom | ad01c_sela | val_from | Value from | |
| CostCtrActivityTypeRangeTo | ad01c_sela | val_to | Value to | |
| CostCtrActivityType | Value | |||
| DIPProfileSelectionSrceText | ad01srctxt | text | User Group | |
| SelectedValueIsExcluded | ad01c_sela | val_excl | Exclusion |
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_ActyTypeDIPSourceMatlDetnRef.
-- 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: PATDSMDR
CREATE VIEW P_ActyTypeDIPSourceMatlDetnRef AS
SELECT
ad01c_mata.profnr AS DynItemProcessorPrfl,
ad01c_mata.dpus AS RRBDynItmProfileUsage,
ad01c_mata.linenr AS DIPProfileMaterialDetnLineNmbr,
cast('' as ad01linsel) AS DIPProfileItemSelSrceLineNmbr,
ad01c_mata.fieldname AS ActivityTypeFieldName,
_ActyTypeDipUsage.DIPProfileUsageText AS DIPProfileUsageText,
ad01c_prtx.text AS DIPProfileText,
ad01c_mat.inv_mat AS Material,
cast('' as char4) AS DIPProfileSource,
ad01c_mata.setnr AS AllocationSetId,
ad01c_mata.val_from AS CostCtrActivityTypeRangeFrom,
ad01c_mata.val_to AS CostCtrActivityTypeRangeTo,
ad01c_mata.val_sngl AS CostCtrActivityType,
cast('' as text30) AS DIPProfileSelectionSrceText,
cast('' as xfeld) as SelectedValueIsExcluded AS profnrasDynItemProcessorPrfl,
ad01c_sela.val_excl AS SelectedValueIsExcluded
FROM ad01c_mata
LEFT OUTER JOIN ad01c_prtx ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ActyTypeDIPProfileUsage AS _ActyTypeDipUsage ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ad01srctxt ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): ad01c_sela
;
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