C_InvgCsMLocStaffUnitTP
Transactional View:ICM Staff and Units
C_InvgCsMLocStaffUnitTP is a Consumption CDS View that provides data about "Transactional View:ICM Staff and Units" in SAP S/4HANA. It reads from 1 data source (I_InvgCsMLocStaffUnitTP) and exposes 21 fields with key fields InvgCsMStaffUnitID, InvgCsMPartnerNumber, InvgCsMRelationship, InvgCsMRelatedEntityType. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InvgCsMLocStaffUnitTP | I_InvgCsMLocStaffUnitTP | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_InvgCsMLocationTP | _Location | $projection.InvgCsMStaffUnitID = _Location.InvgCsMLocationID |
| [0..1] | C_BusinessPartnerAddress | _Address | $projection.InvgCsMPartnerNumber = _Address.BusinessPartner and _Address.StandardUsage = 'X' |
| [0..*] | C_InvgCsMPartnerFunctionVH | _partnerfunction | $projection.InvgCsMRelationshipForEdit = _partnerfunction.PartnerFunction |
| [0..*] | C_InvgCsMPartFunctionText | _partnerfunctiontxt | $projection.InvgCsMRelationshipForEdit = _partnerfunctiontxt.PartnerFunction |
| [0..*] | C_InvgCsMStaffUnitVH | _User | $projection.InvgCsMPartnerNumberForEdit = _User.BusinessPartner |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CINVGCSMSTFUNTTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Transactional View:ICM Staff and Units | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InvgCsMStaffUnitID | InvgCsMStaffUnitID | ||
| KEY | InvgCsMPartnerNumber | InvgCsMPartnerNumber | ||
| KEY | InvgCsMRelationship | InvgCsMRelationship | ||
| KEY | InvgCsMRelatedEntityType | InvgCsMRelatedEntityType | ||
| InvgCsMRelationshipTargetUUID | BusinessPartnerUUID | UUID | ||
| InvgCsMPartnerNumberForEdit | InvgCsMPartnerNumberForEdit | Partner ID | ||
| FullName | FullName | Name | ||
| InvgCsMRelationshipForEdit | InvgCsMRelationshipForEdit | Relationship | ||
| InvgCsMPartnerFunction | InvgCsMPartnerFunction | Partner Fuction | ||
| InvgCsMTargetID | InvgCsMTargetID | |||
| InvgCsMIsMainPartner | InvgCsMIsMainPartner | Main Partner | ||
| ValidFrom | ValidFrom | Valid From | ||
| ValidTo | ValidTo | Valid To | ||
| InvgCsMIsDeleteAllowed | InvgCsMIsDeleteAllowed | |||
| CityName | _Address | CityName | Name | |
| Country | _Address | Country | Venue: Ctry/Reg | |
| MobilePhoneNumber | _Address | MobilePhoneNumber | Telephone | |
| PhoneNumber | _Address | PhoneNumber | Telephone no. | |
| _Location | _Location | |||
| _User | _User | |||
| _BusinessPartner | I_InvgCsMLocStaffUnitTP | _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 C_InvgCsMLocStaffUnitTP.
-- 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: CINVGCSMSTFUNTTP
CREATE VIEW C_InvgCsMLocStaffUnitTP AS
SELECT
InvgCsMStaffUnitID,
InvgCsMPartnerNumber,
InvgCsMRelationship,
InvgCsMRelatedEntityType,
BusinessPartnerUUID AS InvgCsMRelationshipTargetUUID,
InvgCsMPartnerNumberForEdit,
FullName,
InvgCsMRelationshipForEdit,
InvgCsMPartnerFunction,
InvgCsMTargetID,
InvgCsMIsMainPartner,
ValidFrom,
ValidTo,
InvgCsMIsDeleteAllowed,
_Address.CityName AS CityName,
_Address.Country AS Country,
_Address.MobilePhoneNumber AS MobilePhoneNumber,
_Address.PhoneNumber AS PhoneNumber,
I_InvgCsMLocStaffUnitTP._BusinessPartner AS _BusinessPartner
FROM I_InvgCsMLocStaffUnitTP
LEFT OUTER JOIN C_InvgCsMLocationTP AS _Location ON InvgCsMStaffUnitID = _Location.InvgCsMLocationID -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerAddress AS _Address ON InvgCsMPartnerNumber = _Address.BusinessPartner AND _Address.StandardUsage = 'X' -- association [0..1]
LEFT OUTER JOIN C_InvgCsMPartnerFunctionVH AS _partnerfunction ON InvgCsMRelationshipForEdit = _partnerfunction.PartnerFunction -- association [0..*]
LEFT OUTER JOIN C_InvgCsMPartFunctionText AS _partnerfunctiontxt ON InvgCsMRelationshipForEdit = _partnerfunctiontxt.PartnerFunction -- association [0..*]
LEFT OUTER JOIN C_InvgCsMStaffUnitVH AS _User ON InvgCsMPartnerNumberForEdit = _User.BusinessPartner -- 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