C_AddlRsnCodeGrpForMfgActnTP
Add Code Groups of an Action in a Plant
C_AddlRsnCodeGrpForMfgActnTP is a Consumption CDS View that provides data about "Add Code Groups of an Action in a Plant" in SAP S/4HANA. It reads from 1 data source (I_AddlRsnCodeGrpForMfgActnTP) and exposes 10 fields with key fields MfgProcgExecObjectType, MfgProcgExecAction, Plant, MfgActionReasonCodeGroup. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AddlRsnCodeGrpForMfgActnTP | AddlRsnCodeGrp | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_MfgActionSettingTP | _Root | $projection.MfgProcgExecObjectType = _Root.MfgObjectType and $projection.MfgProcgExecAction = _Root.MfgProcgExecAction and $projection.Plant = _Root.Plant |
| [0..1] | C_MfgActnSttgCodeGroupVH | _MfgActnSttgCodeGroupVH | $projection.MfgActionReasonCodeGroup = _MfgActnSttgCodeGroupVH.MfgActionReasonCodeGroup and $projection.MfgActionReasonCodeGroupCtlg = _MfgActnSttgCodeGroupVH.MfgActionReasonCodeGroupCtlg |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| EndUserText.label | Add Code Groups of an Action in a Plant | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MfgProcgExecObjectType | I_AddlRsnCodeGrpForMfgActnTP | MfgProcgExecObjectType | |
| KEY | MfgProcgExecAction | I_AddlRsnCodeGrpForMfgActnTP | MfgProcgExecAction | |
| KEY | Plant | I_AddlRsnCodeGrpForMfgActnTP | Plant | Valuation Area |
| KEY | MfgActionReasonCodeGroup | I_AddlRsnCodeGrpForMfgActnTP | MfgActionReasonCodeGroup | |
| MfgActionReasonCodeGrpForEdit | I_AddlRsnCodeGrpForMfgActnTP | MfgActionReasonCodeGrpForEdit | ||
| MfgObjectTypeName | I_AddlRsnCodeGrpForMfgActnTP | MfgObjectTypeName | ||
| MfgProcgExecActionName | I_AddlRsnCodeGrpForMfgActnTP | MfgProcgExecActionName | ||
| MfgActionReasonCodeGroupName | ||||
| Associations_MfgActnSttgCodeGroupVH | ||||
| torootnode_Root |
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 C_AddlRsnCodeGrpForMfgActnTP.
-- 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 C_AddlRsnCodeGrpForMfgActnTP AS
SELECT
AddlRsnCodeGrp.MfgProcgExecObjectType AS MfgProcgExecObjectType,
AddlRsnCodeGrp.MfgProcgExecAction AS MfgProcgExecAction,
AddlRsnCodeGrp.Plant AS Plant,
AddlRsnCodeGrp.MfgActionReasonCodeGroup AS MfgActionReasonCodeGroup,
AddlRsnCodeGrp.MfgActionReasonCodeGrpForEdit AS MfgActionReasonCodeGrpForEdit,
AddlRsnCodeGrp.MfgObjectTypeName AS MfgObjectTypeName,
AddlRsnCodeGrp.MfgProcgExecActionName AS MfgProcgExecActionName,
AddlRsnCodeGrp._CodeGroupText.MfgActionReasonCodeGroupName AS MfgActionReasonCodeGroupName
FROM I_AddlRsnCodeGrpForMfgActnTP AS AddlRsnCodeGrp
LEFT OUTER JOIN C_MfgActionSettingTP AS _Root ON MfgProcgExecObjectType = _Root.MfgObjectType AND MfgProcgExecAction = _Root.MfgProcgExecAction AND Plant = _Root.Plant -- association [1..1]
LEFT OUTER JOIN C_MfgActnSttgCodeGroupVH AS _MfgActnSttgCodeGroupVH ON MfgActionReasonCodeGroup = _MfgActnSttgCodeGroupVH.MfgActionReasonCodeGroup AND MfgActionReasonCodeGroupCtlg = _MfgActnSttgCodeGroupVH.MfgActionReasonCodeGroupCtlg -- association [0..1]
;
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