I_EngSnpshtHdrTP
Engineering Snapshot Header for transactional
I_EngSnpshtHdrTP is a Transactional CDS View that provides data about "Engineering Snapshot Header for transactional" in SAP S/4HANA. It reads from 1 data source (mpe_snp_hdr) and exposes 22 fields with key field EngSnapshotUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mpe_snp_hdr | Header | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_EngSnpshtObjRefTP | _EngSnpshtObjRef | $projection.EngSnapshotUUID = _EngSnpshtObjRef.EngSnapshotUUID |
| [0..1] | E_EngSnpshtHdr | _HeaderExtension | $projection.EngSnapshotUUID = _HeaderExtension.EngSnapshotUUID |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IENGSNPHDRTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Engineering Snapshot Header for transactional | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.writeActivePersistence | MPE_SNP_HDR_V | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EngSnapshotUUID | mpe_snp_hdr | uuid | |
| EngSnapshotID | mpe_snp_hdr | snapshot_id | ||
| EngSnapshotName | mpe_snp_hdr | snapshot_name | ||
| EngSnapshotType | mpe_snp_hdr | snapshot_type | ||
| Material | mpe_snp_hdr | matnr | ||
| Plant | mpe_snp_hdr | werks | ||
| BillOfMaterialVariantUsage | mpe_snp_hdr | stlan | ||
| BillOfMaterialVariant | mpe_snp_hdr | stlal | ||
| DocumentInfoRecordDocType | mpe_snp_hdr | dokar | ||
| DocumentInfoRecordDocNumber | mpe_snp_hdr | doknr | ||
| DocumentInfoRecordDocPart | mpe_snp_hdr | doktl | ||
| PlanningScopeInternalID | mpe_snp_hdr | plan_scope_documentid | ||
| PlanningScopeAlternative | mpe_snp_hdr | plan_scope_alt | ||
| EngSnpshtRevisionNumber | mpe_snp_hdr | revn_nmbr | ||
| EngSnpshtAuxiliaryPrepSts | mpe_snp_hdr | aux_prep_sts | ||
| EngSnpshtChangePrepSts | mpe_snp_hdr | chg_prep_sts | ||
| EngSnpshtProposedEffectiveDate | mpe_snp_hdr | prpsd_effective_date | ||
| CreatedByUser | mpe_snp_hdr | created_by | ||
| CreationDateTime | mpe_snp_hdr | created_at | ||
| LastChangedByUser | mpe_snp_hdr | changed_by | ||
| LastChangeDateTime | mpe_snp_hdr | changed_at | ||
| _EngSnpshtObjRef | _EngSnpshtObjRef |
@AbapCatalog.sqlViewName: 'IENGSNPHDRTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Engineering Snapshot Header for transactional'
@VDM.viewType: #TRANSACTIONAL
@ObjectModel: {
-- Annotations for transactional processing
modelCategory: #BUSINESS_OBJECT,
compositionRoot: true,
transactionalProcessingEnabled: true,
createEnabled: true,
updateEnabled: true,
deleteEnabled: true,
writeActivePersistence: 'MPE_SNP_HDR_V'
//semanticKey: ,
}
@ObjectModel.usageType: {serviceQuality: #C,
dataClass: #MIXED,
sizeCategory: #L}
define view I_EngSnpshtHdrTP
as select from mpe_snp_hdr as Header
association [1..*] to I_EngSnpshtObjRefTP as _EngSnpshtObjRef on $projection.EngSnapshotUUID = _EngSnpshtObjRef.EngSnapshotUUID
association [0..1] to E_EngSnpshtHdr as _HeaderExtension on $projection.EngSnapshotUUID = _HeaderExtension.EngSnapshotUUID
{
key Header.uuid as EngSnapshotUUID,
Header.snapshot_id as EngSnapshotID,
Header.snapshot_name as EngSnapshotName,
Header.snapshot_type as EngSnapshotType,
Header.matnr as Material,
Header.werks as Plant,
Header.stlan as BillOfMaterialVariantUsage,
Header.stlal as BillOfMaterialVariant,
Header.dokar as DocumentInfoRecordDocType,
Header.doknr as DocumentInfoRecordDocNumber,
Header.doktl as DocumentInfoRecordDocPart,
Header.plan_scope_documentid as PlanningScopeInternalID,
Header.plan_scope_alt as PlanningScopeAlternative,
Header.revn_nmbr as EngSnpshtRevisionNumber,
Header.aux_prep_sts as EngSnpshtAuxiliaryPrepSts,
Header.chg_prep_sts as EngSnpshtChangePrepSts,
Header.prpsd_effective_date as EngSnpshtProposedEffectiveDate,
@Semantics.user.createdBy: true
Header.created_by as CreatedByUser,
@Semantics.systemDateTime.createdAt: true
Header.created_at as CreationDateTime,
@Semantics.user.lastChangedBy: true
Header.changed_by as LastChangedByUser,
@Semantics.systemDateTime.lastChangedAt: true
Header.changed_at as LastChangeDateTime,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_EngSnpshtObjRef
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MPE_SNP_HDR"
],
"ASSOCIATED":
[
"E_ENGSNPSHTHDR",
"I_ENGSNPSHTOBJREFTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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