I_InvgCsMStaffAndUnit
S4CRM: ICM Staff and Unit basic view
I_InvgCsMStaffAndUnit is a Basic CDS View that provides data about "S4CRM: ICM Staff and Unit basic view" in SAP S/4HANA. It reads from 1 data source (crms4d_icm_staff) and exposes 10 fields with key fields InvgCsMStaffUnitID, InvgCsMPartnerNumber, InvgCsMRelationship, InvgCsMRelatedEntityType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crms4d_icm_staff | crms4d_icm_staff | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InvgCsMBusinessPartner | _BusinessPartner | $projection.InvgCsMPartnerNumber = _BusinessPartner.BusinessPartner |
| [0..*] | I_InvgCsMPartFunctionText | _PartFuncTxt | $projection.InvgCsMRelationship = _PartFuncTxt.PartnerFunction |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINVGCSMSTFANDUT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | S4CRM: ICM Staff and Unit basic view | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InvgCsMStaffUnitID | staffunitid | Staff and Units ID | |
| KEY | InvgCsMPartnerNumber | partner_no | Partner Number | |
| KEY | InvgCsMRelationship | partner_fct | Partner Function | |
| KEY | InvgCsMRelatedEntityType | entity_type | Type | |
| InvgCsMIsMainPartner | mainpartner | Main Partner | ||
| ValidFrom | valid_from | Validity Start Time | ||
| ValidTo | valid_to | Validity End Time | ||
| InvgCsMPartnerNumberType | no_type | Internal No. Typ | ||
| _BusinessPartner | _BusinessPartner | |||
| _PartFuncTxt | _PartFuncTxt |
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_InvgCsMStaffAndUnit.
-- 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: IINVGCSMSTFANDUT
CREATE VIEW I_InvgCsMStaffAndUnit AS
SELECT
staffunitid AS InvgCsMStaffUnitID,
partner_no AS InvgCsMPartnerNumber,
partner_fct AS InvgCsMRelationship,
entity_type AS InvgCsMRelatedEntityType,
mainpartner AS InvgCsMIsMainPartner,
valid_from AS ValidFrom,
valid_to AS ValidTo,
no_type AS InvgCsMPartnerNumberType
FROM crms4d_icm_staff
LEFT OUTER JOIN I_InvgCsMBusinessPartner AS _BusinessPartner ON InvgCsMPartnerNumber = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_InvgCsMPartFunctionText AS _PartFuncTxt ON InvgCsMRelationship = _PartFuncTxt.PartnerFunction -- association [0..*]
;
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