I_Mpattachment
Master Project Attachment
I_Mpattachment is a Basic CDS View that provides data about "Master Project Attachment" in SAP S/4HANA. It reads from 5 data sources (/bobf/d_atf_do, /bobf/d_atf_rt, /cpd/d_mp_hdr, adrp, usr21) and exposes 15 fields with key field AttachmentDocumentUUID.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| /bobf/d_atf_do | /bobf/d_atf_do | inner |
| /bobf/d_atf_rt | /bobf/d_atf_rt | inner |
| /cpd/d_mp_hdr | /cpd/d_mp_hdr | from |
| adrp | adrp | inner |
| usr21 | usr21 | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPATTACHMENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Master Project Attachment | view | |
| VDM.viewType | #BASIC | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AttachmentDocumentUUID | /bobf/d_atf_do | db_key | UUID |
| MasterProjectUUID | /bobf/d_atf_rt | host_key | UUID | |
| CreationDateTime | ||||
| CreatedByUser | /bobf/d_atf_do | user_id_cr | Created By | |
| FirstName | adrp | name_first | First Name | |
| LastName | adrp | name_last | Last Name | |
| PersonNumber | adrp | persnumber | Person Number | |
| MimeType | /bobf/d_atf_do | mimecode | MIME type | |
| FileName | /bobf/d_atf_do | name | Zone name | |
| DocumentTitle | /bobf/d_atf_do | description | Well Code Des. | |
| MasterProject | /cpd/d_mp_hdr | mp_id | Cust Project ID | |
| MasterProjectType | /cpd/d_mp_hdr | mp_type | Mass Processing Type | |
| MasterProjectOrganization | /cpd/d_mp_hdr | org_id | Service Org. | |
| MasterProjectIsConfidential | ||||
| _BusinessPartner | _BusinessPartner |
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_Mpattachment.
-- 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: IMPATTACHMENT
CREATE VIEW I_Mpattachment AS
SELECT
/bobf/d_atf_do.db_key AS AttachmentDocumentUUID,
/bobf/d_atf_rt.host_key AS MasterProjectUUID,
cast(/bobf/d_atf_do.datetime_cr as /cpd/cpm_createdon) AS CreationDateTime,
/bobf/d_atf_do.user_id_cr AS CreatedByUser,
adrp.name_first AS FirstName,
adrp.name_last AS LastName,
adrp.persnumber AS PersonNumber,
/bobf/d_atf_do.mimecode AS MimeType,
/bobf/d_atf_do.name AS FileName,
/bobf/d_atf_do.description AS DocumentTitle,
/cpd/d_mp_hdr.mp_id AS MasterProject,
/cpd/d_mp_hdr.mp_type AS MasterProjectType,
/cpd/d_mp_hdr.org_id AS MasterProjectOrganization,
cast(/cpd/d_mp_hdr.confidential as /cpd/cpm_comlprojcofl) AS MasterProjectIsConfidential
FROM /cpd/d_mp_hdr
INNER JOIN /bobf/d_atf_rt ON /* join condition not captured in parsed metadata */
INNER JOIN /bobf/d_atf_do ON /* join condition not captured in parsed metadata */
INNER JOIN usr21 ON /* join condition not captured in parsed metadata */
INNER JOIN adrp ON /* join condition not captured in parsed metadata */
;
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