REPM_DEPSALESORDERC
Department Sales Order
REPM_DEPSALESORDERC is a CDS View in S/4HANA. Department Sales Order. It contains 14 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| REPM_DepSalesOrderQ | view | from | Query View | |
| Repm_SalesQrdQ | view | from | Sales Order Details Query View | |
| Repm_SalesQrdTestQ | view | from | Sales Order Details Query View |
Fields (14)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | DepartmentID | DepartmentID | 2 |
| CustomerEmailID | CustomerEmailID | 1 | |
| CustomerName | CustomerName | 1 | |
| DateChanged | DateChanged | 2 | |
| DepartmentName | DepartmentName | 1 | |
| EmployeeCity | EmployeeCity | 1 | |
| EmployeeEmailID | EmployeeEmailID | 1 | |
| EmployeeName | EmployeeName | 3 | |
| EmployeePhoneNo | EmployeePhoneNo | 1 | |
| LifeCycleStatus | LifeCycleStatus | 1 | |
| SalesOrderID | SalesOrderID | 1 | |
| SalesOrderLifeCycleStatusName | SalesOrderLifeCycleStatusName | 1 | |
| TotalGrossAmount | TotalGrossAmount | 3 | |
| TransactionCurrency | TransactionCurrency | 3 |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Department Sales Order
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE REPM_DEPSALESORDERC (
DEPARTMENTID,
CUSTOMEREMAILID,
CUSTOMERNAME,
DATECHANGED,
DEPARTMENTNAME,
EMPLOYEECITY,
EMPLOYEEEMAILID,
EMPLOYEENAME,
EMPLOYEEPHONENO,
LIFECYCLESTATUS,
SALESORDERID,
SALESORDERLIFECYCLESTATUSNAME,
TOTALGROSSAMOUNT,
TRANSACTIONCURRENCY,
PRIMARY KEY (DEPARTMENTID)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- 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
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA