I_ResponsibleSalesOrgUnitIDVH
Sales Organization Unit
I_ResponsibleSalesOrgUnitIDVH is a Basic CDS View that provides data about "Sales Organization Unit" in SAP S/4HANA. It reads from 2 data sources (hrp1000, crmd_orgman_temp) and exposes 11 fields with key fields ResponsibleSalesOrganization, SalesOrganizationOrgUnitID, SalesOfficeOrgUnitID, SalesGroupOrgUnitID, DistributionChannel.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| hrp1000 | _hrp1000 | inner |
| crmd_orgman_temp | crmd_orgman_temp | from |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Sales Organization Unit | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IRESSORGUNITVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ResponsibleSalesOrganization | Sales Org Unit | ||
| KEY | SalesOrganizationOrgUnitID | |||
| KEY | SalesOfficeOrgUnitID | |||
| KEY | SalesGroupOrgUnitID | |||
| KEY | DistributionChannel | crmd_orgman_temp | dis_channel | Distribution Channel |
| KEY | Division | crmd_orgman_temp | division | Internal Division ID |
| KEY | OrganizationalUnit | crmd_orgman_temp | objid | Work Center |
| OrganizationalUnitName | hrp1000 | short | Shortened form | |
| ResponsibleSalesOrgName | ||||
| StartDate | hrp1000 | begda | Valid From | |
| EndDate | hrp1000 | endda | Valid To |
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_ResponsibleSalesOrgUnitIDVH.
-- 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.
CREATE VIEW I_ResponsibleSalesOrgUnitIDVH AS
SELECT
concat_with_space(crmd_orgman_temp.otype,cast(crmd_orgman_temp.objid as abap.char(11)), 1) AS ResponsibleSalesOrganization,
cast(crmd_orgman_temp.sales_org as crmt_sales_org preserving type ) AS SalesOrganizationOrgUnitID,
cast(crmd_orgman_temp.sales_office as crmt_sales_office_lbl preserving type ) AS SalesOfficeOrgUnitID,
cast(crmd_orgman_temp.sales_group as crmt_sales_group_lbl preserving type ) AS SalesGroupOrgUnitID,
crmd_orgman_temp.dis_channel AS DistributionChannel,
crmd_orgman_temp.division AS Division,
crmd_orgman_temp.objid AS OrganizationalUnit,
_hrp1000.short AS OrganizationalUnitName,
cast(_hrp1000.stext as crmt_sales_org_unit_name_lbl preserving type ) AS ResponsibleSalesOrgName,
_hrp1000.begda AS StartDate,
_hrp1000.endda AS EndDate
FROM crmd_orgman_temp
INNER JOIN hrp1000 AS _hrp1000 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