I_InvgCsMLocStaffUnitTP

DDL: I_INVGCSMLOCSTAFFUNITTP SQL: IINVGCSMSTFUTTP Type: view TRANSACTIONAL

Transactional View:ICM Staff and Units

I_InvgCsMLocStaffUnitTP is a Transactional CDS View that provides data about "Transactional View:ICM Staff and Units" in SAP S/4HANA. It reads from 1 data source (I_InvgCsMStaffAndUnit) and exposes 16 fields with key fields InvgCsMStaffUnitID, InvgCsMPartnerNumber, InvgCsMRelationship, InvgCsMRelatedEntityType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InvgCsMStaffAndUnit I_InvgCsMStaffAndUnit from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_InvgCsMLocationTP _Location $projection.InvgCsMStaffUnitID = _Location.InvgCsMLocationID
[0..1] I_BusinessPartner _BusinessPartner $projection.InvgCsMPartnerNumberForEdit = _BusinessPartner.BusinessPartner

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IINVGCSMSTFUTTP 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.writeDraftPersistence ILocStaffUnit_D view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY InvgCsMStaffUnitID InvgCsMStaffUnitID Staff and Units ID
KEY InvgCsMPartnerNumber InvgCsMPartnerNumber Partner Number
KEY InvgCsMRelationship InvgCsMRelationship Partner Function
KEY InvgCsMRelatedEntityType InvgCsMRelatedEntityType Type
InvgCsMPartnerNumberForEdit InvgCsMPartnerNumber Partner Number
InvgCsMRelationshipForEdit InvgCsMRelationship Partner Function
InvgCsMIsMainPartner InvgCsMIsMainPartner Main Partner
ValidFrom ValidFrom Vers.Valid From
ValidTo ValidTo Vers.Valid To
InvgCsMPartnerFunction InvgCsMRelationship Partner Function
FullName _BusinessPartner BusinessPartnerFullName Broker Name
BusinessPartnerUUID
InvgCsMIsDeleteAllowed
InvgCsMTargetID
_Location _Location
_BusinessPartner _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 I_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: IINVGCSMSTFUTTP

CREATE VIEW I_InvgCsMLocStaffUnitTP AS
SELECT
  InvgCsMStaffUnitID,
  InvgCsMPartnerNumber,
  InvgCsMRelationship,
  InvgCsMRelatedEntityType,
  InvgCsMPartnerNumber AS InvgCsMPartnerNumberForEdit,
  InvgCsMRelationship AS InvgCsMRelationshipForEdit,
  InvgCsMIsMainPartner,
  ValidFrom,
  ValidTo,
  InvgCsMRelationship AS InvgCsMPartnerFunction,
  _BusinessPartner.BusinessPartnerFullName AS FullName,
  bintohex(_BusinessPartner.BusinessPartnerUUID) AS BusinessPartnerUUID,
  cast('' as boolean) AS InvgCsMIsDeleteAllowed,
  cast('TICM-BPDIS' as abap.char( 20 ) ) AS InvgCsMTargetID
FROM I_InvgCsMStaffAndUnit
LEFT OUTER JOIN I_InvgCsMLocationTP AS _Location ON InvgCsMStaffUnitID = _Location.InvgCsMLocationID  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON InvgCsMPartnerNumberForEdit = _BusinessPartner.BusinessPartner  -- association [0..1]
;