C_InvgCsMLocStaffUnitTP

DDL: C_INVGCSMLOCSTAFFUNITTP SQL: CINVGCSMSTFUNTTP Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_InvgCsMLocStaffUnitTP I_InvgCsMLocStaffUnitTP from

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;