REPM_SalesOrderDetailsD
REPM: Sales Order Details Dimension View
REPM_SalesOrderDetailsD is a CDS View of category Dimension that provides data about "REPM: Sales Order Details Dimension View" in SAP S/4HANA. It reads from 1 data source (SEPM_I_SalesOrder) and exposes 12 fields with key field CreatedByUser. It has 1 association to related views. Part of development package RS_EPM_NW_CONTENT_CDS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| SEPM_I_SalesOrder | SEPM_I_SalesOrder | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | SEPM_I_Employee | _Employee | $projection.CreatedByUser = _Employee.EmployeeUUID |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | REPM_SODETAILS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| EndUserText.label | REPM: Sales Order Details Dimension View | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CreatedByUser | SEPM_I_SalesOrder | CreatedByUser | User Name |
| LastNameasEmployeeName | ||||
| SalesOrder | SEPM_I_SalesOrder | SalesOrder | SD Document | |
| BusinessPartner | ||||
| GrossAmount | SEPM_I_SalesOrder | GrossAmountInTransacCurrency | Tax-Inclusive Amount | |
| CompanyName | ||||
| DepartmentName | ||||
| DepartmentUUID | ||||
| LifeCycleStatus | SEPM_I_SalesOrder | SalesOrderLifeCycleStatus | Status | |
| TransactionCurrency | SEPM_I_SalesOrder | TransactionCurrency | Transaction Currency | |
| _Employee | _Employee | |||
| _TransactionCurrency | _TransactionCurrency |
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 REPM_SalesOrderDetailsD.
-- 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: REPM_SODETAILS
CREATE VIEW REPM_SalesOrderDetailsD AS
SELECT
SEPM_I_SalesOrder.CreatedByUser AS CreatedByUser,
replace (CONCAT(_Employee.FirstName, CONCAT('% %',_Employee.LastName )) , '%', '')as EmployeeName AS LastNameasEmployeeName,
SEPM_I_SalesOrder.SalesOrder AS SalesOrder,
SEPM_I_SalesOrder._Customer.BusinessPartner AS BusinessPartner,
SEPM_I_SalesOrder.GrossAmountInTransacCurrency AS GrossAmount,
SEPM_I_SalesOrder._Customer.CompanyName AS CompanyName,
_Employee._EmployeeOrgAssignment._OrganizationalUnit.OrganizationalUnitName AS DepartmentName,
_Employee._EmployeeOrgAssignment._OrganizationalUnit.OrganizationalUnitUUID AS DepartmentUUID,
SEPM_I_SalesOrder.SalesOrderLifeCycleStatus AS LifeCycleStatus,
SEPM_I_SalesOrder.TransactionCurrency AS TransactionCurrency
FROM SEPM_I_SalesOrder
LEFT OUTER JOIN SEPM_I_Employee AS _Employee ON CreatedByUser = _Employee.EmployeeUUID -- association [1]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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