R_DocumentInfoRecordTP
Document Info Record - TP
R_DocumentInfoRecordTP is a Transactional CDS View that provides data about "Document Info Record - TP" in SAP S/4HANA. It reads from 1 data source (I_DocumentInfoRecord) and exposes 22 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocVersion, DocumentInfoRecordDocNumber, DocumentInfoRecordDocPart. It has 4 associations to related views. Part of development package RAP_DMS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DocumentInfoRecord | I_DocumentInfoRecord | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_DocumentInfoRecordRelationTP | _Relation | $projection.DocumentInfoRecordDocNumber = _Relation.DocInfoRecdDocNumberForEdit and $projection.DocumentInfoRecordDocPart = _Relation.DocInfoRecdDocPartForEdit and $projection.DocumentInfoRecordDocVersion = _Relation.DocInfoRecdDocVersionForEdit and $projection.DocumentInfoRecordDocType = _Relation.DocInfoRecdDocTypeForEdit |
| [0..*] | R_DocumentInfoRecObjLnkTP | _Link | |
| [0..*] | R_DocumentInfoRecordAttchTP | _Attachment | |
| [0..*] | R_DocumentInfoRecordDescTP | _Description | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Document Info Record - TP | view | |
| ObjectModel.sapObjectNodeType.name | DocumentInfoRecord | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.authorizationCheck | #MANDATORY | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocumentInfoRecordDocType | DocumentInfoRecordDocType | ||
| KEY | DocumentInfoRecordDocVersion | DocumentInfoRecordDocVersion | ||
| KEY | DocumentInfoRecordDocNumber | DocumentInfoRecordDocNumber | ||
| KEY | DocumentInfoRecordDocPart | DocumentInfoRecordDocPart | ||
| DocumentInfoRecord | DocumentInfoRecord | |||
| InternalDocumentStatus | InternalDocumentStatus | |||
| ExternalDocumentStatus | ExternalDocumentStatus | |||
| LaboratoryOrDesignOffice | LaboratoryOrDesignOffice | |||
| AuthorizationGroup | AuthorizationGroup | |||
| ChangeNumber | ChangeNumber | |||
| DocInfoRecdIsMarkedForDeletion | DocInfoRecdIsMarkedForDeletion | |||
| IsDocInfoRecdCreatedFromCAD | IsDocInfoRecdCreatedFromCAD | |||
| ResponsiblePersonName | ResponsiblePersonName | |||
| CreationDateTime | CreationDateTime | |||
| CreatedByUser | CreatedByUser | |||
| ChangedDateTime | ChangedDateTime | |||
| LastChangedByUser | LastChangedByUser | |||
| DocumentInfoRecordIsFrozen | DocumentInfoRecordIsFrozen | |||
| _Description | _Description | |||
| _Link | _Link | |||
| _Attachment | _Attachment | |||
| _Relation | _Relation |
@EndUserText.label: 'Document Info Record - TP'
@ObjectModel.sapObjectNodeType.name: 'DocumentInfoRecord'
@VDM:{ viewType: #TRANSACTIONAL ,
lifecycle.contract.type: #SAP_INTERNAL_API }
@ObjectModel:{ usageType:{ dataClass : #TRANSACTIONAL,
serviceQuality : #C,
sizeCategory : #L } }
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.privilegedAssociations: [ '_Relation' ] // Added to resolve RAP Contract for Cross-BO Association
define root view entity R_DocumentInfoRecordTP
as select from I_DocumentInfoRecord
association [0..*] to R_DocumentInfoRecordRelationTP as _Relation on $projection.DocumentInfoRecordDocNumber = _Relation.DocInfoRecdDocNumberForEdit
and $projection.DocumentInfoRecordDocPart = _Relation.DocInfoRecdDocPartForEdit
and $projection.DocumentInfoRecordDocVersion = _Relation.DocInfoRecdDocVersionForEdit
and $projection.DocumentInfoRecordDocType = _Relation.DocInfoRecdDocTypeForEdit
composition [0..*] of R_DocumentInfoRecObjLnkTP as _Link
composition [0..*] of R_DocumentInfoRecordAttchTP as _Attachment
composition [0..*] of R_DocumentInfoRecordDescTP as _Description
{
key DocumentInfoRecordDocType,
key DocumentInfoRecordDocVersion,
key DocumentInfoRecordDocNumber,
key DocumentInfoRecordDocPart,
DocumentInfoRecord,
/* Document Info Record other Details */
InternalDocumentStatus,
ExternalDocumentStatus,
LaboratoryOrDesignOffice,
AuthorizationGroup,
ChangeNumber,
/* Document Structure, CAD and Deletion Indicator */
DocInfoRecdIsMarkedForDeletion,
IsDocInfoRecdCreatedFromCAD,
ResponsiblePersonName,
/* DIR Administrative Data */
CreationDateTime,
CreatedByUser,
ChangedDateTime,
LastChangedByUser,
DocumentInfoRecordIsFrozen,
_Description,
_Link,
_Attachment,
_Relation
}
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